Commit Graph

9976 Commits

Author SHA1 Message Date
Hallvard Furuseth
9cdcd58afc constify 1st arg to register_at()/register_at(), needed for config.h rev 1.50 2008-04-06 20:04:10 +00:00
Howard Chu
8027d8afb0 ITS#5454 proposed fix. May still need to change initial trylock to a
regular mutex_lock.
2008-04-05 00:45:59 +00:00
Howard Chu
d989f19668 ITS#5450 fully terminate value lists 2008-04-04 00:01:02 +00:00
Howard Chu
e1f518ef1c ITS#5419 only Hidden DBs get special treatment 2008-04-03 10:04:56 +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
77e7b92c87 ITS#5439 fix ID_NOCACHE handling 2008-04-03 08:02:11 +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
f3eeb81458 a connection cannot be privileged and be in the avl tree at the same time (related to ITS#5440?) 2008-03-29 18:17:21 +00:00
Pierangelo Masarati
71cabe40c3 print targets' status 2008-03-29 18:16:34 +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
Pierangelo Masarati
f696cecb77 work around paranoid check (ITS#5412) 2008-03-22 16:01:23 +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
c495cba4af Add dn2id_get / modify support 2008-03-20 23:34:04 +00:00
Howard Chu
213c9358b8 ITS#5430 syncprov/glue can be used two different ways 2008-03-20 10:58:00 +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
Howard Chu
d3e8df3940 ITS#5432 fix compare_csns loop conditions 2008-03-20 00:10:31 +00:00
Howard Chu
d711b538ad do_syncrep1 always reads contextCSN from the main DB 2008-03-20 00:05:22 +00:00
Pierangelo Masarati
3196e65ff2 Add operation should not require naming attrs (ITS#5412) 2008-03-15 20:33:31 +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
Pierangelo Masarati
14c425b922 s/leave/func_leave/ (ITS#5411) 2008-03-15 18:16:21 +00:00
Howard Chu
f77bd7ff6e ITS#5426 replace the entire contextCSN in updateCookie 2008-03-14 18:00:09 +00:00
Howard Chu
4097d261bb Use <ldap_queue.h> macros for prev commit 2008-03-14 16:49:53 +00:00
Howard Chu
bff19c4ac4 More for prev commit 2008-03-13 14:37:07 +00:00
Howard Chu
a55123477a ITS#5419 introduce OpExtra / op->o_extra to supersede op->o_private 2008-03-13 13:14:52 +00:00
Howard Chu
0cb9cb04ea ITS#5401 make sure connection is still alive before detaching op 2008-03-13 10:49:32 +00:00
Howard Chu
e3849e1a9c Fix prev commit, check for NULL syncCookie 2008-03-13 07:30:56 +00:00
Howard Chu
b101dab6c6 More fixes for syncCookie updating 2008-03-13 07:02:26 +00:00
Howard Chu
86c4dca647 Partially revert prev, redundant. 2008-03-13 05:41:12 +00:00
Howard Chu
af80427965 In mirrormode, also ask syncprov for initial cookie. It may have been
cached from a recent update.
2008-03-13 05:18:28 +00:00
Pierangelo Masarati
d22b8532ee s/leave/func_leave/ to avoid OSF1 name clashing (ITS#5411) 2008-03-12 22:45:18 +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
013f78090d ITS#5413 fix typo 2008-03-12 02:57:49 +00:00
Hallvard Furuseth
cfc5c7cc68 ITS#5339: fix referral rewrite, remove pointless default_referral code 2008-03-10 19:28:40 +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
Pierangelo Masarati
ec8466ec83 invalidate connection handler when ldap_sasl_interactive_bind_s() for internal error (ITS#5404); fix response tag 2008-03-08 15:41:17 +00:00
Howard Chu
44b1af6e65 ITS#5405 fix race condition 2008-03-08 02:00:36 +00:00
Pierangelo Masarati
9ca53f98ed fix attribute description parsing (ITS#5402) 2008-03-06 23:30:54 +00:00
Howard Chu
41379411a3 Revert prev commit, impacts too much to take advantage 2008-03-04 10:09:12 +00:00
Howard Chu
92e23b13bd Add attr_free_x() - use memctx 2008-03-04 09:43:51 +00:00
Howard Chu
7b635c7054 Deleting, not yet ready for prime time... 2008-03-03 10:18:09 +00:00
Howard Chu
da6fdf70a4 MySQL NDB Cluster backend (experimental) 2008-03-02 15:14:53 +00:00
Pierangelo Masarati
b23e4f15a9 make sure orr_newrdn is passed correctly to libldap (ITS#5397) 2008-02-28 16:22:23 +00:00
Pierangelo Masarati
31f06b91af don't try to dereference NULL pointer (ITS#5388) 2008-02-25 16:18:36 +00:00
Pierangelo Masarati
282fccbb3e detect write errors (ITS#5387) 2008-02-25 16:14:45 +00:00
Howard Chu
ccaf69a7bc Tweak order of operational attrs 2008-02-22 14:17:43 +00:00
Howard Chu
46273b9c4e const strings 2008-02-18 23:11:12 +00:00
Pierangelo Masarati
a20f8b5f97 don't denormalize invalid values (ITS#5386) 2008-02-18 19:47:07 +00:00
Pierangelo Masarati
cd753a1f58 allow tracing of set failures 2008-02-17 22:35:29 +00:00
Pierangelo Masarati
4b72f44b14 fix optional URI attrs handling in sets (ITS#5384) 2008-02-17 22:33:54 +00:00
Pierangelo Masarati
2df4675ac3 don't set sm_nvalues unless required (ITS#5375) 2008-02-14 15:15:53 +00:00
Howard Chu
c8d5bcf0c7 ITS#5379 HAVE_TLS dependency 2008-02-14 11:18:22 +00:00
Quanah Gibson-Mount
b2b8a3a0bf ITS#5376: Drop permissive modify, it isn't necessary 2008-02-13 19:02:57 +00:00
Howard Chu
ec5a7a9576 ITS#5376 must abandon current session before starting new refresh 2008-02-13 07:37:29 +00:00
Howard Chu
77618fae10 ITS#5376 modifies need to be permissive due to refresh/fallback sync 2008-02-13 07:09:18 +00:00
Howard Chu
947e3bbe1d ITS#5376 - deltasync must fallback for missing entries 2008-02-13 04:36:58 +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
20584e94f4 ITS#5370 slap_op_time mutex 2008-02-12 21:27:15 +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
f26657d81c In do_syncrepl, don't wait if a previous syncrepl thread is still running. 2008-02-12 18:49:37 +00:00
Quanah Gibson-Mount
8a7ae2def9 Add missing CVS tags 2008-02-12 02:01:30 +00:00
Quanah Gibson-Mount
a2e10091f6 Fix missing CVS tag 2008-02-12 02:00:13 +00:00
Quanah Gibson-Mount
4928934137 Add missing cvs tag 2008-02-11 22:29:11 +00:00
Hallvard Furuseth
5b526d2544 ITS#5328 - cosmetic cleanup (0 -> LDAP_SUCCESS) 2008-02-11 21:07:25 +00:00
Hallvard Furuseth
64bda128c6 ITS#5328 - return LDAP result code from null_back_entry_get(). 2008-02-11 21:05:12 +00:00
Hallvard Furuseth
61140d66a0 ITS#5328:
Do not send errors (other than referral) from ldif_back_referrals().
Return LDAP result code from ldif_back_entry_get().
2008-02-11 21:04:05 +00:00
Hallvard Furuseth
01ec3c64ea ITS#5328 - do not send errors (other than referral) from be->be_chk_referrals() 2008-02-11 20:59:40 +00:00
Hallvard Furuseth
8a703aba83 ITS#5328 - return LDAP result code from config_back_entry_get (back-config bi_entry_get_rw) 2008-02-11 20:56:46 +00:00
Hallvard Furuseth
9ebe788370 ITS#5344: modrdn check for affectsMultipleDSAs and for new DN above/below self 2008-02-11 17:29:55 +00:00
Howard Chu
d64f5be105 ITS#5368 partially revert 1.239 2008-02-11 08:53:11 +00:00
Howard Chu
525f266d10 ITS#5367 revert prev commit 2008-02-11 00:19:43 +00:00
Hallvard Furuseth
84c2a01c3b ITS#5364, thread pool efficiency:
Use ldap_pvt_thread_pool_pausing(): pause check for slapd without locking.
2008-02-10 16:25:05 +00:00
Howard Chu
ae471f78c3 ITS#5360 move tls option setup 2008-02-10 06:29:40 +00:00
Howard Chu
584c7fb8be Debug info for CSN tracking (ITS#5362) 2008-02-10 02:18:22 +00:00
Howard Chu
32a082c24b Cleanup 2008-02-10 02:10:28 +00:00
Howard Chu
99e1adc1f2 Cleanup debug msg, check for redundant updates 2008-02-10 02:08:08 +00:00
Howard Chu
5cfa1386ea ITS#5362 syncrepl_updateCookie doesn't need to graduate_commit_csn, the
backends already do it.
2008-02-10 02:06:31 +00:00
Howard Chu
90e644a1e9 Cleanup bdb_next_id unused arg 2008-02-10 00:56:44 +00:00
Howard Chu
a3262ff239 ITS#5332 someone else may free the entry as soon as we unlock it 2008-02-08 06:32:41 +00:00
Howard Chu
f481ffef9c ITS#5355 use bi_extra instead of calling directly into back-ldap 2008-02-08 02:01:17 +00:00
Ralf Haferkamp
a1612ae911 Fix crash when no-op control is used (ITS#5358) 2008-02-07 12:06:24 +00:00
Ralf Haferkamp
4db84db74b Don't emit global ACLs for other database than frontendDB (ITS#5352) 2008-02-05 12:16:21 +00:00
Pierangelo Masarati
137172f952 allow 2.1 CSN format (ITS#5348) 2008-02-02 10:23:35 +00:00
Pierangelo Masarati
44b20b98e0 s/assert/LDAP_INVALID_SYNTAX/ (ITS#5348) 2008-02-01 19:16:58 +00:00
Ralf Haferkamp
713ec710ad don't error out if replacing a non-existant attribute, create opattrs in
config_build_entry() to have them also when started with -f (ITS#5343)
2008-01-31 18:12:00 +00:00
Ralf Haferkamp
1af03ee2c7 error out if modify_delete_vindex() fails (ITS#5343) 2008-01-30 14:45:35 +00:00
Howard Chu
3b02cd32ba Cleanup for C++ 2008-01-28 15:30:40 +00:00
Howard Chu
6693f72402 Clean up config.h 2008-01-22 13:26:16 +00:00
Pierangelo Masarati
e3befa7f26 fix referrals (part of ITS#5328); fix compare (ITS#4937) 2008-01-19 10:43:08 +00:00
Hallvard Furuseth
2dd186a8fd More ITS#5328 cleanup 2008-01-18 17:05:23 +00:00
Pierangelo Masarati
79e68ebc2d cleanup previous commit 2008-01-16 22:00:57 +00:00
Pierangelo Masarati
8517e7199a rework back-relay internals along Hallvard's suggestions (ITS#5328) 2008-01-16 21:53:44 +00:00
Pierangelo Masarati
440099d271 fix test; don't return error when relaying exops 2008-01-15 21:59:23 +00:00