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 |
|
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 |
|
Howard Chu
|
30d80e30ee
|
More for #6011, rearrange teardown steps
|
2009-03-19 18:50:44 +00:00 |
|
Howard Chu
|
59c7d24d7f
|
ITS#6011 more for refcount'd cookieState
|
2009-03-17 04:54:09 +00:00 |
|
Howard Chu
|
50cd5bab30
|
ITS#6011 better fix for connection queue
|
2009-03-17 03:24:51 +00:00 |
|
Howard Chu
|
614faa3911
|
ITS#6011 use refcount for shared cookieState
|
2009-03-17 03:07:40 +00:00 |
|
Howard Chu
|
c6da723a91
|
cleanup prev commit
|
2009-03-17 01:00:55 +00:00 |
|
Howard Chu
|
47f31dcd8e
|
More for ITS#6011
|
2009-03-17 00:56:23 +00:00 |
|
Howard Chu
|
1661146831
|
More debugging
|
2009-03-16 21:43:33 +00:00 |
|
Howard Chu
|
6a56c7014c
|
More for prev commit
|
2009-03-14 01:14:59 +00:00 |
|
Howard Chu
|
5bd8725aac
|
ITS#5988 avoid redundant slap_graduate_commit_csn calls
|
2009-03-14 01:04:55 +00:00 |
|
Howard Chu
|
83870c03d2
|
ITS#6020 better tracking of where changes came from
|
2009-03-13 00:14:19 +00:00 |
|
Howard Chu
|
2c1de1866e
|
Revert 1.447 ITS#5793, slap_queue_csn is mandatory
|
2009-03-12 13:50:51 +00:00 |
|
Howard Chu
|
f347798d48
|
ITS#6011 don't hang around during a shutdown...
|
2009-03-11 07:04:27 +00:00 |
|
Howard Chu
|
5947a1692d
|
Once more, mutex_lock -> trylock...
|
2009-03-05 22:46:03 +00:00 |
|
Howard Chu
|
ce356b27b1
|
Fix modrdn / delOldRDN leaving empty mods
|
2009-03-05 19:43:55 +00:00 |
|
Howard Chu
|
86e048aa33
|
Delete bogus code from 1.435
|
2009-03-05 09:17:36 +00:00 |
|
Rein Tollevik
|
47011649f7
|
ITS#5973 use the modify op to pass csn updates from syncrepl to syncprov
|
2009-02-24 20:11:22 +00:00 |
|
Rein Tollevik
|
0157ae4744
|
ITS#5972 Added newCookie sync info messages.
|
2009-02-24 20:01:08 +00:00 |
|
Howard Chu
|
c50729c4fd
|
ITS#5954 from jclarke@linagora.com: fix be_syncinfo order
|
2009-02-17 22:08:00 +00:00 |
|
Howard Chu
|
686ceac31f
|
Add some asserts on CSN validity
|
2009-02-11 22:00:00 +00:00 |
|
Howard Chu
|
cca8c1953e
|
ITS#5935 fix prev commit
|
2009-02-10 15:13:31 +00:00 |
|
Howard Chu
|
0f263632a1
|
ITS#5935 better check for active syncrepl sessions, avoid double-free
|
2009-02-10 00:34:47 +00:00 |
|
Howard Chu
|
b8db865c0a
|
Cleanup, treat modifyTimestamp specially too
|
2009-01-25 02:18:41 +00:00 |
|
Howard Chu
|
aedaaf6658
|
Blind fix to runqueue_remove assert. unable to reproduce the problem...
|
2009-01-24 21:56:15 +00:00 |
|
Howard Chu
|
532347bb3c
|
ITS#5881 consumer must use ManageDSAiT control to retrieve referrals
as entries. provider must preserve incoming ManageDSAiT status.
|
2009-01-24 07:04:42 +00:00 |
|
Howard Chu
|
ac037d3a13
|
ITS#5843, fallout from #5470. Just test against our newest CSN.
|
2009-01-24 03:23:31 +00:00 |
|
Kurt Zeilenga
|
4af9eb9715
|
Update copyright notices
|
2009-01-22 00:40:04 +00:00 |
|
Howard Chu
|
0b60ddd7ca
|
Fix prev commit
|
2008-12-29 15:38:56 +00:00 |
|
Howard Chu
|
6d73c12403
|
ITS#5866 skip CSN check for glue entries
|
2008-12-24 12:21:36 +00:00 |
|
Pierangelo Masarati
|
ed33fa5cc6
|
add shadow mask
|
2008-12-06 17:20:43 +00:00 |
|
Pierangelo Masarati
|
bd49d6dc11
|
make sure the right control is being used (a little bit paranoid...)
|
2008-12-06 14:41:12 +00:00 |
|
Howard Chu
|
65530005ee
|
More for prev commit - if doing both modrdn and modify at once, only
set the CSN on the modify op.
|
2008-12-03 04:49:53 +00:00 |
|
Howard Chu
|
89e13bff5f
|
Refine prev commit
|
2008-11-29 11:06:28 +00:00 |
|
Howard Chu
|
2705cbd749
|
ITS#5809 - fixed again, based on 1.423 (reverted 1.424-1.425)
|
2008-11-29 03:41:33 +00:00 |
|
Pierangelo Masarati
|
4bbb033c6b
|
retry every hour, but don't save it; on the contrary, complain every time syncrepl is configured without retry (ITS#5825)
|
2008-11-24 18:15:52 +00:00 |
|
Pierangelo Masarati
|
970a60002f
|
don't leak generated filters (ITS#5826)
|
2008-11-22 18:38:37 +00:00 |
|
Pierangelo Masarati
|
31c61ad855
|
minimal fix for ITS#5825, pending discussion
|
2008-11-22 16:00:41 +00:00 |
|
Pierangelo Masarati
|
bbcc89ecd3
|
s/not|got/(non)present/ (more readable, isn't it?)
|
2008-11-16 20:33:03 +00:00 |
|
Howard Chu
|
011d14c136
|
cleanup prev commit, delete unused vars
|
2008-11-16 01:24:09 +00:00 |
|
Howard Chu
|
329741ff0b
|
ITS#5809 fix prev commit - always turn modrdn into modrdn+modify, and
only propagate the Modify op.
|
2008-11-16 01:21:31 +00:00 |
|
Howard Chu
|
b7e8411dca
|
ITS#5809 fix 1.421, avoid modrdn falling thru to modify unnecessarily
|
2008-11-15 23:54:23 +00:00 |
|
Howard Chu
|
d1221975d6
|
ITS#5809 fewer false detections of renames
|
2008-11-14 23:48:38 +00:00 |
|
Howard Chu
|
51c87bb9c7
|
ITS#5809 renames are not exclusive from modifies
|
2008-11-13 22:46:49 +00:00 |
|
Howard Chu
|
4d51be0c9b
|
ITS#5798, don't use per-DB schema-check flag
|
2008-11-08 16:48:48 +00:00 |
|
Howard Chu
|
5dc58028c1
|
ITS#5710 fix stupid updateCookie hack, use explicit o_dont_replicate flag
|
2008-11-06 21:10:25 +00:00 |
|
Howard Chu
|
fa245f7491
|
ITS#5781 fix modification of MV attrs with no EQ rule
|
2008-10-30 18:22:11 +00:00 |
|