Howard Chu
20e7176183
More for ITS#6807, make sure to check_syncprov() after initial startup
2011-01-28 22:01:18 +00:00
Howard Chu
2d37632286
ITS#6807 always use complete cookie on refresh requests
2011-01-27 20:50:08 +00:00
Kurt Zeilenga
966cef8c9a
Happy New Year
2011-01-05 00:42:37 +00:00
Hallvard Furuseth
eae5e37ebd
Set sr_type=REP_SEARCH before be_operational
2011-01-04 15:12:45 +00:00
Hallvard Furuseth
15aa7c472a
noop commit: cleanup 0 -> REP_RESULT in SlapReply
2010-12-31 14:08:34 +00:00
Hallvard Furuseth
6d7c1880a8
ITS#6758 Avoid SlapReply reuse.
...
Caller provides a SlapReply and reads the result after the operation,
then reuses it. Reinitialize before reuse, or move declaration inwards.
2010-12-31 13:08:11 +00:00
Hallvard Furuseth
13f52646b2
ITS#6758 Avoid SlapReply reuse, simple cases.
...
Caller provides and reuses a SlapReply it does not read after
initialization. So reinitialize or move the declaration inwards.
In case of refint, move the rs parameter into refint_repair().
2010-12-31 10:46:22 +00:00
Hallvard Furuseth
cd6e9156e7
Remove lint (unused vars/labels/funcs/default:s)
2010-12-30 23:34:55 +00:00
Hallvard Furuseth
78a0be6a42
Plug memory leaks
2010-12-20 10:51:14 +00:00
Hallvard Furuseth
87a9ee9e83
For ITS#6739: Fix last commit (private debuging)
2010-12-06 09:27:30 +00:00
Hallvard Furuseth
5fc18b9d66
For ITS#6739: Move variables into do_syncrep2 loop
2010-12-06 09:23:44 +00:00
Pierangelo Masarati
b68703031b
initialize rc in syncrepl_add_glue_ancestors (ITS#6719)
2010-11-22 12:09:45 +00:00
Rein Tollevik
e1dfe6e911
ITS#6707: Free the presentlist (if any) before connecting.
2010-11-15 14:15:46 +00:00
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