Howard Chu
e641222b10
More for ITS#3854
2005-08-26 03:35:42 +00:00
Howard Chu
6a4839bd23
Windows mod compatibility
2005-08-26 02:21:07 +00:00
Howard Chu
4cc7efdadc
Revert ITS#3577 patch, breaks Windows build and not needed in RE23.
2005-08-26 02:20:45 +00:00
Howard Chu
d7122627fa
Leave pwdPolicySubEntry user-modifiable for now
2005-08-26 00:19:08 +00:00
Pierangelo Masarati
6cb8b14435
allow undefined attrs to be "proxied" (ITS#3959)
2005-08-25 21:14:26 +00:00
Pierangelo Masarati
afaf426231
need stricter sanity checks...
2005-08-25 08:57:08 +00:00
Howard Chu
f6be095299
Don't do anything if this is a syncrepl response.
2005-08-25 06:56:09 +00:00
Howard Chu
5903ebc1b5
Config fixes
2005-08-24 08:32:03 +00:00
Howard Chu
fc1c7d9987
Fix typo in numeric-descend
2005-08-24 02:26:55 +00:00
Howard Chu
c9c1ee10b3
Add LDAP_CONTROL_VALSORT
2005-08-24 02:07:43 +00:00
Howard Chu
6b63e25bc2
Check for numeric syntaxes
2005-08-24 01:52:05 +00:00
Howard Chu
7dde9e0b33
Tweak prev commit, use BER_BVZERO
2005-08-24 01:36:16 +00:00
Howard Chu
c947cfd66a
Fix uninit'd var, check for single-valued attrs
2005-08-24 01:34:49 +00:00
Pierangelo Masarati
ac1488b50d
workaround ITS#3965; if anybody has a better solution...
2005-08-23 22:54:07 +00:00
Howard Chu
ef220ac1ef
Updated for draft 09, allow MANAGE for operational attrs.
2005-08-23 19:37:16 +00:00
Howard Chu
02f52030b0
More for valsort
2005-08-23 10:44:36 +00:00
Howard Chu
57722288f1
Add valsort
2005-08-23 08:52:01 +00:00
Howard Chu
225275407d
Add sorted values overlay
2005-08-23 08:47:38 +00:00
Howard Chu
1f78e2b831
ITS#3961 better fix - provide a context for the main thread. The context
...
must be reset by the caller to clear out temp allocations etc.
2005-08-23 04:12:57 +00:00
Howard Chu
468112e2ba
ITS#3961 provide ldap_pvt_thread_pool_fake_context_init/destroy, don't
...
use arbitrary context pointers.
2005-08-23 03:25:21 +00:00
Pierangelo Masarati
a3554aad3a
log the right string
2005-08-22 09:42:51 +00:00
Pierangelo Masarati
150bcfcbcb
moved to contrib/slapd-overlays/allop
2005-08-22 09:12:21 +00:00
Pierangelo Masarati
5b7f996566
cleanup
2005-08-20 19:50:59 +00:00
Pierangelo Masarati
c8ef609ea1
fix (and partially revert) last commit
2005-08-20 19:05:10 +00:00
Pierangelo Masarati
6bae592866
cleanup objectclass inheritance; don't proceed if initial lookup resulted in a hit with "success" errcode and the base is search; either the filter doesn't match, or the same action is taken twice
2005-08-20 18:00:40 +00:00
Pierangelo Masarati
f227a96053
more for the allop overlay
2005-08-20 11:53:31 +00:00
Pierangelo Masarati
95f65ff352
all-operational overlay: allows to configure part of te DIT so that requests
...
with requested attribute lists empty or containing "*" are expanded
to contain "+" as well, so that all operational attributes are returned.
This may be required to work around dumb clients that interrogate
the rootDSE requesting "*" and expecting operational attributes to be
returned as well. To make it a bit more generic, it can be configured
to do the same for an arbitrary search described by an URI. For example,
overlay allop
allop-URI ldap:///??sub
before any database instantiation causes all searches to return "*","+"
when ors_attrs is NULL or countains "*".
2005-08-20 11:48:13 +00:00
Pierangelo Masarati
fdfcf0406e
need an AUXILIARY objectClass to play with some special error codes (need to update man page as well)...
2005-08-20 11:31:51 +00:00
Pierangelo Masarati
e066ec210e
merge sml_managing into sml_flags (SLAP_MOD_MANAGING)
2005-08-18 08:48:10 +00:00
Pierangelo Masarati
9487629061
zero out sml_managing any time a Modifications is built (use calloc?)
2005-08-18 08:12:26 +00:00
Howard Chu
315c4a3b72
ITS#3946 reset lockout status at beginning of all Binds
2005-08-18 07:05:56 +00:00
Pierangelo Masarati
557f5eb2ca
allow noUserMod attrs write proxying when manageDIT is set (still to work in frontend for add)
2005-08-17 19:40:02 +00:00
Howard Chu
d247840d6b
ITS#3946 use connection_destroy hook to reset lockouts instead of unbind
2005-08-17 16:42:22 +00:00
Howard Chu
88dd1c5659
More optimization for CSN filter checks
2005-08-15 07:18:19 +00:00
Howard Chu
8c20a11293
Fix prev commit
2005-08-15 05:36:56 +00:00
Howard Chu
71bc69bfff
Optimize FINDCSN case
2005-08-15 00:04:13 +00:00
Howard Chu
f4c1eee382
ITS#3935 tweak sessionlog description
2005-08-14 08:35:31 +00:00
Howard Chu
c30992f05e
ITS#3922 don't leak ber buffer on decode/parse errors
2005-08-09 00:26:39 +00:00
Howard Chu
28be8691cc
ITS#3922 plug another cookie parsing leak
2005-08-09 00:11:42 +00:00
Pierangelo Masarati
64af435895
ITS#3914 bug was very close to that leak: rwm_dnattr_rewrite() already freed the original value (all this stuff may need work)
2005-08-08 19:49:48 +00:00
Pierangelo Masarati
47351e3b5c
fix yet another leak (not related to ITS#3914, though)
2005-08-08 19:41:10 +00:00
Howard Chu
9365649dad
ITS#3922 fix syncrepl ctxcsn leak
2005-08-08 12:38:19 +00:00
Pierangelo Masarati
ca00d860d6
plug selected leaks at shutdown
2005-08-07 16:38:20 +00:00
Pierangelo Masarati
61f11773ba
address ITS#3914
2005-08-02 23:22:10 +00:00
Hallvard Furuseth
cc79022b71
Cleanup (unused variable ad_oldest)
2005-08-02 10:36:48 +00:00
Hallvard Furuseth
a3f3143cc5
Fix off-by-one pointer error. Garbage byte between uuid and csn in slog_entry.
2005-08-02 08:43:27 +00:00
Pierangelo Masarati
673ea82eab
fix typo in previous commit
2005-08-01 23:40:40 +00:00
Pierangelo Masarati
c8a5fd2df2
fix various leaks
2005-08-01 23:32:14 +00:00
Pierangelo Masarati
9a64785e4d
plug leaks; fix map initialization
2005-08-01 22:40:18 +00:00
Howard Chu
91ea3a113a
Add static build for accesslog
2005-08-01 22:02:23 +00:00
Luke Howard
71d76fbeba
slap_mods2entry() should not zero pointers into the modifications
...
list because checking is performed on these, rather than the entry.
slap_mods_free() now takes an extra argument indicating whether to
free the values or not.
2005-08-01 02:16:02 +00:00
Pierangelo Masarati
e161f50ac0
silence warning
2005-07-25 23:06:12 +00:00
Pierangelo Masarati
739128a016
silence warning(s)
2005-07-25 20:50:33 +00:00
Hallvard Furuseth
cc27d26f48
rs->sr_flags should be saved in variables of type slap_mask_t, not int.
2005-07-22 13:28:49 +00:00
Hallvard Furuseth
100634c920
Remove unused variables.
2005-07-22 13:18:28 +00:00
Luke Howard
ffe20229dc
Move most of SLAPI frontend into overlay
2005-07-21 16:35:20 +00:00
Pierangelo Masarati
ab4bb3e617
glue's enum conflicts with slap_operation_t
2005-07-21 14:23:49 +00:00
Hallvard Furuseth
81ecb0b153
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-18 06:22:33 +00:00
Hallvard Furuseth
ec4d6d0d69
Remove spurious printf argument
2005-07-17 12:17:54 +00:00
Hallvard Furuseth
ecef4972fe
rc in glue_tool_entry_put() is an int, not NOID (unsigned long).
2005-07-17 12:14:42 +00:00
Hallvard Furuseth
7ab3d2c245
Silence warnings
2005-07-14 19:32:21 +00:00
Howard Chu
0b93bfc4f3
ITS#3854 fix Modify logging, add handlers for unrecognized ops.
2005-07-12 14:00:01 +00:00
Hallvard Furuseth
d5685734d2
retcode_op_func(): Fix uninitialized variable 'ref':
...
Under rs->sr_err == LDAP_REFERRAL, return LDAP_OTHER "bad referral
object" if both rdi->rdi_ref and default_referral are NULL.
2005-07-11 19:09:30 +00:00
Hallvard Furuseth
ac7513155b
fbuf in syncprov_findcsn() got used before it was fully filled in
2005-07-10 10:20:21 +00:00
Howard Chu
b131aab00e
Streamline call to lutil_passwd_scheme
2005-07-08 06:05:02 +00:00
Hallvard Furuseth
f841c364eb
Format fixes (%d<->%lu etc)
2005-07-06 05:53:02 +00:00
Pierangelo Masarati
d576364089
more checks (ITS#3817)
2005-07-01 09:53:20 +00:00
Pierangelo Masarati
b42207d048
don't use missing hooks (ITS#3817)
2005-07-01 09:25:55 +00:00
Howard Chu
6236574efc
ITS#3456 better fix, use a child thread.
2005-06-30 04:06:40 +00:00
Howard Chu
0e00a1af79
ITS#3456 - omit FIND_MAXCSN call from syncprov_db_open. Will probably
...
delete all associated code soon; since the maxcsn will be updated as
soon as any write op occurs, it's no big deal for this to be out of date.
Also, since the maxcsn will get checkpointed on close, it will only get
out of date on an actual slapd crash, which is hopefully too rare to
worry about.
2005-06-30 03:42:51 +00:00
Pierangelo Masarati
aa16988d3c
don't try to lookup the rootdn; handle errors separately
2005-06-25 15:05:02 +00:00
Pierangelo Masarati
fddeed7903
add support for connection_init/destroy and retcode overlay
2005-06-19 22:42:12 +00:00
Pierangelo Masarati
f86daac8c8
import retcode overlay
2005-06-19 22:39:44 +00:00
Pierangelo Masarati
3172222266
cleanup of previous commit
2005-06-18 18:59:04 +00:00
Pierangelo Masarati
2abaf7bf66
fix ITS#3788: don't free slapo-rwm callback, rather reuse it
2005-06-16 23:08:23 +00:00
Pierangelo Masarati
c7c572f883
fix ITS#3785: do our best to deal with invalid filters...
2005-06-16 19:27:03 +00:00
Howard Chu
b6aa697000
ITS#3779 fix pwdLockoutDuration handling
2005-06-15 21:21:12 +00:00
Ralf Haferkamp
f9fb5e63f4
silence warning
2005-06-15 18:00:49 +00:00
Howard Chu
60339c7f77
ITS#3777 fix scheme comparison
2005-06-15 03:06:48 +00:00
Howard Chu
63f6e91a97
ITS#3772 fix dependencies for static overlays
2005-06-13 10:24:39 +00:00
Howard Chu
cd15432de6
More accesslog updates
2005-06-10 11:41:57 +00:00
Howard Chu
257be58eb6
In-directory logging overlay
2005-06-10 09:18:01 +00:00
Howard Chu
21b8be393a
Add slap_timestamp(), use mutex in slap_get_csn()
2005-06-07 04:12:14 +00:00
Howard Chu
3bae4b4acb
ITS#3691 import auditlog overlay
2005-06-07 03:03:18 +00:00
Howard Chu
8f58409749
Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
...
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Howard Chu
d7745c17d4
Use "pcache" to invoke the overlay instead of "proxycache"
2005-05-24 17:13:37 +00:00
Pierangelo Masarati
2f0d712492
exit on error
2005-05-23 21:59:14 +00:00
Pierangelo Masarati
fc148e8e54
fix interaction with table-driven config of back-ldap (please review)
2005-05-23 07:25:45 +00:00
Pierangelo Masarati
58abc661f6
"restrict" is a c99 keyword (ITS#3739)
2005-05-21 00:15:16 +00:00
Pierangelo Masarati
7b0d820ce5
minor cleanup
2005-05-20 23:36:23 +00:00
Pierangelo Masarati
5f361f31b3
initialize AttributeName structures; allow '*' attribute set (related to ITS#3741)
2005-05-20 23:27:42 +00:00
Pierangelo Masarati
6bd4ef7667
fix cleanup in case of error
2005-05-13 19:08:41 +00:00
Pierangelo Masarati
96773427db
don't bother about slap_dummy_bv
2005-05-13 09:06:28 +00:00
Howard Chu
376537f3d7
ITS#3577 Make librewrite shared - > liblrewrite.la
2005-05-11 10:18:27 +00:00
Howard Chu
f2e62ea04c
Fix (temporary) crash on ldbm
2005-05-09 11:20:24 +00:00
Howard Chu
1d283c2154
More fixes for overlay support. Converted pcache to config table.
2005-05-09 10:33:43 +00:00
Howard Chu
cfccf68bf6
Fix debug msg
2005-05-09 10:33:01 +00:00
Pierangelo Masarati
fd52d607b0
don't compare freed pointers (no harm)
2005-05-09 09:32:44 +00:00
Howard Chu
bd63507868
Table-driven config
2005-05-09 05:02:01 +00:00
Howard Chu
179032ffe2
Explicitly set LTONLY_MOD for shared overlays
2005-05-09 00:13:47 +00:00
Howard Chu
f597e7651b
Simplify static build
2005-05-07 23:14:57 +00:00
Pierangelo Masarati
d23243a507
more on strict config parsing (ITS#3705)
2005-05-06 16:42:03 +00:00
Howard Chu
54eb6f539c
Remove redundant def
2005-05-06 01:45:44 +00:00
Howard Chu
86b7448a47
More for ITS#3681
2005-05-06 00:39:25 +00:00
Howard Chu
0079690f8f
ITS#3681 separate static from dynamic overlays
2005-05-05 22:57:19 +00:00
Pierangelo Masarati
b8b0bb000b
honor T-F filters (ITS#3706)
2005-05-04 23:57:33 +00:00
Howard Chu
6a2d53f396
In backend_group, return LDAP_COMPARE_FALSE if attr exists but value is
...
not matched, instead of LDAP_NO_SUCH_ATTRIBUTE
2005-05-04 06:28:27 +00:00
Howard Chu
3a42760472
ITS#3671 more abandon/error checks
2005-04-28 18:36:47 +00:00
Howard Chu
df22b333a5
Mroe abandon checks for ITS#3671
2005-04-28 16:45:52 +00:00
Howard Chu
67c68bab9c
More for ITS#3671, check for Abandon before replaying queued events
2005-04-28 16:21:52 +00:00
Pierangelo Masarati
5697bed1f9
anticipate undefined symbols when compiling for 2.2
2005-04-28 11:03:22 +00:00
Howard Chu
59de8333d0
Fix ppolicy libltdl usage on Win32
2005-04-26 12:54:24 +00:00
Pierangelo Masarati
6076695eb8
handle the null lud_dn case...
2005-04-26 10:34:37 +00:00
Howard Chu
842b5ce076
ITS#3682, dup entry and free the DB's copy before sending it
2005-04-26 02:01:19 +00:00
Howard Chu
c899848afb
Fix tool startup, don't start main backend twice
2005-04-26 00:46:00 +00:00
Pierangelo Masarati
1cc6b2ebe2
don't use temporaries
2005-04-26 00:33:43 +00:00
Howard Chu
75164fbe1c
ITS#3671 make sure to flush queue when able
2005-04-25 00:38:37 +00:00
Howard Chu
bae2f5f083
Fix modify deadlock
2005-04-25 00:07:26 +00:00
Howard Chu
acd1e2852a
Better fix for #3671
2005-04-24 23:20:15 +00:00
Howard Chu
895b74cb1d
ITS#3671 free all locks before calling send_search_*, queue entries if
...
the connection is busy. Probably need to set a queue limit here and
abandon the psearch if the limit is reached.
2005-04-24 22:55:21 +00:00
Howard Chu
cd1bdf99e2
Add task names to runqueue entries. Display running tasks under
...
cn=Runqueue,cn=Threads,cn=Monitor
2005-04-23 00:28:43 +00:00
Howard Chu
855f7d44e9
pwdReset was not supposed to be NO-USER-MODIFICATION
2005-04-22 18:42:52 +00:00
Howard Chu
5158e46d59
Note draft 8 in comment
2005-04-22 09:10:06 +00:00
Howard Chu
3400b96d71
ITS#3655 patch from Ralf rhafer@suse.de update to draft 8 behavior
2005-04-22 09:09:12 +00:00
Pierangelo Masarati
a7b1017f44
partial fix to ITS#3659; still problems in merging values with "permissive" set
2005-04-21 19:55:22 +00:00
Pierangelo Masarati
1dbf872d61
set deref
2005-04-18 09:16:50 +00:00
Howard Chu
6399387580
ITS#3616 store contextCSN in glue entry if database suffix is empty
2005-04-15 06:58:03 +00:00
Howard Chu
5aed76fe78
ITS#3573, mark pwdChangedTime, pwdGraceUseTime, pwdExpirationWarned,
...
pwdHistory, and pwdReset NO-USER-MODIFICATION
2005-04-12 10:58:50 +00:00
Howard Chu
335e8a8ba7
Don't do ctxcsn checks in Tool mode, don't generate ctxcsn if it's missing
...
and we're also a consumer.
2005-04-09 11:26:31 +00:00
Pierangelo Masarati
bc97f801bf
fix previous commit
2005-04-08 00:19:01 +00:00
Pierangelo Masarati
5807c2b379
add dynlist build stuff
2005-04-07 23:51:31 +00:00
Pierangelo Masarati
22490d016a
add dynlist build stuff
2005-04-07 23:35:36 +00:00
Pierangelo Masarati
6e2c78c309
add dynlist.c from SysNet's repository; needs build stuff (when mature)
2005-04-07 22:42:44 +00:00
Howard Chu
652d0a189a
Fix filter crash when DN contains parenthesis
2005-04-01 02:13:17 +00:00
Sang Seok Lim
d2af85fd08
Fixing memory leakage in attribute aliasing
2005-03-29 00:12:05 +00:00
Pierangelo Masarati
429629ff0c
fix previous commit
2005-03-28 18:53:57 +00:00
Pierangelo Masarati
27e5fabb8b
document missing feature; avoid the risk of returning argv in an inconsistent state when an error occurs
2005-03-28 18:51:02 +00:00
Howard Chu
eb8f927af3
Fix copyright/attribution comments
2005-03-25 20:11:28 +00:00
Howard Chu
0076b40c32
Convert backendInfo/backendDB to STAILQs
2005-03-24 05:13:31 +00:00
Howard Chu
119cbcaba4
Schema unparsing support
2005-03-21 08:31:48 +00:00
Howard Chu
fba9235d0f
Add HARDCODE schema flags
2005-03-21 00:22:54 +00:00
Howard Chu
5ffc2ce9f1
Fix ITS#3601
2005-03-16 21:03:51 +00:00
Howard Chu
86ef29b5e7
ITS#3596 partial fix - allow abandoning a locked operation
2005-03-14 00:12:48 +00:00
Howard Chu
8a31f9a96f
Ignore matches from the entry being modified
2005-03-13 23:18:49 +00:00
Howard Chu
8da7cce20d
Added translucent overlay (sponsored by HP)
2005-03-10 03:13:24 +00:00
Pierangelo Masarati
4e8256f6ab
improve previous commit; now attribute values are rewritten either if they were DN-valued before or after being remapped
2005-02-22 21:29:42 +00:00
Pierangelo Masarati
ba90bad9c8
honor remapped attrs in requested attrlist; fix erroneous cleanup of remapped requested attrlist (only at response)
2005-02-22 20:16:31 +00:00
Howard Chu
d74a9f066a
ITS#3551 return SLAPD_ABANDON on abandon...
2005-02-19 12:10:40 +00:00
Howard Chu
94b3f430cf
Fix cancel cleanup
2005-02-18 07:12:57 +00:00
Howard Chu
2964bfc48b
ITS#3549 acknowledge CANCEL requests
2005-02-18 01:08:47 +00:00
Howard Chu
1510265454
Init ors_limit to NULL
2005-02-01 15:11:33 +00:00
Howard Chu
0f185de2b0
Fix uninit'd search limits
2005-02-01 14:02:53 +00:00
Pierangelo Masarati
4123f29eaa
fix spelling
2005-02-01 10:31:57 +00:00
Pierangelo Masarati
8637bc5b28
handle cannotChain result
2005-01-31 11:22:12 +00:00
Pierangelo Masarati
3b84f11d25
honor SLAP_GLUE_INSTANCE() flag; allow to advertize subordinate databases
2005-01-31 00:15:45 +00:00
Pierangelo Masarati
d503b5a5b7
make frontend-generated attrs available to backend's hook
2005-01-31 00:14:00 +00:00
Pierangelo Masarati
7cd731ec56
"ultimate" fix of glued databases controls checking; other minor fixes
2005-01-30 22:02:37 +00:00
Pierangelo Masarati
e96e874a18
take care of DN-valued "operational" (generated) attrs
2005-01-30 22:00:09 +00:00
Pierangelo Masarati
ff89b2c14c
looks a little better (but test033 doesn't work any more; disabling)
2005-01-29 19:04:06 +00:00
Pierangelo Masarati
9d11324e96
make the glue database inherit the controls of the subordinates (doesn't fix test033 though)
2005-01-29 18:38:44 +00:00
Pierangelo Masarati
77da5c56a4
allow to glue local databases under dnssrv
2005-01-28 21:38:02 +00:00
Pierangelo Masarati
5b193c218f
fix dynamically registered controls check; NOTE: controls registered by global overlays don't work yet; better leave Kurt's kludge in place right now
2005-01-25 19:39:56 +00:00
Kurt Zeilenga
28b5df9a90
Hide "work in progress"
2005-01-25 05:35:54 +00:00
Pierangelo Masarati
17f525a8ad
cleanup attribution
2005-01-22 11:17:14 +00:00
Pierangelo Masarati
b116bb3814
fix ITS#3499 (may need further testing)
2005-01-20 22:44:54 +00:00
Pierangelo Masarati
9201649c3b
the attribute mapping features of rwm seem to be very broken. Here few issues related to ITS#3499 are fixed, but there's some work to do yet
2005-01-20 20:30:46 +00:00
Pierangelo Masarati
06478f2265
silence warnings
2005-01-14 12:01:51 +00:00
Howard Chu
495c315672
More consolidation for single consumer-context syncrepl
2005-01-14 04:26:59 +00:00
Howard Chu
4c21a2712f
Fix prev commit
2005-01-13 21:14:52 +00:00
Howard Chu
93c56951ed
Use a single sessionlog per context, delete sid
2005-01-13 19:51:01 +00:00
Howard Chu
aa913f1bef
Use be_shadow_update, not be_isupdate
2005-01-13 19:02:08 +00:00
Pierangelo Masarati
69fbd2e66e
propagate opattrs if shadow update
2005-01-13 18:43:59 +00:00
Howard Chu
16f3cdeb19
More cleanup for prev commit
2005-01-12 02:32:48 +00:00
Howard Chu
53fcde0927
ITS#3463 don't muck with frontend's operations, just our detached ones
2005-01-12 01:49:00 +00:00
Howard Chu
05648b22fb
Fix findmax when multiple matches are found
2005-01-11 05:00:59 +00:00
Pierangelo Masarati
154ae48d69
put back chain overlay into back-ldap
2005-01-09 21:26:32 +00:00
Pierangelo Masarati
83fc428a44
make sure the attribute exists
2005-01-08 09:59:53 +00:00
Pierangelo Masarati
f40527ef49
fix ACL value checking for bind (ITS#3446)
2005-01-07 13:57:16 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Pierangelo Masarati
250c096713
rework internal handling of strings to minimize temporary allocation; impacts rewrite() and rewrite_session() behavior in case of no rewriting; set LDAPURLDesc lud_scope to LDAP_SCOPE_DEFAULT if set to LDAP_SCOPE_BASE, so no trailing '??base' is added to referrals...
2005-01-01 16:11:38 +00:00
Kurt Zeilenga
c9156d7995
cleanup
2004-12-31 12:02:35 +00:00
Pierangelo Masarati
f1427fd871
remap compare attribute; fix erroneous pointers; minor cleanup
2004-12-30 17:46:38 +00:00
Pierangelo Masarati
7b6d707d92
TODO: rewrite/remap the newRDN and related stuff both in back-meta and in rwm overlay
2004-12-30 15:06:58 +00:00
Howard Chu
4ea68d5e8d
Fix playlog uninit'd fields
2004-12-12 07:00:58 +00:00
Pierangelo Masarati
5a920206dd
more cleanup
2004-12-11 18:36:31 +00:00
Pierangelo Masarati
2f5e17d056
improve usability of global ovrlays for write operations; may need to anticipate SLAPI accordingly. More work needed for add (overlays need to understand they're global and call slap_mods2entry() explicitly)
2004-12-11 17:48:15 +00:00
Pierangelo Masarati
57c4f45977
work out an issue with chk_referrals and back-relay/rwm; this looks like the best compromise; minor cleanup
2004-12-11 17:37:21 +00:00
Howard Chu
73bab2b619
Moved cookie validation into slap_parse_sync_cookie so consumer uses it too
2004-12-10 03:18:33 +00:00
Howard Chu
ccdbb52266
Don't reject invalid cookies, just ignore them. partially revert prev.
2004-12-10 02:51:34 +00:00
Howard Chu
9a6e040373
Fix, don't record psearch until after it has been validated
2004-12-10 01:50:16 +00:00
Howard Chu
480394acef
Fix abandon, only drop our cloned ops, not real frontend ops
2004-12-10 01:35:34 +00:00
Howard Chu
19abba6cc2
Fix abandon processing
2004-12-09 22:21:26 +00:00
Howard Chu
41aaaf0b8d
Persist mode fixes
2004-12-09 19:52:30 +00:00
Howard Chu
cf137fc9ef
Fix 1.48 change
2004-12-09 09:20:11 +00:00
Howard Chu
c83a74f4f3
Add better validation of received cookie csn
2004-12-09 08:49:54 +00:00
Howard Chu
4b736945be
A better approach for detach_op
2004-12-09 08:28:12 +00:00
Howard Chu
bbe93b5141
ITS#3426, copy group ACL cache to saved Op
2004-12-09 08:14:57 +00:00
Pierangelo Masarati
989cba9de5
cleanup; add entryCSN
2004-12-08 19:40:46 +00:00
Pierangelo Masarati
ccc54a2994
- consistently honor multiple referrals
...
- return those that failed as referrals
- fix handling of some operational attributes
- fix URI rebuilding (use default scope)
- make copies of o_req_dn/o_req_ndn in case other overlays muck with them
2004-12-08 19:14:57 +00:00
Howard Chu
b8c6727dc9
Fix playlog search
2004-12-08 02:05:50 +00:00
Howard Chu
8bad70d957
Added sessionlog support. consumer needs work...
2004-12-08 00:47:24 +00:00
Howard Chu
33bb06475b
Fix findpresent, include user's filter
2004-12-07 18:52:55 +00:00
Howard Chu
4ae3efbdd7
Rearrange shortcut check for context with no changes
2004-12-07 10:43:48 +00:00
Howard Chu
c14cf9c7c8
Preallocate syncuuid set instead of realloc/freeing
2004-12-07 10:05:24 +00:00
Howard Chu
bc09291b81
restore code in search_cleanup to free ctrls
2004-12-07 02:58:33 +00:00
Howard Chu
c607449cd0
Write contextCSN during db_open if it's newer than was previously recorded
2004-12-07 02:20:15 +00:00
Howard Chu
e14322dcbf
Fix entry_release backend swapping
2004-12-06 22:13:19 +00:00
Howard Chu
4ffff34a65
Fix mod locking
2004-12-06 20:32:53 +00:00
Howard Chu
fb2d226a70
Add glue overlay
2004-12-05 21:15:48 +00:00
Howard Chu
7e2aea4994
Forced commit - add CVS ID tag
2004-12-05 20:57:34 +00:00
Howard Chu
ee9872f39f
Restored findcsn( MAX ), used at db_open time
2004-12-05 20:52:49 +00:00
Howard Chu
76ad79b7d7
More shutdown fixes
2004-12-05 08:19:28 +00:00
Howard Chu
de85fbc6e0
Fix prev commit
2004-12-05 07:30:12 +00:00
Howard Chu
25334fec4e
Make sure db_close only gets called once
2004-12-05 07:07:50 +00:00
Howard Chu
2c25924d28
Go back to original startup/shutdown behavior. Fix entry_release.
2004-12-05 06:44:54 +00:00
Howard Chu
8a4931c4d6
Fix typo
2004-12-05 03:06:01 +00:00
Howard Chu
30a6f4d24d
Better fix for ITS#3365, manage back-bdb's read locks so frontend/etc.
...
don't need to worry about them.
2004-12-05 02:00:19 +00:00
Howard Chu
916e931065
Always exclude subordinates from top-level ops so glue overlay can
...
intercept. Now a single syncprov works over the entire glued context.
2004-12-04 19:26:22 +00:00
Howard Chu
5c8fd8bf11
Rename syncrepl_rq to slapd_rq, move to daemon.c
2004-12-03 16:49:23 +00:00
Pierangelo Masarati
6e12819387
allow undefined schema items to be returned by back-ldap and remapped by the rwm overlay
2004-12-01 21:47:13 +00:00
Howard Chu
996354e2dd
Pass entire entry to password_quality check module, not just attrs
2004-12-01 16:01:04 +00:00
Howard Chu
86ef9285b7
Delete define of SLAPD_OVER_GLUE
2004-11-30 01:40:58 +00:00
Howard Chu
ad9f3ebe34
Backglue hastily modified as an overlay
2004-11-29 20:55:50 +00:00
Howard Chu
7bdf2ab549
_operational should return SLAP_CB_CONTINUE
2004-11-29 19:33:35 +00:00
Howard Chu
ef2df3e398
Cleanup - enable config, delete unused code
2004-11-29 10:27:38 +00:00
Howard Chu
d47f98c2eb
Cleanup... never replicate syncConsumersubentries. Plug memleaks.
2004-11-29 06:51:44 +00:00
Howard Chu
948aca3540
Partially revert previous commit. Fix startup csn generation.
...
Fix findbase initialization.
2004-11-29 05:54:55 +00:00
Pierangelo Masarati
fc57a3e3f8
generate contextCSN if not available; don't fail if a referral is sent (or don't accept referrals?)
2004-11-29 00:48:26 +00:00
Howard Chu
74b745454e
Use rdwr lock for si_mods to avoid deadlock
2004-11-27 20:34:12 +00:00
Howard Chu
8f64cb135f
Fix syncprov_db_close, only cleanup thrctx once
2004-11-27 16:05:49 +00:00
Pierangelo Masarati
6f182a7547
make unregistered known controls show up as undefined; move LDAPsync cid to frontend; some cleanup
2004-11-27 15:08:24 +00:00
Howard Chu
8d0cd119ab
Let the backend know there's a sync search
2004-11-27 14:54:49 +00:00
Howard Chu
865f0db180
Add checkpointing to save contextCSN periodically. Read contextCSN
...
on startup, save on shutdown.
2004-11-27 14:52:28 +00:00
Howard Chu
ed9925f6d9
Cleanup controls
2004-11-27 10:49:47 +00:00
Howard Chu
1bb93ae084
Fix modify serialization
2004-11-27 08:55:04 +00:00
Howard Chu
584d5355b8
Fix overlay aux_operational, add contextCSN as operational attribute
...
of suffix entry
2004-11-27 08:30:44 +00:00
Howard Chu
8866cc9c92
Force a refresh if the search base has changed
2004-11-27 07:47:24 +00:00
Howard Chu
ee20d206cd
Cleanup
2004-11-27 07:29:10 +00:00
Howard Chu
08564beb6b
Serialize multiple modifies of the same entry (ala seqmod.c)
2004-11-27 07:05:24 +00:00
Howard Chu
287d5be13c
Fix op_cleanup
2004-11-27 07:04:52 +00:00
Howard Chu
8d9509d8d0
Fix abandon sequencing
2004-11-27 06:17:24 +00:00
Howard Chu
5dc1dd1441
Added abandon/cancel support
2004-11-27 01:26:12 +00:00
Howard Chu
5f99f7c991
More migration of syncrepl from frontend to syncprov overlay
...
define OPERATION_BUFFER_SIZE for dummy Operations
2004-11-27 00:57:37 +00:00
Howard Chu
a2400fc0f8
Self-contained detached operation
2004-11-26 23:10:48 +00:00
Howard Chu
2620b4084d
Added response queuing for updates occurring during a refresh
2004-11-26 21:24:40 +00:00
Howard Chu
d413097d8b
Fix prev commit
2004-11-26 17:32:36 +00:00
Howard Chu
c2b339d456
More syncprov fixes. test019 now passes.
2004-11-26 09:40:22 +00:00
Howard Chu
90cc409325
Split Operation into Opheader and op
2004-11-25 22:59:00 +00:00
Howard Chu
3a5bde98ba
Disable back-bdb native syncrepl support, enable syncprov overlay,
...
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Howard Chu
618cc56265
Merge op->o_sync_mode into op->o_sync
2004-11-25 18:31:31 +00:00