Commit Graph

268 Commits

Author SHA1 Message Date
Pierangelo Masarati
cc84163f30 factor connection code out of syncrepl 2006-08-04 19:20:59 +00:00
Howard Chu
5757065736 ITS#4622
syncrepl: don't save contextCSN on incoming context entry
  syncprov: delete contextCSN on checkpoint if ctxcsn is empty
2006-07-27 10:44:22 +00:00
Howard Chu
acea44af02 ITS#4622 additional fix 2006-07-26 21:36:44 +00:00
Howard Chu
04d7e356a7 ITS#4534, don't update the context cookie with the delete syncID set
cookie, that's only an intermediate value.
ITS#4622, don't update the context cookie until all the nonpresent
deletes are finished.
2006-07-26 21:23:21 +00:00
Howard Chu
5934d696eb ITS#4582 complain if no rootDN was set when configuring syncrepl 2006-06-08 11:54:10 +00:00
Howard Chu
78809a70c5 Fix modrdn with back-ldap 2006-05-29 07:24:21 +00:00
Howard Chu
62437022ab ITS#4567 use unique timestamps for ops for cascading delta-sync 2006-05-27 10:26:15 +00:00
Howard Chu
837e9466b8 ITS#4534 propagate CSN for delete syncID sets 2006-05-11 10:46:44 +00:00
Howard Chu
966c47e5b4 Detect TLS config changes 2006-05-03 02:48:23 +00:00
Howard Chu
442a3f1fde searchbase is a required config parameter, log missing params. 2006-04-29 09:24:14 +00:00
Howard Chu
fd20e683df Add logging for ITS#4423 2006-04-27 09:18:43 +00:00
Pierangelo Masarati
95b29919a3 more ITS#4503 cleanup 2006-04-25 19:30:48 +00:00
Pierangelo Masarati
a2a9298080 cleanup 2006-04-13 14:46:16 +00:00
Howard Chu
c6d0edc3b7 Use TLS context stuff in syncrepl 2006-04-07 02:57:39 +00:00
Hallvard Furuseth
da0c0360e4 Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL). 2006-04-02 19:54:24 +00:00
Howard Chu
afa10c3486 Add "subord" alias for subordinate scope 2006-03-07 22:39:09 +00:00
Howard Chu
937bc5bbb7 Fix ITS#4401 teardown persistent clients when unconfiguring 2006-02-15 07:38:17 +00:00
Howard Chu
88c3a5a5b6 Add debug message when deleting nonpresent entries 2006-02-08 21:24:43 +00:00
Howard Chu
f96e6378d6 filter2bv can't de-normalize UUIDs, must do it explicitly for back-ldap
in test045
2006-02-05 01:05:38 +00:00
Howard Chu
3d3ba13f92 ITS#4369 add log messages for delta syncrepl ops 2006-01-25 01:47:48 +00:00
Pierangelo Masarati
90fad5a3a3 (incorrect) variable used before set (ITS#4331) 2006-01-11 21:30:53 +00:00
Pierangelo Masarati
c9ef14afca fix typos in previus commit 2006-01-11 08:36:37 +00:00
Howard Chu
3ecd52e0b8 Don't update in-memory cookie until db update succeeds 2006-01-11 08:10:17 +00:00
Howard Chu
3e682cdac4 Propagate local errors up, fix test045 2006-01-11 07:37:42 +00:00
Pierangelo Masarati
857a43d398 o_csn memory handling cleanup and more resource release 2006-01-06 16:31:57 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
7e535f8018 __should__ fix ITS#4296 2006-01-03 18:07:01 +00:00
Pierangelo Masarati
fdce5f2f7e fix another crasher 2006-01-02 17:36:48 +00:00
Luke Howard
b6fffd1417 Add orr_modlist member to request structure, containing a list of
modifications to be applied by the backend atomically with a modify
RDN request.

Handle updating of RDN values in frontend.

Code that calls a backend's be_modrdn should call slap_modrdn2mods(op, rs)
before invoking the backend and cleanup with slap_mods_free( op->orr_modlist, 1 ).
See do_modrdn() for an example.
2006-01-01 09:23:24 +00:00
Pierangelo Masarati
81bafb9935 fix potential overflow in syncrepl_unbind() and related helpers 2005-12-20 14:31:16 +00:00
Pierangelo Masarati
e2fb0213ed note to developers 2005-12-20 14:03:04 +00:00
Pierangelo Masarati
46a88603dd add more checks on input values 2005-12-20 13:07:38 +00:00
Howard Chu
e6f624b48a ATTRSONLY doesn't take a value (ITS#4146, #4266) 2005-12-20 12:18:01 +00:00
Pierangelo Masarati
9df97ba114 use macros to handle retry 2005-12-15 19:14:54 +00:00
Pierangelo Masarati
f0ee55c9df fix filter generation (back-ldap uses string form) 2005-12-15 13:07:56 +00:00
Pierangelo Masarati
ed0bed72b9 plug leaks 2005-12-06 23:10:14 +00:00
Howard Chu
a342ee4d88 ITS#4227 delta-sync should use subtree search 2005-11-29 11:44:43 +00:00
Kurt Zeilenga
48cb85865d Remove some unnecessary #ifdefs 2005-11-26 07:38:18 +00:00
Pierangelo Masarati
f3c007229f detect if trying to make back-monitor shadow 2005-11-25 15:16:54 +00:00
Pierangelo Masarati
0fd295a321 first round of number/time parsing fixes 2005-11-23 17:29:16 +00:00
Howard Chu
9ca041c9a6 Fix retry on stale cookie result 2005-11-21 05:38:28 +00:00
Pierangelo Masarati
28aca605c7 more URI into bindconf 2005-11-16 21:52:14 +00:00
Pierangelo Masarati
474dfbc8fd don't trust strchr/strrchr with bervals 2005-11-13 22:26:53 +00:00
Pierangelo Masarati
52db580cdb error if syncUUID is empty 2005-11-08 00:03:58 +00:00
Howard Chu
f7ebf67355 ITS#4135 fix prev commit 2005-11-03 02:40:52 +00:00
Kurt Zeilenga
ecd86725f2 Update result code to IANA-assigned values
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Howard Chu
9ee48976e2 ITS#4135 remove client socket from frontend control before unbinding 2005-11-03 00:15:50 +00:00
Howard Chu
4f4d91d8a9 Fix fallback retries 2005-10-15 06:14:12 +00:00
Howard Chu
1872357e3b Trim down delta attr list 2005-10-15 05:37:10 +00:00
Howard Chu
f2f948ddf8 Fix delta deletes 2005-10-15 05:13:28 +00:00