Commit Graph

1020 Commits

Author SHA1 Message Date
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
Howard Chu
198b14be90 ITS#5486, fix rev 1.219. Must never use s_op directly, must always use
a copy.
2008-05-06 03:03:47 +00:00
Howard Chu
b0ffd08504 ITS#5490 callback stack may be NULL 2008-04-30 23:50:08 +00:00
Howard Chu
b16478a5ca Avoid queueing response on abandoned psearches 2008-04-29 22:09:12 +00:00
Howard Chu
64315e3087 ITS#5451 glue deadlock fix 2008-04-28 12:53:04 +00:00
Pierangelo Masarati
74ad5210c0 cleanup 2008-04-26 15:47:06 +00:00
Pierangelo Masarati
c965d2c86d add mapping to dynamic attribute generation (patch by Emmanuel Dreyfus, with some rework; ITS#5466) 2008-04-26 15:42:01 +00:00
Howard Chu
90a45655c2 ITS#5484 remove syncop from runq before freeing it 2008-04-24 18:35:35 +00:00
Howard Chu
f8a012cc83 Revert prev commit 2008-04-17 00:03:06 +00:00
Howard Chu
2abce97228 ITS#5470 don't return any data at all until we have a ctxcsn 2008-04-16 10:37:44 +00:00
Howard Chu
626608f5f2 ITS#5437, #5444 if numcsns don't match, set changed flag 2008-04-03 08:43:48 +00:00
Howard Chu
f2de258e3d ITS#5442 slapd_rq mutexes must always be used 2008-04-02 03:08:06 +00:00
Pierangelo Masarati
8cb162ef44 fix bitwise test (ITS#5445) 2008-03-31 16:58:03 +00:00
Pierangelo Masarati
f32f99211e make stamp a long no matter what time_t is, to print it accordingly (ITS#5441) 2008-03-29 16:22:50 +00:00
Pierangelo Masarati
f049fbb206 avoid system call when not needed (ITS#5441) 2008-03-29 12:11:44 +00:00
Howard Chu
50a26bec0a ITS#5434 again 2008-03-25 05:08:21 +00:00
Howard Chu
fc69e61be6 ITS#5432 don't send cookie with delete set if there's no true delete CSN 2008-03-21 00:09:24 +00:00
Howard Chu
294da7ed11 ITS#5435 ConfigReply arg must be non-NULL 2008-03-20 01:24:33 +00:00
Howard Chu
261d2420f4 ITS#5434 search thru other overlays when present 2008-03-20 00:31:42 +00:00
Howard Chu
0abf40063f ITS#5433 checkpoint must write to master DB 2008-03-20 00:26:14 +00:00
Pierangelo Masarati
956b50645c allow slapo-refint(5) to implement global referential integrity (ITS#5428) 2008-03-15 18:27:24 +00:00
Pierangelo Masarati
27a61d9411 use OID for dnSubtreeMatch (ITS#5427) 2008-03-15 18:22:25 +00:00
Howard Chu
4097d261bb Use <ldap_queue.h> macros for prev commit 2008-03-14 16:49:53 +00:00
Howard Chu
0cb9cb04ea ITS#5401 make sure connection is still alive before detaching op 2008-03-13 10:49:32 +00:00
Pierangelo Masarati
5417aa895a use the replication persistent search identity to check whether a modification must be replicated (ITS#5418) 2008-03-12 22:31:28 +00:00
Howard Chu
a287573d2d ITS#5407 more checks for pool pausing 2008-03-08 23:51:07 +00:00
Howard Chu
26c08cb64a Fix prev commit (thanks Ando) 2008-03-08 22:12:57 +00:00
Howard Chu
44b1af6e65 ITS#5405 fix race condition 2008-03-08 02:00:36 +00:00
Pierangelo Masarati
2df4675ac3 don't set sm_nvalues unless required (ITS#5375) 2008-02-14 15:15:53 +00:00
Howard Chu
8bfbbf6901 ITS#5373 allow delete/replace of userpassword without supplying new one 2008-02-12 22:53:25 +00:00
Howard Chu
df1aa2fa89 Fix prev commit 2008-02-12 21:18:30 +00:00
Howard Chu
09e624ce6a ITS#5374 don't perform mod_cleanup after a successful response 2008-02-12 20:57:05 +00:00
Howard Chu
525f266d10 ITS#5367 revert prev commit 2008-02-11 00:19:43 +00:00
Howard Chu
32a082c24b Cleanup 2008-02-10 02:10:28 +00:00
Howard Chu
6693f72402 Clean up config.h 2008-01-22 13:26:16 +00:00
Pierangelo Masarati
807df724c1 fix ITS#5327 crasher 2008-01-15 20:32:35 +00:00
Hallvard Furuseth
cd63a0c43b Warning cleanup: function ptr <=> void* at ldap_pvt_thread_pool_<set/get>key() 2008-01-11 06:07:43 +00:00
Hallvard Furuseth
e1e0370e8c Remove unused variable 2008-01-08 16:49:13 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
30f401c628 rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309) 2008-01-07 21:35:03 +00:00
Hallvard Furuseth
e9c2a7dcb3 ITS#5309: Use ldap_pvt_thread_pool_setkey_x() more. Fix void** arguments. 2008-01-07 20:10:22 +00:00
Hallvard Furuseth
8a1f904ed9 Avoid use of uninitialized variable 'e' after failed overlay_entry_get_ov().
(It was harmless unless the value was a trap representation.)
2008-01-07 18:50:54 +00:00
Pierangelo Masarati
2969c69747 fix modlist cleanup during rename 2008-01-02 22:49:45 +00:00
Pierangelo Masarati
622c4d3884 new ldap_pvt_thread_pool_setkey API 2007-12-29 18:14:54 +00:00
Pierangelo Masarati
ac689156bc plug leak (ITS#5302) 2007-12-29 17:59:28 +00:00
Pierangelo Masarati
22f0fa7eb8 allow slapo-memberof to be used as global overlay, and thus provide cross-database integrity (ITS#5301) 2007-12-29 16:07:07 +00:00
Pierangelo Masarati
18b2885f69 allow to customize the error code in case of constraint violation 2007-12-28 00:38:27 +00:00
Pierangelo Masarati
ce43877f6f if referential integrity is broken, things could go wrong; don't assert 2007-12-27 20:57:42 +00:00
Pierangelo Masarati
63e0046eab fix previous commit 2007-12-27 19:57:51 +00:00
Pierangelo Masarati
8a529a1f72 check objectClass inheritance on add (consistent with modify; ITS#5299) 2007-12-27 19:50:12 +00:00
Howard Chu
d38ff5403f ITS#5261 quick fix, don't checkpoint on first write to DB 2007-12-22 05:00:38 +00:00
Howard Chu
13491b3905 ITS#5285 don't check for password reuse if history is not enabled 2007-12-15 19:35:11 +00:00
Pierangelo Masarati
20f2548c82 fix declarations of buffers for numeric strings; other related cleanup 2007-12-15 15:23:23 +00:00
Howard Chu
8a622361d1 ITS#4987 extensions from Emmanuel Dreyfus manu @ netbsd.org with major
cleanups
2007-12-15 11:12:56 +00:00
Howard Chu
3a7830ff01 More cleanup 2007-12-15 00:50:37 +00:00