Commit Graph

328 Commits

Author SHA1 Message Date
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