Commit Graph

188 Commits

Author SHA1 Message Date
Kurt Zeilenga
ed4811039e cleanup 2004-06-09 05:20:57 +00:00
Kurt Zeilenga
1372965d89 ITS#3092: Rename sl_free() and friends to slap_sl_free() 2004-04-20 03:44:57 +00:00
Pierangelo Masarati
7be90a7ddf remove unused structure member ps_id 2004-04-17 15:01:13 +00:00
Howard Chu
d5df8e3f40 Fix paged search initialization 2004-04-12 17:59:27 +00:00
Pierangelo Masarati
2e13fbeea1 completion of limits w/ paged results control 2004-04-09 15:54:46 +00:00
Pierangelo Masarati
36941332a1 improve previous commit; now special limit on the number of total entries of a paged results can be set via the limits. Need to decide whether the default should be unlimited or what 2004-04-09 12:26:34 +00:00
Pierangelo Masarati
fadf3398d4 honor size limits when using paged results 2004-04-09 11:44:28 +00:00
Howard Chu
c86e07dd25 Fix ITS#3063, special case handling of "" suffix 2004-04-08 12:15:26 +00:00
Howard Chu
0e2a12142a Zero out rs->sr_err before send_search_entry 2004-04-07 16:41:17 +00:00
Kurt Zeilenga
44725e7303 use BER_BVNULL 2004-04-07 04:11:43 +00:00
Kurt Zeilenga
e323437c6a cleanup for release engineering 2004-03-18 01:06:39 +00:00
Pierangelo Masarati
c0606cdfb7 reset flags (need to check consistence across slapd) 2004-03-17 09:59:04 +00:00
Pierangelo Masarati
091246c6fd move limits evaluation to frontend 2004-03-08 18:12:45 +00:00
Pierangelo Masarati
4e57108991 allow search limits based on groups (ITS#2967) 2004-02-18 16:40:36 +00:00
Jong Hyuk Choi
d84a5d29ab Fix the missing delete problem (reported by Doug Council) 2004-01-27 18:16:40 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Jong Hyuk Choi
0c0b29fc85 a patch for persistent search 2003-12-31 22:11:38 +00:00
Kurt Zeilenga
7f59380c5e Quick hack for PSEARCH crash. 2003-12-31 04:26:07 +00:00
Kurt Zeilenga
a3c1b64a73 Initial subordinate implementation (for chaining) 2003-12-30 03:53:03 +00:00
Kurt Zeilenga
2775c8d4a8 Update no-op control to return LDAP_NO_OPERATION instead of LDAP_SUCCESS.
(back-sql needs to be updated)
2003-12-29 23:31:39 +00:00
Kurt Zeilenga
fcad25da47 Misc code cleanup 2003-12-29 22:25:43 +00:00
Pierangelo Masarati
ee34f3fb64 add to 'val[.<style>=<value>' ACLs special match styles for DN-valued attributes; add negated objectClass to attribute name lists for ACLs and partial replication 2003-12-16 00:49:10 +00:00
Jong Hyuk Choi
fa2aa5bb25 fix for concurrent persistent searches 2003-12-11 00:04:52 +00:00
Kurt Zeilenga
38ccdaf7a3 unifdef -DLDAP_CONTROL_PAGEDRESULTS (as it is always defined) 2003-12-08 18:16:07 +00:00
Pierangelo Masarati
a4c5f54601 detect problems in saslauthz 2003-12-01 07:59:30 +00:00
Kurt Zeilenga
9d811eb1fa Notices 2003-11-28 21:08:20 +00:00
Jong Hyuk Choi
1fdda703e6 Support multiple sync replication at the consumer :
1) simultaneous operation of multiple active sync replication threads
2) cookie management for individual sync replication thread
   (include rid=%3d to the slapd cookie command line option (-c))
2003-11-26 19:49:47 +00:00
Jong Hyuk Choi
f97dc983ac Collective entryUUID transmission of PRESENT messages in a single PDU
(refer to draft-zeilenga-ldup-sync-04.txt)
2003-11-20 02:14:47 +00:00
Jong Hyuk Choi
f3586499d0 update ldapsync/syncrepl code according to the new version of
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +00:00
Jong Hyuk Choi
279760a467 1. Session history support
- memory based session history to minimize sync traffic
	- when client is covered by a session history, then
      [add+delete] mode is used
	- when client cookie is not covered by the history because
      the cookie is too outdated and/or the history is truncated,
	  [add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
	- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
2003-11-10 02:44:25 +00:00
Kurt Zeilenga
25f2985024 Don't return garbage when plist is empty. 2003-10-23 01:15:36 +00:00
Howard Chu
95a5866965 Shortcut syncrepl candidate selection if CSN is up to date 2003-10-22 07:53:28 +00:00
Howard Chu
7710791382 ITS#2684 keep psearch operations on the connection's active list so they
can be located by connection_abandon() during an unexpected close. Remove
the operations in bdb_abandon() etc.
2003-10-19 11:20:34 +00:00
Kurt Zeilenga
71f484bad8 Finish off berbuf fix 2003-10-12 06:07:02 +00:00
Jong Hyuk Choi
eee84463c0 do not cache internal search results for present entry priming 2003-09-25 07:49:50 +00:00
Kurt Zeilenga
99f968b597 Initial support for pre/post read controls.
TODO:
	Fix transactional consistency
	Add client response control handling
2003-09-16 18:56:04 +00:00
Jong Hyuk Choi
d5be4896a3 add bdb_get_commit_csn() for use in bdb_search 2003-09-10 17:03:01 +00:00
Jong Hyuk Choi
7357caac90 memory mgmt cleanup 2003-09-03 23:47:37 +00:00
Jong Hyuk Choi
853c03e38d more patches for ITS#2692 (Thanks Luke!) 2003-08-29 17:02:53 +00:00
Jong Hyuk Choi
090ac0a772 unifdef LDAP_SYNC and LDAP_SYNCREPL 2003-08-27 22:16:04 +00:00
Jong Hyuk Choi
4559aa06aa cleanup 2003-08-27 20:51:04 +00:00
Jong Hyuk Choi
81a53a9a5c LDAP Sync protocol extension
- do not send updates in state mode when
  syncCookie >= contextCSN (or omitCSN if changelog is used)
2003-08-26 22:49:44 +00:00
Jong Hyuk Choi
79b04b12a2 Context CSN Patch (5)
- persistent search patch
- cascading search patch
2003-08-26 00:35:27 +00:00
Jong Hyuk Choi
3be0b77c88 Context CSN Patch (2)
- BDB context csn codes moved to a separate function in back-bdb/ctxcsn.c
2003-08-25 19:15:04 +00:00
Jong Hyuk Choi
d53c90dc29 Context CSN patch (1) - cleanup
- serialize search_candidates() with the read of search_context_csn
2003-08-25 17:10:18 +00:00
Jong Hyuk Choi
660617ae66 Context CSN patch (1)
- currenty works for refreshOnly mode of LDAP Sync
- Context CSN for add / modify is implemented
- code for delete / modrdn / refreshAndPersist will be soon committed
2003-08-23 02:51:33 +00:00
Jong Hyuk Choi
6659cf3ea1 LDAP Sync protocol change : state mode (add+present) and log mode (add+delete) 2003-08-14 16:27:36 +00:00
Jong Hyuk Choi
aaa66d254e Various udpates for SyncRepl 2003-07-15 00:43:39 +00:00
Jong Hyuk Choi
262f8bf11f LCUP primitive routines removed 2003-06-27 17:39:48 +00:00
Jong Hyuk Choi
5d203d0cc5 not returning glue entries unless manageDSAit is set 2003-06-25 16:22:08 +00:00