Commit Graph

10615 Commits

Author SHA1 Message Date
Pierangelo Masarati
fd609f3299 force entry release as appropriate (ITS#6081) 2009-04-29 13:03:50 +00:00
Pierangelo Masarati
477e602afd make logs symmetric 2009-04-29 11:36:49 +00:00
Pierangelo Masarati
aa494bd8c0 only free entries dup'ed by rwm_entry_get_rw() (ITS#6058) 2009-04-20 14:54:18 +00:00
Pierangelo Masarati
5207531d9b always pass a DN to the underlying database (ITS#6070) 2009-04-20 09:54:31 +00:00
Howard Chu
f11fcf47d2 Add missing extended/intermediate handlers for fake connections 2009-04-20 09:07:48 +00:00
Howard Chu
615082b0d0 Add ATDESC config arg type for AttributeDescriptions 2009-04-20 00:31:33 +00:00
Howard Chu
d70afbe6d1 Add global_host_bv, why do we still have bare char *s lying around... 2009-04-19 23:25:41 +00:00
Hallvard Furuseth
2365945268 ITS#6064: "//" comment from rev 1.445 -> "/**/" comment 2009-04-16 17:48:50 +00:00
Pierangelo Masarati
8ed197799c fix ITS#6057 2009-04-15 10:46:11 +00:00
Howard Chu
cfb12f536b ITS#6056 pagedresults stacked control is not overlay-friendly, add
slap_add_ctrls() function
2009-04-15 10:34:24 +00:00
Howard Chu
417b0b7013 ITS#6039 Winsock fixes 2009-04-11 04:03:09 +00:00
Howard Chu
6fc4af8a18 ITS#6054 quit using global malloc 2009-04-11 03:42:15 +00:00
Howard Chu
b0e50c6a7d ITS#6054 assert/exit on failed allocs 2009-04-11 03:40:12 +00:00
Howard Chu
a9a50a6a3e ITS#6021 minor cleanup 2009-04-05 04:17:06 +00:00
Rein Tollevik
2a4bce0633 More for ITS#6045: clear o_callback as well. 2009-04-04 20:25:38 +00:00
Rein Tollevik
4901d77f94 Fixed previous again, using o_bd->bd_self is safer. 2009-04-04 20:09:43 +00:00
Rein Tollevik
aef88182ab Fixed previous edit: Use op->o_bd, not a copy of ss->s_op->o_bd 2009-04-04 17:58:58 +00:00
Rein Tollevik
ab0d7543df ITS#6045: Use copy of db when testing filter in matchops. 2009-04-03 17:55:47 +00:00
Howard Chu
bf3920360d ITS#6016 check for static backends and overlays 2009-04-02 23:41:41 +00:00
Howard Chu
94ab6a31b2 ITS#6038 revert prev commits, ITS rejected 2009-03-27 11:07:42 +00:00
Rein Tollevik
c8cf2fc47a ITS#6038: Write slapadd progress meter to stdout. 2009-03-26 22:50:54 +00:00
Hallvard Furuseth
3e57c96acd ITS#6037: don't loop forever on EINTR in wait4child() 2009-03-26 22:12:12 +00:00
Hallvard Furuseth
1e470657b2 ITS#6037: save/restore errno in signal handlers 2009-03-26 22:11:06 +00:00
Howard Chu
9309eb4b34 ITS#6036 zero out freed val 2009-03-26 16:58:44 +00:00
Pierangelo Masarati
c9f514d1d1 slapcat does not mention -s in usage 2009-03-26 00:54:11 +00:00
Howard Chu
bddc9b337c ITS#6030 reject redundant moduleload attempts 2009-03-23 16:06:00 +00:00
Howard Chu
fdda1ea70f ITS#6030 don't reload already loaded modules 2009-03-23 11:38:24 +00:00
Howard Chu
ae3fb6acfa Fix 1.461, forgot to release mutex when persistent conn exists 2009-03-22 02:53:49 +00:00
Hallvard Furuseth
fb8a419e58 More ITS#5968: Edit AVA_Sort() comment to describe new behavior. 2009-03-20 17:11:28 +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
1d16ee5622 One more tweak for #5860 2009-03-19 06:06:37 +00:00
Howard Chu
65c24bdb1f More for #5860 - if the cache blew past the maxsize, bring it all the way
back down to size.
2009-03-18 18:18:40 +00:00
Howard Chu
0121f8c01d More for ITS#5860 2009-03-18 11:21:53 +00:00
Howard Chu
7f2f9c4b30 Cleanup prev commit 2009-03-18 09:44:20 +00:00
Howard Chu
cc950c70d1 More for ITS#5860, always check cache sizes 2009-03-18 08:52:38 +00:00
Howard Chu
ba75a865d7 ITS#6012 don't abort NULL txns (blind fix) 2009-03-17 18:09:40 +00:00
Pierangelo Masarati
6627f34356 use, then free (ITS#6027) 2009-03-17 15:52:41 +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
Rein Tollevik
f30269f5d2 ITS#6024 Don't send cookies without csn. 2009-03-15 23:05:08 +00:00
Howard Chu
14d4ca86e1 Fix prev 2 commits: make sure op is Modify before testing modlist,
don't checkpoint when adding the context entry to a DB
2009-03-14 09:03:30 +00:00
Howard Chu
1e651713e2 ITS#5988 allow entries without CSN to be replicated 2009-03-14 07:22:19 +00:00
Howard Chu
9764499136 ITS#5973 re-enable patch 2009-03-14 07:21:06 +00:00
Howard Chu
4908009ed3 Don't write out abandoned results 2009-03-14 06:47:43 +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
fb35e344ed Fix prev commit 2009-03-13 23:25:00 +00:00
Howard Chu
2f14098a9b ITS#5988 don't respond if consumer's state is newer than ours 2009-03-13 23:09:14 +00:00
Howard Chu
43b23ce31c ITS#5999 better modtarget tracking 2009-03-13 22:59:20 +00:00
Howard Chu
6044e46ec7 Avoid shutdown problems 2009-03-13 08:33:34 +00:00
Howard Chu
0af440befe Cleanup prev commit 2009-03-13 07:50:45 +00:00
Howard Chu
eb3e92481b More for #6020 2009-03-13 06:44:49 +00:00
Howard Chu
bbe1285696 For #6020 log remote sid in syncprov_sendresp 2009-03-13 03:44:51 +00:00
Howard Chu
4775157666 More for prev commit 2009-03-13 01:07:45 +00:00
Howard Chu
553d6a9963 ITS#5973 hide this for now, it's broken 2009-03-13 00:28:09 +00:00
Howard Chu
d03e5ad14e More for prev commit 2009-03-13 00:26:24 +00:00
Howard Chu
011d1ca8bc Fix prev commit 2009-03-13 00:15:28 +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
1336616065 Delete obsolete context entry stuff 2009-03-10 03:51:14 +00:00
Howard Chu
f2cc7e8a0a ITS#5836, add writetimeout keyword for timing out hung writers 2009-03-10 00:42:10 +00:00
Howard Chu
496937eb79 ITS#6005 use ber_memcalloc/free 2009-03-09 01:22:48 +00:00
Howard Chu
5152ea19a3 ITS#6005 realloc should be ch_realloc 2009-03-09 00:48:44 +00:00
Howard Chu
df64b0573c More for prev commit - fill in other opattrs when creating stub 2009-03-07 02:46:10 +00:00
Howard Chu
b88e792a7f Revert ITS#3616 patch, obsoleted by ITS#4916 / ITS#6006 2009-03-07 02:28:01 +00:00
Howard Chu
89cfbe3b6e ITS#6006 dummy entry needs objectclass attr. (Previous fix to ITS#4961
was incomplete. This patch obsoletes the patch for ITS#3616.)
2009-03-07 02:23:20 +00:00
Howard Chu
6f8323590e More explicit for prev commit 2009-03-06 04:00:38 +00:00
Howard Chu
4fc4cb7995 ITS#6003, #5916 fix ldap_back_entry_get_rw, no deref here 2009-03-06 03:57:35 +00:00
Howard Chu
c5cf4fca22 ITS#6002 fix attrset unparse 2009-03-05 23:44:18 +00:00
Howard Chu
5947a1692d Once more, mutex_lock -> trylock... 2009-03-05 22:46:03 +00:00
Howard Chu
e3e7a22b5d Must use txns everywhere, otherwise it will deadlock 2009-03-05 21:59:05 +00:00
Rein Tollevik
447f3f746e ITS#6001 SID of queued CSN must match the one in the op 2009-03-05 20:43:53 +00:00
Howard Chu
ce356b27b1 Fix modrdn / delOldRDN leaving empty mods 2009-03-05 19:43:55 +00:00
Pierangelo Masarati
eb6d01e393 more about previous commit 2009-03-05 18:25:43 +00:00
Pierangelo Masarati
30066c813b fix previous commit 2009-03-05 18:06:27 +00:00
Howard Chu
7c183775d0 Check rc in prev commit 2009-03-05 17:53:01 +00:00
Howard Chu
75943bcd3f ITS#5985 Only play one queued response at a time per psearch thread 2009-03-05 11:21:07 +00:00
Pierangelo Masarati
f3014a235d better diagnostics 2009-03-05 10:59:34 +00:00
Howard Chu
86e048aa33 Delete bogus code from 1.435 2009-03-05 09:17:36 +00:00
Pierangelo Masarati
715b03d5ab make sure sequence progresses correctly (ITS#5986) 2009-03-03 00:07:17 +00:00
Howard Chu
6d1aa51604 ITS#5860 - more for entry cache counts 2009-03-02 18:35:28 +00:00
Howard Chu
7198869342 More for prev - keep eifree at a reasonable number 2009-03-02 08:33:33 +00:00
Howard Chu
8ba8500ff1 ITS#5860 - free 10*minfree DN cache entries instead of just 1 per pass 2009-03-02 08:27:20 +00:00
Howard Chu
288e99cb08 ITS#5860 - NO_CACHE entries were not being counted when they were
converted to regular cached entries (so the entry cache grew beyond
the configured size)
2009-03-02 08:26:30 +00:00
Howard Chu
225aa9f526 More for prev 2009-03-02 07:57:18 +00:00
Howard Chu
03aa595908 ITS#5457 cleanup. If we ever go back to refcounting the entry cache,
this will matter.
2009-03-02 07:54:01 +00:00
Howard Chu
8597332057 ITS#5979 don't create reqOld attr if there was no previous value 2009-02-28 04:43:40 +00:00
Howard Chu
1f5937f993 More for prev 2009-02-27 06:57:09 +00:00
Howard Chu
bfdb727446 Fix potential double-free of filter on abandon 2009-02-27 06:39:43 +00:00
Howard Chu
e6eff03373 ITS#5977 fix typo 2009-02-27 01:58:09 +00:00
Pierangelo Masarati
7fe91339df fix ITS#5959 fix 2009-02-27 01:45:20 +00:00
Howard Chu
7549abb063 Better fix for prev 2009-02-27 01:31:31 +00:00
Howard Chu
6345812f49 More for prev commit 2009-02-27 01:28:22 +00:00
Howard Chu
755e645da3 ITS#5977 strip duplicates out of sorted attrs 2009-02-27 01:22:23 +00:00
Howard Chu
62eeafa1d9 ITS#5977 strip duplicates out of sorted attrs 2009-02-27 01:11:33 +00:00
Howard Chu
8e5ebf4dfb Fix prev commit 2009-02-26 23:16:41 +00:00
Howard Chu
72fb4246d6 Avoid reference past end of array 2009-02-26 04:13:20 +00:00
Pierangelo Masarati
0d6e859846 fix ldap namespace (part of ITS#5974) 2009-02-24 21:09:41 +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
Rein Tollevik
5909aa56ff ITS#5969 update consumers csn when providers change. 2009-02-23 00:37:12 +00:00
Pierangelo Masarati
34b34f6b63 do not allow naming attribute repetitions in RDNs (ITS#5968) 2009-02-23 00:04:48 +00:00
Pierangelo Masarati
e1fbf8b125 fix objectClass inheritance deletion (ITS#5517, ITS#5963) 2009-02-22 23:32:00 +00:00
Pierangelo Masarati
f2a4158e0d don't allow to add distinguished values when other values of naming attributes are already present (ITS#5965) 2009-02-21 11:31:53 +00:00
Howard Chu
2024d5af85 ITS#5959 drop illegal values, only drop attr if it's left empty 2009-02-20 02:02:17 +00:00
Howard Chu
384f23f59d ITS#5959, cleanup 2009-02-20 02:01:07 +00:00
Howard Chu
1e4060891f ITS#5959 just drop illegal values, keep remainder if any. fix a_numvals. 2009-02-20 01:48:19 +00:00
Howard Chu
219c97e4a8 ITS#5724 use bd_self->be_ctrls 2009-02-20 00:57:44 +00:00
Howard Chu
ca07957697 Revert 1.91, breaks #5346. (ITS#5724) 2009-02-20 00:56:50 +00:00
Howard Chu
4d1f13b332 ITS#5960 fix rwm_bva_rewrite handling 2009-02-20 00:47:04 +00:00
Howard Chu
0693557161 ITS#5961 fix prev commit 2009-02-19 22:12:23 +00:00
Howard Chu
4e09f864a9 ITS#5959 drop attrs with illegal values 2009-02-19 02:05:28 +00:00
Howard Chu
52e0581b7f More for prev commit 2009-02-19 01:22:04 +00:00
Howard Chu
55d77a7a95 Fix spurious sizelimit exceeded err 2009-02-19 01:15:15 +00:00
Howard Chu
a692e8ad74 Fix prev commit 2009-02-19 00:41:39 +00:00
Howard Chu
58f33cbd1e ITS#5927, don't cache queries with malformed entries in results 2009-02-18 23:11:28 +00:00
Howard Chu
168fa346cc Cleanup prev commit 2009-02-18 00:17:59 +00:00
Howard Chu
6f4b2cc66e ITS#5956 only retry attaching to SHM once 2009-02-18 00:14:16 +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
e841247c90 Fix corrupted CSN issue 2009-02-16 00:12:38 +00:00
Howard Chu
99e47ef47a (Temporarily) define CHECK_CSN for all LDAP_DEVEL builds 2009-02-15 23:21:28 +00:00
Howard Chu
55cc203b52 More CHECK_CSN tests 2009-02-15 23:17:45 +00:00
Howard Chu
450f352ec1 Fix compare op 2009-02-15 23:14:25 +00:00
Pierangelo Masarati
d36099aa62 cleanup (related to ITS#5760) 2009-02-15 22:16:21 +00:00
Pierangelo Masarati
8fa2f07531 do not let entryDN,subschemaSubentry slip into results when mapped out (ITS#5760) 2009-02-14 14:13:46 +00:00
Pierangelo Masarati
203eaa6204 consistently map operational attrs as well (ITS#5760) 2009-02-14 13:58:09 +00:00
Pierangelo Masarati
37e8e5a237 consistently map operational attrs as well (ITS#5760); silence warning 2009-02-14 11:11:24 +00:00
Pierangelo Masarati
8f96e64605 let special attrnames slip through (ITS#5760) 2009-02-14 10:39:45 +00:00
Pierangelo Masarati
f83b4345dd more about ITS#5940 2009-02-13 01:12:56 +00:00
Pierangelo Masarati
a83d10e4ac more about ITS#5940 2009-02-13 00:02:11 +00:00
Pierangelo Masarati
d1b415e6be rewrite info should always be set (ITS#5940) 2009-02-12 23:00:47 +00:00
Pierangelo Masarati
e06771c10a fix recursion detection (ITS#5943) 2009-02-12 22:29:13 +00:00
Howard Chu
2a3076e597 Fix typo in prev commit 2009-02-12 17:07:21 +00:00
Howard Chu
b37c553c71 Ignore hangups on removed sockets 2009-02-12 17:05:00 +00:00
Howard Chu
686ceac31f Add some asserts on CSN validity 2009-02-11 22:00:00 +00:00
Howard Chu
3bcb88e363 Silence warning in prev commit 2009-02-11 01:48:09 +00:00
Howard Chu
868ea3568c ITS#5939 plug descriptor leak 2009-02-10 20:07:24 +00:00
Howard Chu
cca8c1953e ITS#5935 fix prev commit 2009-02-10 15:13:31 +00:00
Pierangelo Masarati
a5924e3092 more on ITS#5931: handle intermediate responses and support syncrepl also in back-ldap 2009-02-10 14:27:28 +00:00
Pierangelo Masarati
5d78ca3c6a fix previous commit (and ITS#5931: now back-meta allows to proxy syncrepl) 2009-02-10 14:08:16 +00:00
Pierangelo Masarati
899398b937 partially addresses an issue with ITS#5931: intermediate responses seem to be handled, as well as entries with controls; syncrepl does not work yet 2009-02-10 13:58:09 +00:00
Howard Chu
6a838df274 ITS#5392 use lutil_debug for Statslog if HAVE_DEBUG && !HAVE_SYSLOG 2009-02-10 11:16:31 +00:00
Howard Chu
a86653c3d9 ITS#5613 compare listener URLs verbatim with serverID URLs 2009-02-10 11:09:50 +00:00