Commit Graph

1374 Commits

Author SHA1 Message Date
Howard Chu
993fbf4514 Short-circuit backend_operational; sent entry's e_private doesn't belong
to the backend any more
2009-11-22 04:43:34 +00:00
Howard Chu
c365ac359e ITS#6368 use dup'd entries in response queue 2009-11-22 04:42:00 +00:00
Howard Chu
650ebba22b Fix prev commit 2009-11-21 11:54:59 +00:00
Howard Chu
4bdc6fcbc9 in op_response, rearrange contextCSN update checks 2009-11-21 11:43:01 +00:00
Howard Chu
af0d762c1c Mostly revert prev commit, broke test054 2009-11-21 03:38:13 +00:00
Howard Chu
ae5af832db Always log outgoing cookie, just use op->o_csn instead of commit_csn since
all responses are now serialized.
2009-11-21 02:37:53 +00:00
Howard Chu
198cbd6ea8 ITS#6368 partially revert 1.273, always check for skips, not just on
first matchops call
2009-11-19 11:17:53 +00:00
Howard Chu
ddfe3cde10 ITS#6387 plug leaks 2009-11-18 23:58:39 +00:00
Pierangelo Masarati
1ec443df53 trim unnecessary test 2009-11-16 10:02:47 +00:00
Howard Chu
ff98f4abc5 Use fake_init2 in db_open/db_close since they can execute from a
back-config operation (and could wipe out the state otherwise)
2009-11-15 10:38:13 +00:00
Howard Chu
67edd75e48 Cleanup for #6373 2009-11-14 21:53:06 +00:00
Howard Chu
dd2f158b52 Fix prev commit 2009-11-14 09:35:23 +00:00
Howard Chu
fe911c5960 ITS#6376 plug potential leak 2009-11-14 09:34:29 +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
46a97b9204 ITS#6373 sync_use_subentry support 2009-11-11 03:19:01 +00:00
Pierangelo Masarati
17a185b32a unparse checkpoint time in minutes (ITS#6370) 2009-11-10 19:02:33 +00:00
Howard Chu
a3f38ed932 ITS#6346 serialize all responses 2009-10-29 23:46:10 +00:00
Howard Chu
3d189671bd ITS#6310 dup entry before adding to cache 2009-10-24 05:59:39 +00:00
Rein Tollevik
739f8d0753 ITS#6335 Don't reuse a modtarget someone is about to remove 2009-10-16 17:27:18 +00:00
Howard Chu
eefe62b597 Implement policy checks on compare op 2009-10-15 07:11:39 +00:00
Pierangelo Masarati
716eaf0e8b update entryCSN (and operational attrs in general) when changing memberOf (ITS#6329) 2009-10-14 20:35:42 +00:00
Pierangelo Masarati
8bdf89ac6a make sure members are not used uninitialized 2009-10-07 22:44:14 +00:00
Howard Chu
e0cad0e988 ITS#6308 lock leak: must release entry using same op that acquired it 2009-09-29 06:21:32 +00:00
Howard Chu
2e601e8291 ITS#6288 don't deref sort control if it wasn't set 2009-09-29 03:10:03 +00:00
Howard Chu
2d2fca51d2 ITS#6242 need managedsait to replace glue entries with their real values 2009-09-27 22:42:04 +00:00
Pierangelo Masarati
07b7491249 fix LDIF comment when modifying (ITS#6286) 2009-09-08 04:40:24 +00:00
Pierangelo Masarati
e45c20cf92 fix uninitialized var (ITS#6266; actually, the problem was a bit more severe...) 2009-08-24 01:22:55 +00:00
Pierangelo Masarati
9f2360e2a9 fix uninitialized and off-by-one (thanks to valgrind) 2009-08-21 16:01:33 +00:00
Howard Chu
27c39c56c4 ITS#6152 add tests for cache refresh and Bind caching 2009-08-21 13:25:38 +00:00
Howard Chu
6d50de8526 ITS#6152 pwdModify support 2009-08-20 09:47:34 +00:00
Howard Chu
17d31e523f Fix prev commit 2009-08-20 09:46:40 +00:00
Howard Chu
2d28fe4d4c ITS#6265 must set orm_no_opattrs 2009-08-20 00:32:28 +00:00
Howard Chu
acd888b9de child DB should have ordering prefix 2009-08-19 23:46:37 +00:00
Pierangelo Masarati
9f13a2ae02 more cleanup of attr renaming 2009-08-19 23:13:13 +00:00
Pierangelo Masarati
afec8d12ad more cache monitoring (ITS#5178) 2009-08-19 23:09:52 +00:00
Pierangelo Masarati
a688867cae more about previous commit 2009-08-19 22:41:06 +00:00
Hallvard Furuseth
4b6f2de8ab Silence warning (bv_len >= 0 is always true) 2009-08-19 18:59:33 +00:00
Howard Chu
924fdaaf84 Bind caching works 2009-08-19 08:14:07 +00:00
Howard Chu
3de89b4201 Bind caching, work in progress 2009-08-19 03:00:33 +00:00
Pierangelo Masarati
f3cdcadf89 wrap gmtime for reentrancy (ITS#6262) 2009-08-18 23:48:15 +00:00
Pierangelo Masarati
87321c3fae update cachedQueryURL only when requested 2009-08-18 08:38:42 +00:00
Pierangelo Masarati
ef7569fdc0 expose cachedQueryURL in overlay's monitor entry (partial fulfilment of ITS#5178; needs new register_overlay() code in back-monitor) 2009-08-17 23:23:21 +00:00
Howard Chu
c670264951 For refresh_purge, only delete entry if ours is the last queryid on it.
Otherwise just remove our queryid.
2009-08-17 22:24:26 +00:00
Howard Chu
8cd909db3f Plug leaks in prev commit 2009-08-17 14:38:28 +00:00
Howard Chu
cd0681c4e1 ITS#6152 restart consistency checker when going back online
reset refcnt when refreshing a query
2009-08-17 13:24:33 +00:00
Howard Chu
deb1fb6eb6 Fix refresh_merge, using mods from wrong entry 2009-08-17 13:11:05 +00:00
Howard Chu
73c46fa598 Cleanup prev commit 2009-08-17 12:51:44 +00:00
Howard Chu
a5cfab44d7 ITS#6152 preliminary refresh support, untested 2009-08-17 12:02:48 +00:00
Howard Chu
31084affa6 ITS#6251 framework for TTR. refresh not yet implemented. 2009-08-17 03:03:50 +00:00
Howard Chu
7ad21d7dfd Fix typo in prev commit 2009-08-17 02:22:28 +00:00
Howard Chu
88c6cfa814 Deprecate previous config keywords. Add ttr parsing (no functionality yet) 2009-08-16 23:26:34 +00:00
Pierangelo Masarati
bb3e14ddba honor requested attrs (ITS#6254), including operational 2009-08-14 01:18:23 +00:00
Pierangelo Masarati
f283f7ad47 improve previous commit; make sure returned entries match filter (ITS#6255); defer sizelimit exceeded detection 2009-08-14 00:49:48 +00:00
Pierangelo Masarati
b6cf5ca896 make sure filter is applied to final entry (ITS#6255) 2009-08-14 00:14:35 +00:00
Pierangelo Masarati
bea861dda5 honor sizelimit when filter needs to be split between local and remote (ITS#6253) 2009-08-14 00:03:10 +00:00
Pierangelo Masarati
60627ddf93 eliminate code duplication 2009-08-13 21:24:32 +00:00
Pierangelo Masarati
9ebc168a8a log in case of failure (FIXME: should those logs be at ANY level?) 2009-08-04 23:45:42 +00:00
Pierangelo Masarati
1f33edc08e use back-config if supported 2009-08-04 23:27:52 +00:00
Pierangelo Masarati
f2e1b78391 silence warnings; misc cleanup; test refresh as non-allowed user 2009-08-03 22:49:30 +00:00
Pierangelo Masarati
a1ed732822 count query answerability; allow configuration of private database 2009-08-02 22:00:01 +00:00
Howard Chu
dd88fdbcc3 ITS#6152 add olcProxyCacheOffline for manually toggling cache expiration,
assume some external process will tell us when network is on/offline
2009-08-02 01:20:03 +00:00
Hallvard Furuseth
ef0163c198 Fix last commit: C90 rejects declaration after code 2009-07-30 15:34:42 +00:00
Howard Chu
82e95f8091 Change AttributeName.an_oc_exclude to an_oc_flags, avoid multiple
futile searches for OC matches.
2009-07-26 00:14:15 +00:00
Howard Chu
addb1320a4 More cleanup 2009-07-25 00:09:56 +00:00
Howard Chu
48ffbcce3c Minor cleanup 2009-07-25 00:06:46 +00:00
Pierangelo Masarati
e9f1452624 test whether the current entry matches the current uri filter (ITS#6077); also, don't leak DN when adding a base fails 2009-07-24 22:00:53 +00:00
Howard Chu
5f211a7dcc Fix handling for empty results 2009-07-13 15:22:46 +00:00
Howard Chu
eab5b9570a Fix result when no VLV match 2009-07-13 15:15:27 +00:00
Howard Chu
783dc77df7 Minor cleanup 2009-07-13 15:00:19 +00:00
Howard Chu
aa316f10fe Add sssvlv config 2009-07-13 14:20:31 +00:00
Howard Chu
2ca1c1d916 Add sssvlv to build system 2009-07-13 13:35:30 +00:00
Howard Chu
c401792c20 Fix prev commit 2009-07-13 13:14:07 +00:00
Howard Chu
2e4da3f9ee More VLV stuff 2009-07-13 12:40:35 +00:00
Howard Chu
d0bbd6d510 vlv implemented, untested 2009-07-13 10:59:09 +00:00
Howard Chu
5fbd344280 Server Side Sorting (also with PagedResults). VLV still in progress. 2009-07-13 08:39:22 +00:00
Howard Chu
c29b1a53b2 More for 1.124 - forwarded updates need Relax control since state attrs
are no-user-mod.
2009-07-01 07:39:22 +00:00
Howard Chu
8a0b05bfeb ITS#6084 handle pwdAccountLockedTime values set into the future (i.e.,
lame way of setting an expiration date.)
2009-06-30 12:12:53 +00:00
Howard Chu
98ebf1950e Fix prev commit 2009-06-30 11:54:45 +00:00
Howard Chu
b50f9c7aa9 ITS#6082 return checker module's error message to client 2009-06-30 11:51:13 +00:00
Howard Chu
68246fb76d Fix check_password with {cleartext} passwords 2009-06-30 11:24:11 +00:00
Howard Chu
1f07d843f1 ITS#6168 actually use pwdLockout setting 2009-06-30 11:04:16 +00:00
Howard Chu
972176a1e0 Add ppolicy_forward_updates: if configured, ppolicy state changes due to
Binds are performed using the frontend, to allow them to trigger the
updateref on a consumer, which can then be forwarded by the chain overlay.
Setting is ignored if server is not a consumer.
2009-06-30 10:41:51 +00:00
Howard Chu
861441fcf7 ITS#6076 fix collectinfo ordering 2009-06-17 01:17:42 +00:00
Howard Chu
2ae35da6bb ITS#6075, cleanup, add missing equality match 2009-06-17 00:42:59 +00:00
Howard Chu
fc0418db8f Better fix for prev commit 2009-06-16 05:26:29 +00:00
Howard Chu
d852de5ce4 Partially revert 1.32; pcache must allow other callbacks to see its results 2009-06-16 04:33:59 +00:00
Hallvard Furuseth
df85e3173d ITS#6169: do not access freed memory in dds_expire() 2009-06-11 03:10:11 +00:00
Howard Chu
0d497278e9 ITS#6156 get full entry from remote side, only use attr list on final send 2009-06-08 20:39:22 +00:00
Howard Chu
f2a9d8b9ab Plug leak in prev commit 2009-06-05 01:25:35 +00:00
Howard Chu
57d714176a ITS#6056 refint_repair can be called multiple times for the same
queued item, must not free queue itself
2009-06-04 18:05:19 +00:00
Pierangelo Masarati
fd609f3299 force entry release as appropriate (ITS#6081) 2009-04-29 13:03:50 +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
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
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
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
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
c5cf4fca22 ITS#6002 fix attrset unparse 2009-03-05 23:44:18 +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
Howard Chu
8597332057 ITS#5979 don't create reqOld attr if there was no previous value 2009-02-28 04:43:40 +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
Howard Chu
4d1f13b332 ITS#5960 fix rwm_bva_rewrite handling 2009-02-20 00:47:04 +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
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
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
Howard Chu
686ceac31f Add some asserts on CSN validity 2009-02-11 22:00:00 +00:00
Pierangelo Masarati
0374a8341a initialize ndn (ITS#5923) 2009-02-05 18:46:03 +00:00
Pierangelo Masarati
92576d2bc0 olcDatabase needs X-SORTED 'SIBLINGS' index 2009-02-04 20:06:28 +00:00
Howard Chu
a5ed986694 Remove redundant isGrouporMember calls 2009-02-03 02:14:53 +00:00
Howard Chu
cd0f8dec94 Fix prev commit for modify/delete 2009-02-03 01:58:57 +00:00
Pierangelo Masarati
97bd3479c4 muck with flags only when needed (ITS#5898) 2009-01-30 01:29:32 +00:00
Howard Chu
ca2aa02f09 More for prev commit: Delete obsolete functions 2009-01-28 03:33:52 +00:00
Howard Chu
461ffd51f6 Reverse lock order when detaching op 2009-01-28 02:03:07 +00:00
Howard Chu
9b56116d0d ITS#5903 restructure callbacks 2009-01-28 00:29:34 +00:00
Rein Tollevik
e8ef7e631d ITS#5907 use overlay BackendInfo to read old entry. 2009-01-27 19:18:13 +00:00
Howard Chu
aa569ea04e ITS#5756 sort filters more completely 2009-01-26 11:07:45 +00:00
Pierangelo Masarati
bf261acda7 fix back-config handling of slapo-rwm 2009-01-24 15:41:48 +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
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
0631c47576 do not allow slapo-ppolicy to be global by now (ITS#5858) 2008-12-20 22:02:06 +00:00
Pierangelo Masarati
7681642bcf fix LDAP deref control response; fix tool response handling; add lutil_memcopy() for API uniformity (more about ITS#5768) 2008-12-11 23:17:08 +00:00
Pierangelo Masarati
1d9ff10ed7 add newRDN rewriting; fix rewriteContext names (ITS#5834) 2008-11-28 20:34:02 +00:00
Howard Chu
c71e7b399a ITS#5827, release syncop after mod op completes 2008-11-23 20:43:39 +00:00
Pierangelo Masarati
5cf95c5b30 fix length 2008-11-18 00:12:22 +00:00
Quanah Gibson-Mount
911376e543 Fix prev commit 2008-11-17 23:45:20 +00:00
Howard Chu
cb8f0d5ad5 ITS#5572 retrieve main DB's ACL before relevant operations 2008-11-11 22:10:28 +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
f463be3b95 Add DBFLAG_CLEAN for a DB that was cleanly shut down; don't bother
scanning to verify contextCSN for clean shutdowns (ITS#5640)
2008-11-02 23:06:10 +00:00
Howard Chu
d75a567708 Really fix ITS#5709 - more explicit check for un-replicatable ops, and
don't send ctxcsn update if current maxcsn doesn't match current csn
2008-11-02 15:26:25 +00:00
Howard Chu
a8658c742e be->be_pcl_mutexp superseded by be->bd_self 2008-11-02 07:58:50 +00:00
Rein Tollevik
7ec3743aa5 ITS#5776 prevent duplicate removal of qtask from runqueue. 2008-10-28 20:33:46 +00:00
Pierangelo Masarati
6ffe73f5df address ITS#5773 for slapo-rwm(); needs work 2008-10-26 20:47:11 +00:00
Pierangelo Masarati
9401bd3817 normalize rewritten DN-valued attrs (ITS#5772) 2008-10-26 19:29:36 +00:00
Pierangelo Masarati
f29d1b1455 fix dangling pointer issue; cleanup as early as possible 2008-10-26 19:24:10 +00:00
Pierangelo Masarati
2c60719a13 don't rely on attribute values in the returned entry: the control may act on attribute values not requested 2008-10-25 11:06:29 +00:00
Hallvard Furuseth
3b42e19253 ITS#4467: Fix a few wrong uses of snprintf. Also drop an unneeded array init. 2008-10-24 18:57:38 +00:00
Hallvard Furuseth
dffe8d37fa ITS#5770: Fix unaligned BerElements: Use BerElementBuffer, not char[size]. 2008-10-24 17:52:05 +00:00
Pierangelo Masarati
65a390546f forgot access control... 2008-10-24 10:34:04 +00:00
Pierangelo Masarati
e9fb10d2b7 fix examples 2008-10-23 00:14:34 +00:00
Pierangelo Masarati
6bedf74c41 tag optional stuff 2008-10-22 23:38:09 +00:00
Pierangelo Masarati
543a75355c slight fixes and improvements to previous commit 2008-10-22 23:01:20 +00:00
Pierangelo Masarati
91e14ca638 add support for (experimental) dereference control (ITS#5768); need to re-run autoconf (and autoheader?) 2008-10-22 22:19:49 +00:00
Pierangelo Masarati
382bb4de11 save one copy (please review) 2008-10-22 21:58:59 +00:00
Pierangelo Masarati
09cb340f67 add optional URI to allow restricting the scope of application of a specific dynamic list expansion rule (ITS#5761) 2008-10-21 11:30:04 +00:00
Pierangelo Masarati
363f75ca5f preserve objectClasses not to be removed (ITS#5760) 2008-10-21 07:56:17 +00:00
Pierangelo Masarati
c1c16618a4 return LDAP_OTHER if the filter cannot be parsed (ITS#5751) 2008-10-19 21:23:06 +00:00
Hallvard Furuseth
4e616dced8 Fix Debug format (%d, size_t) => (%lu, (unsigned long)value).
Warning cleanup: signed meets unsigned.
2008-10-18 11:42:13 +00:00
Hallvard Furuseth
d55d5fadf9 ITS#5747: Simplify previous fix. Just use the struct hack. 2008-10-17 21:58:09 +00:00
Hallvard Furuseth
036e7dac59 ITS#5747: Only use C99 flexible array member when supported 2008-10-17 18:43:10 +00:00
Hallvard Furuseth
e3bc5b64c6 Warning cleanup: Remove no-op bv_len < 0 and bv_len >= 0 tests 2008-10-17 17:40:48 +00:00
Hallvard Furuseth
b6f83f1a25 Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
error, not LBER_DEFAULT.
2008-10-13 09:17:36 +00:00
Hallvard Furuseth
3c7d9415b4 Warning cleanup: Missing braces in initialization. 2008-10-13 06:20:12 +00:00
Pierangelo Masarati
1421d522ad fix overlays with private instances of databases (ITS#5736) 2008-10-12 20:20:46 +00:00
Pierangelo Masarati
6845c2510d don't free and reuse filter structure; don't rewrite undefined filter values (ITS#5731,ITS#5732) 2008-10-09 22:34:43 +00:00
Howard Chu
5313745e77 More #5728 fallout 2008-10-07 01:59:52 +00:00
Howard Chu
3a41f2c5a2 Fix: use overlay_entry_release_ov in overlay environment 2008-10-07 01:45:42 +00:00
Pierangelo Masarati
9be58de517 fix ITS#5717 2008-09-29 18:45:39 +00:00
Pierangelo Masarati
43d0d989ef allow intermixing of mapped/not mapped attrs (spotted while invstigating ITS#5717) 2008-09-29 17:38:12 +00:00
Pierangelo Masarati
7cc2acd111 fix previous commit (ITS#5711) 2008-09-27 10:34:52 +00:00
Pierangelo Masarati
a0e3e68a02 allow controls deletion to be deferred; pass response controls back to frontend in extops (ITS#5711) 2008-09-27 10:06:43 +00:00
Pierangelo Masarati
8a900b8784 add support for local RFC 3062 password modification extended operation (ITS#5656) 2008-09-20 15:01:12 +00:00
Pierangelo Masarati
68561435cc add support for back-config delete; fix minor issues 2008-09-19 00:50:17 +00:00
Pierangelo Masarati
3d876e0fcc add back-config support to slapo-retcode(5) 2008-09-19 00:09:56 +00:00
Pierangelo Masarati
d2c6714ebf honor relax by not applying constraints (ITS#5705) 2008-09-18 21:12:13 +00:00
Pierangelo Masarati
d02c861ada add support for constraining rename (ITS#5703) 2008-09-18 20:30:59 +00:00
Pierangelo Masarati
a3176f5453 optional parameter that allows to restrict constraints to entries matching a LDAP URI (ITS#5704) 2008-09-17 20:59:58 +00:00
Pierangelo Masarati
151d5aec66 add "set" constraint type (ITS#5702) 2008-09-17 00:40:18 +00:00
Pierangelo Masarati
dc414747a7 silence warnings 2008-09-16 14:44:24 +00:00
Howard Chu
e2722b0c94 ITS#5659 "collect" overlay enhancements 2008-09-11 00:29:56 +00:00
Howard Chu
92d39f7376 Fix prev commit 2008-09-10 03:35:26 +00:00
Howard Chu
2547212e43 ITS#5694 update context's entryCSN during log purges 2008-09-10 02:29:26 +00:00
Pierangelo Masarati
661398337a allow trying local bind when remote fails (ITS#5656) 2008-09-09 10:50:51 +00:00
Hallvard Furuseth
ff90e2f8d0 unique_search(): Print key->bv_val rather than key. Broke in r1.32 (ITS#5526). 2008-09-08 16:33:40 +00:00
Pierangelo Masarati
45e980391c fix olcTranslucentLocal/Remote handling (ITS#5689) 2008-09-08 12:56:27 +00:00
Pierangelo Masarati
f7679377f9 always re-test filter after merging local and remote entries (ITS#5679) 2008-09-08 12:16:05 +00:00
Pierangelo Masarati
b904d08f56 cleanup in case of failure during search rewriting (partial fulfilment of ITS#5687) 2008-09-06 16:25:03 +00:00
Howard Chu
fe6f3683fa ITS#5687 more cleanup fixes 2008-09-06 02:11:26 +00:00
Pierangelo Masarati
8141cd4db7 make additional checking optional (more on ITS#5860) 2008-09-04 07:43:19 +00:00
Pierangelo Masarati
f01e184377 don't cache queries that would not be answered correctly because of schema issues (ITS#5680) 2008-09-04 00:05:26 +00:00
Pierangelo Masarati
c32cbed9ae fix attribute list swapping when NULL (ITS#5665) 2008-08-23 11:08:41 +00:00
Pierangelo Masarati
bb4268a646 make sure objectClass is not filtered out by 'rwm-map attribute *' (ITS#5647) 2008-08-09 10:49:20 +00:00
Pierangelo Masarati
69d8588ab4 suffix must be defined before overlay configuration (ITS#5641) 2008-08-09 10:29:31 +00:00
Pierangelo Masarati
191d8204a3 really check if filter is valid...(more on ITS#5581) 2008-08-09 10:20:46 +00:00
Pierangelo Masarati
80df2a2906 fix normalizable/non-normalizable attr mapping \& merging (ITS#5624) 2008-08-04 21:20:06 +00:00
Pierangelo Masarati
d50ba575fe s/o_dn/o_ndn/ (ITS#5622) 2008-07-19 11:27:10 +00:00
Pierangelo Masarati
ab3388aa93 improve diagnostics 2008-07-12 17:58:11 +00:00
Pierangelo Masarati
18a333bfcf trim extra brackets (ITS#5609); NULL-terminate string 2008-07-12 16:03:31 +00:00
Pierangelo Masarati
e6446d3113 make sure rwm_op_cleanup() is called also in case of bind (in partial fulfillment of ITS#5601) 2008-07-12 11:53:49 +00:00
Howard Chu
f911e0f5d1 ITS#5569 ignore internal ops when validating pwd modify 2008-07-08 19:02:38 +00:00
Howard Chu
4af6e9c4c6 Fix 1.40, release entry with same backend that obtained it 2008-07-08 06:00:32 +00:00
Rein Tollevik
99d004189a ITS#5596 contextCSN updates are internal operations. 2008-07-04 23:44:39 +00:00
Pierangelo Masarati
103c7b48e2 allow olcSpReloadHint in olcSyncProvConfig (ITS#5591) 2008-07-02 22:37:34 +00:00
Howard Chu
731aad4c4d ITS#5589 delcsn / NULL cookie 2008-07-02 16:27:17 +00:00
Howard Chu
34d074930c ITS#5584 - treat empty Replace like Delete 2008-07-01 11:48:10 +00:00
Pierangelo Masarati
48855fcdef make sure the strfilter is in normal form (ITS#5581) 2008-06-29 22:19:14 +00:00
Pierangelo Masarati
b4894ccd81 don't lookup dg* attrs more than needed (ITS#5583) 2008-06-29 21:50:05 +00:00
Rein Tollevik
e5dfb18abc ITS#5564 ignore clients contextCSN when doing full reload. 2008-06-18 19:38:39 +00:00
Pierangelo Masarati
a64b74b014 handle negative caching (ITS#5546) 2008-06-14 15:05:00 +00:00
Pierangelo Masarati
fa612acf41 if there is only one member_ad, and it's not mapped, consider it as old-style member listing 2008-06-14 12:39:47 +00:00
Rein Tollevik
06379f9cf9 ITS#5548 use syncrepl Connection when evaluating filter and acl. 2008-06-13 15:55:01 +00:00
Ralf Haferkamp
2688180f95 Allow unquoted DNs with whitespaces (ITS#5552) 2008-06-12 21:12:35 +00:00
Ralf Haferkamp
9d72509d05 pass ConfigReply into overlay_config() to allow progating error messages
back through back-config
2008-05-30 14:49:24 +00:00
Howard Chu
83c16b8fc7 ITS#5337 fix maxcsn search at startup 2008-05-29 23:48:35 +00:00
Howard Chu
a709d8b69a Fix rev 1.220 - remove extra free_syncop() 2008-05-29 16:58:32 +00:00
Howard Chu
684a213f0b ITS#5488 from Rein Tollevik: propagate syncrepl contextCSN to providers 2008-05-28 02:46:35 +00:00
Howard Chu
b92472c3e4 ITS#5487 from Rein Tollevik: syncprov_findbase searched wrong backend 2008-05-28 02:45:18 +00:00
Howard Chu
3c24f1f884 More for #5511 2008-05-27 22:39:12 +00:00
Pierangelo Masarati
62904cf50d allow to customize the modifiersName of internal modifications (partially addresses ITS#5505) 2008-05-24 11:57:18 +00:00
Howard Chu
61198ee41c Fix prev commit 2008-05-23 16:48:46 +00:00
Howard Chu
cd7227b4c6 ITS#5511 make room for filter's terminating NUL character 2008-05-23 15:40:15 +00:00
Howard Chu
a572267f60 ITS#5526 cleanup config structs 2008-05-23 11:47:37 +00:00
Howard Chu
96d5ed5bc5 ITS#5465 ignore ops without queued CSNs 2008-05-13 21:57:19 +00:00
Howard Chu
c7a49fcfc5 ITS#5506 reset op2.o_extra 2008-05-12 18:33:05 +00:00
Emmanuel Dreyfus
a837855068 Fix an error in debug message, and correctly keep track of attribute count
after a mod_replace
2008-05-09 21:49:47 +00:00
Emmanuel Dreyfus
8768d99013 Add attribute size and count constraints to slapo-constaint
Approved by Ando

Usage example:
  overlay constraint
  constraint_attribute jpegPhoto size 131072
  constraint_attribute userPassword count 3
2008-05-09 12:59:16 +00:00
Howard Chu
9ce205818e ITS#5493 always send cookie with delta-sync entries 2008-05-09 01:51:26 +00:00