Howard Chu
fc8b2dda7c
ITS#3989 fix ID used for syncprov_findbase
2005-09-02 10:08:44 +00:00
Hallvard Furuseth
a1a9507295
Remove unused variable
2005-08-26 21:42:48 +00:00
Pierangelo Masarati
afaf426231
need stricter sanity checks...
2005-08-25 08:57:08 +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
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
Howard Chu
9365649dad
ITS#3922 fix syncrepl ctxcsn leak
2005-08-08 12:38:19 +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
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
7ab3d2c245
Silence warnings
2005-07-14 19:32:21 +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
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
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
cfccf68bf6
Fix debug msg
2005-05-09 10:33:01 +00:00
Howard Chu
bd63507868
Table-driven config
2005-05-09 05:02:01 +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
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
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
6399387580
ITS#3616 store contextCSN in glue entry if database suffix is empty
2005-04-15 06:58:03 +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
Sang Seok Lim
d2af85fd08
Fixing memory leakage in attribute aliasing
2005-03-29 00:12:05 +00:00
Howard Chu
86ef29b5e7
ITS#3596 partial fix - allow abandoning a locked operation
2005-03-14 00:12:48 +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
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
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
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
83fc428a44
make sure the attribute exists
2005-01-08 09:59:53 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Kurt Zeilenga
c9156d7995
cleanup
2004-12-31 12:02:35 +00:00
Howard Chu
4ea68d5e8d
Fix playlog uninit'd fields
2004-12-12 07:00:58 +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