Commit Graph

511 Commits

Author SHA1 Message Date
Howard Chu
e43f0a2cf0 Fix rewriterule, free rewrite info in syncinfo_free 2010-06-21 18:01:29 +00:00
Howard Chu
995c4c5bb3 Fix prev commit, return NULL if rewrite returns original DN 2010-06-21 17:26:50 +00:00
Howard Chu
6ee6739b48 Add suffixmassage processing 2010-06-19 03:15:41 +00:00
Howard Chu
bc82f314c3 Add config support for suffixmassage. Note - no actual massage code
present in this commit.
2010-06-19 01:29:39 +00:00
Howard Chu
6273df07da ITS#6533 put rid first, in front of url 2010-04-26 12:07:08 +00:00
Pierangelo Masarati
68257f6c5c log rid when syncrepl stanza successfully added (ITS#6533) 2010-04-25 17:49:37 +00:00
Pierangelo Masarati
993d377b68 remove redundant logs (underlying backends already log enough) 2010-04-18 18:42:44 +00:00
Pierangelo Masarati
c939422ae5 alreadyExists is a legitimate result code (further improve ITS#6472 commit; also fix ITS#6528) 2010-04-18 17:11:29 +00:00
Pierangelo Masarati
4480b22a91 don't use dangling stack pointers (more on ITS#6472 fix) 2010-04-18 06:53:22 +00:00
Pierangelo Masarati
8025becf91 fix syncrepl when attr has no matching rule (ITS#6458) 2010-04-18 05:37:36 +00:00
Pierangelo Masarati
a9990e8914 fix out of order add/rename, when rename to newly added new superior occurs while consumer is offline (ITS#6472) 2010-04-17 21:59:35 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Howard Chu
47f1c8c887 ITS#6473 fail delta-sync when unknown attrs are received 2010-03-02 21:45:25 +00:00
Howard Chu
12affea4ac ITS#6425 fix uninit'd vars 2009-12-09 00:04:58 +00:00
Howard Chu
25a4e7806a ITS#6419 also init for ldaps:// URIs 2009-12-08 11:50:39 +00:00
Rein Tollevik
6c406f1737 ITS#6413 Ensure task don't get queued while being freed after config change. 2009-12-03 21:56:48 +00:00
Howard Chu
e3c01a32f8 Revert pending CSN if the update fails 2009-11-22 19:30:50 +00:00
Pierangelo Masarati
1970251bb7 check result of str2filter; syncrepl: can be broken; retcode: can't; pcache: shouldn't (ITS#6391) 2009-11-22 11:57:17 +00:00
Howard Chu
77680f78a8 ITS#6394 partially revert ITS#5108. Use RID_MAX, as originally designed. 2009-11-22 00:08:52 +00:00
Pierangelo Masarati
39f0d79485 use macros for fake connid 2009-11-21 21:02:49 +00:00
Howard Chu
75d1e515ee in updateCookie, no-op if nothing changed 2009-11-21 11:38:42 +00:00
Howard Chu
f664cbfb4c Use unique IDs for fake syncrepl connections 2009-11-21 06:54:58 +00:00
Howard Chu
572e16883c Braindead serialization for #6368/test050 2009-11-21 04:14:40 +00:00
Howard Chu
3dd04151f5 Always log rid with incoming cookie 2009-11-21 02:34:10 +00:00
Howard Chu
60d83e06b8 Fix typo in 1.487 2009-11-20 23:20:37 +00:00
Howard Chu
d283f02c45 Fix prev commit 2009-11-20 22:52:47 +00:00
Howard Chu
2aadfa5d86 Reject old ops based on pending ops, not just committed ops 2009-11-20 22:47:48 +00:00
Howard Chu
ffb06848ff ITS#6368 add another call to check_syncprov to make sure cookie is fresh 2009-11-18 22:06:02 +00:00
Pierangelo Masarati
272abc5561 don't test a NULL BackendDB * (ITS#6385) 2009-11-18 09:51:49 +00:00
Pierangelo Masarati
3768fbbd30 warn if retry is not forever 2009-11-16 09:58:12 +00:00
Howard Chu
c419a3e4f7 ITS#6367 use correct SID in our request cookie 2009-11-15 19:15:12 +00:00
Howard Chu
cd99d851a2 Fix uninit'd var 2009-11-15 08:59:56 +00:00
Howard Chu
b800bd4729 ITS#6377, fix rev 1.478 2009-11-14 21:25:11 +00:00
Howard Chu
3f9e8eeeec ITS#6373 more for subentry creation 2009-11-11 04:03:27 +00:00
Howard Chu
9ad558b78c ITS#6373 create subentry if missing 2009-11-11 03:36:46 +00:00
Howard Chu
1e85952843 ITS#6373 add sync_use_subentry keyword 2009-11-11 03:06:32 +00:00
Pierangelo Masarati
72c1b2f821 add pedantic checks 2009-08-21 17:08:48 +00:00
Howard Chu
f0a0e9fa32 Revert prev commit, use ldap_pvt_ funcs 2009-08-18 08:53:41 +00:00
Howard Chu
7442e58dc2 For ITS#6152 add slapd_str2scope(), slapd_scope2bv() 2009-08-18 02:47:28 +00:00
Howard Chu
0132ea425d ITS#6152 add syncrepl_diff_entry() 2009-08-17 11:58:47 +00:00
Howard Chu
f918243a2f ITS#6256 from Jonathan Clarke 2009-08-15 14:05:47 +00:00
Howard Chu
bf69b8e065 ITS#5942 consolidate server URL match to config_check_my_url().
In syncrepl, assume consumer pointing to same server but different
searchbase is OK otherwise ignore config.
2009-07-29 09:04:39 +00:00
Howard Chu
23783a9164 Add ldap_pvt_thread_pool_retract() to cancel pending threads 2009-06-11 04:46:04 +00:00
Howard Chu
273bd403f4 Avoid multiple attempts to free the same syncinfo 2009-05-18 07:58:27 +00:00
Pierangelo Masarati
79024465dc check dn normalization result 2009-05-07 15:27:01 +00:00
Hallvard Furuseth
2365945268 ITS#6064: "//" comment from rev 1.445 -> "/**/" comment 2009-04-16 17:48:50 +00:00
Howard Chu
6fc4af8a18 ITS#6054 quit using global malloc 2009-04-11 03:42:15 +00:00
Howard Chu
ae3fb6acfa Fix 1.461, forgot to release mutex when persistent conn exists 2009-03-22 02:53:49 +00:00
Howard Chu
528193ec23 Fix prev commit 2009-03-19 21:13:11 +00:00
Howard Chu
d44a75ff40 More for prev commit 2009-03-19 19:09:34 +00:00