Commit Graph

17012 Commits

Author SHA1 Message Date
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
Hallvard Furuseth
7859063553 ITS#5364 cleanup
Fix rev 1.91 patch: Reset ltp_pending_count when flushing ltp_pending_list.
Remove flush_pending_list() again and the now-unnecessary 2nd call to it.
Help the compiler a little.
Move ltp_work_list in case it makes a difference for caching.
Move mutex unlock in pool_destroy() to make concurrency debuggers happier.
2008-02-11 15:49:52 +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
650aaee3a5 ITS#5364, reduce work with ltp_mutex locked:
Negate ltp_open_count when paused, avoids an ltp_pause test in pool_submit().
2008-02-10 18:16:44 +00:00
Hallvard Furuseth
8afd0b05c1 ITS#5364: introduce ltp_work_list, drop 1st ltp_pause loop in pool_wrapper(). 2008-02-10 17:55:13 +00:00
Hallvard Furuseth
fe86a1cbe5 ITS#5364: maintain value ltp_vary_open_count 2008-02-10 17:38:32 +00:00
Hallvard Furuseth
ee73fca523 ITS#5364, reduce work with ltp_mutex locked:
Replace ltp_state with ltp_finishing.  Drop state
LDAP_INT_THREAD_POOL_STOPPING, flush pending list instead.
ltp_max_pending = default value instead of 0, and negative when finishing.
2008-02-10 17:28:20 +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
Hallvard Furuseth
5fca6c19c8 ITS#5364, thread pool efficiency:
Add ldap_pvt_thread_pool_pausing(): pause check for slapd without locking.
2008-02-10 16:24:28 +00:00
Hallvard Furuseth
6dd87bb83f ITS#5364, thread pool efficiency:
Add ldap_pvt_thread_pool_pausing(): pause check for slapd without locking.
Make counters int instead of long; INT_MAX pending tasks is enough.
Nitpick cleanup: goto failure instead of if() to not-failure in _submit().
2008-02-10 16:15:30 +00:00
Howard Chu
68316527c4 ITS#5341 GnuTLS ciphersuite parsing 2008-02-10 11:58:16 +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
Gavin Henry
26109d2a55 new word 2008-02-09 22:21:53 +00:00
Gavin Henry
111d7f4b29 Wee update. 2008-02-09 22:20:20 +00:00
Gavin Henry
4b97ecd0fd Remove olcModuleLoad directives 2008-02-09 21:43:31 +00:00
Pierangelo Masarati
648fc5aabb don't use subentries control unless needed (ITS#5293) 2008-02-09 12:35:24 +00:00
Gavin Henry
1dad691588 (ITS#5245) auditlog man page and feature request 2008-02-08 20:29:19 +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
Gavin Henry
08c583b8f0 constraint overlay section complete. 2008-02-07 23:31:51 +00:00
Gavin Henry
e3fa92b4c9 Make it clear and the beginning of the overlay description that this constraint only applies to add and modify commands via a modify request. 2008-02-07 23:21:18 +00:00
Gavin Henry
8f1d222edb Update to tuning section using todays e-mail thread (note: performant isn't a word Quanah ;-) ). 2008-02-07 22:35:07 +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
Gavin Henry
661dc1f93e Only ServerID needs to be unique and include 2 Syncrepl configs for MirrorMode. 2008-01-25 23:25:35 +00:00
Pierangelo Masarati
b0b387e9ed ITS#5338 2008-01-25 00:00:30 +00:00
Ralf Haferkamp
9cbcbbe596 fixed missing #includes 2008-01-22 15:34:04 +00:00
Ralf Haferkamp
98f63844c8 cleanup #includes, removed SUSE-specific stuff from comments 2008-01-22 14:31:54 +00:00
Ralf Haferkamp
2c52832d1a add wrapper methods to add/replace Attributes 2008-01-22 14:14:39 +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
Gavin Henry
4647ed6f11 slapo-accesslog 2008-01-17 00:14:29 +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