Commit Graph

8172 Commits

Author SHA1 Message Date
Kurt Zeilenga
bfba08c103 Remove lint 2005-11-26 04:02:13 +00:00
Howard Chu
80143b5fc6 Fix ITS#3717 - set restriction on all backends
Fix ITS#4217 - gentleHUP is a normal shutdown condition
2005-11-25 23:16:10 +00:00
Howard Chu
d84ffb62a6 ITS#4210 don't setup indexing threads if no indexing is defined. 2005-11-25 22:50:25 +00:00
Pierangelo Masarati
b3c8a976ec use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings 2005-11-25 22:17:24 +00:00
Howard Chu
abc13afcc9 ITS#4198 initialize logdb contextCSN from main DB contextCSN 2005-11-25 21:51:49 +00:00
Howard Chu
72fee93e31 ITS#4209 release entry when it exists. 2005-11-25 21:40:33 +00:00
Howard Chu
4f15618201 op->ors_slimit is always intact now. 2005-11-25 20:52:25 +00:00
Howard Chu
255f1e494f Don't touch op->ors_slimit. 2005-11-25 20:50:34 +00:00
Howard Chu
7a2f05016c Don't decrement op->ors_slimit, just compare with rs->sr_nentries. 2005-11-25 20:44:56 +00:00
Pierangelo Masarati
44a1f10d97 allow arbitrary base also in tools 2005-11-25 18:34:18 +00:00
Pierangelo Masarati
78d8a07708 frontend/config/monitor cannot be shadow, I bet 2005-11-25 17:10:11 +00:00
Pierangelo Masarati
f3c007229f detect if trying to make back-monitor shadow 2005-11-25 15:16:54 +00:00
Pierangelo Masarati
6f7b00d891 fix sizelimit commit 2005-11-25 15:08:33 +00:00
Pierangelo Masarati
98936ee3c4 streamline overlay configuration 2005-11-25 12:43:43 +00:00
Pierangelo Masarati
f86543c770 cleanup filter escaping 2005-11-25 12:16:27 +00:00
Pierangelo Masarati
6ab23ef926 add more versatile private API for filter escaping 2005-11-25 10:41:33 +00:00
Pierangelo Masarati
473f3ab840 set limits as appropriate 2005-11-25 01:26:10 +00:00
Pierangelo Masarati
efe575c255 escape filter values (ITS#4212) 2005-11-25 01:13:24 +00:00
Pierangelo Masarati
ea83f6a669 check sizelimit in frontend (ITS#4213) 2005-11-25 00:28:33 +00:00
Pierangelo Masarati
45e188a812 one s/strtol/lutil_atoi/ too much... 2005-11-24 22:53:28 +00:00
Pierangelo Masarati
ce367bcc25 use friendly form for timeouts 2005-11-24 21:21:27 +00:00
Pierangelo Masarati
194aa68dab always set sr_flags before sending an entry 2005-11-24 21:20:06 +00:00
Pierangelo Masarati
8d19d52467 use time_t for time-related vars 2005-11-24 01:49:06 +00:00
Pierangelo Masarati
9a47e3c81a use lutil_ato*() whenever appropriate 2005-11-24 01:44:29 +00:00
Pierangelo Masarati
c7ae6680f2 don't expose unnecessary symbols :) 2005-11-24 01:21:34 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Pierangelo Masarati
654181d8d5 silence debug messages 2005-11-24 01:00:28 +00:00
Howard Chu
7a46ab6e04 ITS#4201 undo all bdb_db_open() steps if any step fails. 2005-11-23 23:57:40 +00:00
Pierangelo Masarati
0fd295a321 first round of number/time parsing fixes 2005-11-23 17:29:16 +00:00
Hallvard Furuseth
6b93c656a1 Fix olcChainConfig definition when !LDAP_CONTROL_X_CHAINING_BEHAVIOR 2005-11-23 10:49:47 +00:00
Pierangelo Masarati
990b435ce0 fix return attributes (ITS#4203) 2005-11-23 10:04:33 +00:00
Pierangelo Masarati
59c4fb1fcd "relax" previous commit; don't leave locks 'round (ITS#4204) 2005-11-23 09:35:44 +00:00
Pierangelo Masarati
de31e7aa91 quick fix to ITS#4204 2005-11-23 08:47:48 +00:00
Pierangelo Masarati
c580a4182e make controls as strict as possible 2005-11-23 02:01:51 +00:00
Pierangelo Masarati
478360925b add some integrity checks on input, without changing syntax nor semantics (ITS#4199) 2005-11-23 01:15:01 +00:00
Pierangelo Masarati
51ebb4ee99 prepare log line 2005-11-23 01:13:39 +00:00
Pierangelo Masarati
c1a845165e add a comment about reworking compare 2005-11-22 19:05:43 +00:00
Pierangelo Masarati
23d893b4cc run thru the list also in case of FALSE 2005-11-22 18:28:07 +00:00
Pierangelo Masarati
e83f0f900b set the berval length\! (ITS#4196) 2005-11-22 12:13:07 +00:00
Pierangelo Masarati
133a673e65 don't return matchedDN in the case described in ITS#4195 2005-11-22 11:13:14 +00:00
Howard Chu
3192c5ffc4 ITS#4192 (reverts ITS#4035 patch) always use "cn=config" as the underlying
DB's rootDN independently of the configured back-config rootDN.
2005-11-22 10:53:15 +00:00
Howard Chu
575f6e2251 Fix ITS#4194, require config dir to be usable if only -F is specified. 2005-11-22 10:11:06 +00:00
Howard Chu
d0b70826d4 Fix prev commit, don't touch logDB in tool mode at all. 2005-11-22 09:09:52 +00:00
Howard Chu
f2ee760e92 Create auditContainer object automatically. 2005-11-21 05:38:50 +00:00
Howard Chu
9ca041c9a6 Fix retry on stale cookie result 2005-11-21 05:38:28 +00:00
Howard Chu
2b9c8076cc In hdb_dn2idl_internal, skip cursor get when dkids == 1 2005-11-20 22:32:39 +00:00
Howard Chu
12d2901162 More for ITS#3939 2005-11-20 22:14:57 +00:00
Howard Chu
3429c5a566 ITS#4186 hdb_idl_append() must not alter the tmp input. 2005-11-20 22:02:41 +00:00
Pierangelo Masarati
64156a68b2 fix dumb var initialization 2005-11-20 19:55:07 +00:00
Pierangelo Masarati
4c92090e87 fix compilation when the chaining control is undefined 2005-11-20 19:28:03 +00:00
Howard Chu
3167b29812 Fix back-bdb inequality_candidates to use unchecked limit.
Fix syncprov_findcsn to set unchecked limit. (ITS#3939)
2005-11-20 10:39:05 +00:00
Pierangelo Masarati
3bea8f5836 remove pointless test & var 2005-11-20 09:23:43 +00:00
Pierangelo Masarati
4852bf8a58 don't care about empty matched/text #ifdef LDAP_NULL_IS_NULL 2005-11-20 01:59:26 +00:00
Pierangelo Masarati
01bea97a26 don't leak temporary URLs 2005-11-20 01:58:19 +00:00
Pierangelo Masarati
754e59543d cleanup 2005-11-20 01:39:19 +00:00
Pierangelo Masarati
fbb31b58a1 yet another fix to previous commit 2005-11-20 00:29:35 +00:00
Pierangelo Masarati
b85b28275f fix previous commit 2005-11-20 00:08:50 +00:00
Pierangelo Masarati
d71a3add92 fix typo in write timeouts argnumbers 2005-11-19 23:23:18 +00:00
Pierangelo Masarati
5bd95600de allow the chain overlay and the underlying databases to be loaded via back-config 2005-11-19 23:22:50 +00:00
Pierangelo Masarati
39d721504a plug one-time leaks 2005-11-19 18:44:54 +00:00
Pierangelo Masarati
6d7689b7e3 check we don't exceed userland with config param bits 2005-11-19 18:01:28 +00:00
Pierangelo Masarati
3e7fd464dc streamline back-ldap/slapo-chain configuration; add the possibility to cache non-configured, anonymous referral URIs 2005-11-19 17:48:33 +00:00
Pierangelo Masarati
7fa4b159bf fix dangling resources issue in slapd-ldap; completely rework slapo-chain to fix the resource leak/concurrency issue; add support for multiple well-known URIs to set credentials for, and deal with unknown URIs anonymously; similar reworking and cleanup for slapd-meta 2005-11-19 15:00:50 +00:00
Pierangelo Masarati
1e66d540e1 cleanup for (ITS#4180); has nothing to do with the solution yet... 2005-11-19 14:58:47 +00:00
Pierangelo Masarati
14e2726cce rework typedefs for functions 2005-11-19 14:58:04 +00:00
Pierangelo Masarati
f4781b1527 minor schema parsing cleanup 2005-11-19 14:57:25 +00:00
Pierangelo Masarati
5d83746abf improve previous commit; same fix required by objectClasses (ITS#4185) 2005-11-19 00:33:19 +00:00
Pierangelo Masarati
4d3fe81780 roll-back inserts in AVL tree; put back original OID macro in case of error (ITS#4185) 2005-11-19 00:24:04 +00:00
Pierangelo Masarati
aac978d8f9 better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier) 2005-11-18 00:20:01 +00:00
Pierangelo Masarati
55c52c5c72 better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier) 2005-11-18 00:00:39 +00:00
Pierangelo Masarati
429a6f5353 fix wrong response tags (ITS4182; consequence of fixing ITS#4173) 2005-11-17 23:52:56 +00:00
Kurt Zeilenga
79ef5e812f Fix typo in last commit -- shorten message by removing
extraneous information
2005-11-17 22:57:11 +00:00
Pierangelo Masarati
99b450dc00 don't accept modify operations with no modifications (ITS#4183) 2005-11-17 22:45:32 +00:00
Pierangelo Masarati
b2c4a3be6a fix size limit count (ITS#4181) 2005-11-17 18:55:47 +00:00
Howard Chu
640f33a267 Fix threads vs tool_threads settings 2005-11-17 11:25:48 +00:00
Howard Chu
1340530e41 Fix missing error text 2005-11-17 08:40:46 +00:00
Pierangelo Masarati
28aca605c7 more URI into bindconf 2005-11-16 21:52:14 +00:00
Howard Chu
c5cf54dddf Fix Add password_hash to not depend on password quality configuration 2005-11-16 18:51:56 +00:00
Pierangelo Masarati
86fc534c8f improve fix to ITS#4173 2005-11-16 15:58:18 +00:00
Pierangelo Masarati
dd2afd3e3e refine previous commit... 2005-11-16 14:20:45 +00:00
Pierangelo Masarati
917b77fff1 fix matched handling of slapd-ldap/slapo-chain (ITS#4176) 2005-11-16 14:17:19 +00:00
Howard Chu
a9c95d36be ITS#4175 wait for worker threads to be ready 2005-11-16 03:22:21 +00:00
Pierangelo Masarati
1762f730fc partially revert commit 2005-11-16 00:49:54 +00:00
Kurt Zeilenga
8688a96b9f Additional error detail 2005-11-15 22:45:44 +00:00
Pierangelo Masarati
48ecc89890 don't muck with SlapReply during response (ITS#4173) 2005-11-15 18:27:40 +00:00
Pierangelo Masarati
4dcccd3ca2 valgrind keeps complaining (it makes sense) but the bus error problem disappeared 2005-11-14 23:14:31 +00:00
Pierangelo Masarati
af23be3675 silence warnings... 2005-11-14 21:47:17 +00:00
Howard Chu
a1830a3cd0 Fix for syncprov checkpoint CSN disposal 2005-11-14 19:38:48 +00:00
Pierangelo Masarati
6495247869 initialize back-monitor only if configured (so resources get released at shutdown) 2005-11-14 19:28:28 +00:00
Pierangelo Masarati
e88c4b48e3 don't leak fakeroot save_attrs 2005-11-14 19:16:00 +00:00
Pierangelo Masarati
fe59b0be6e reset freed resources 2005-11-14 18:38:58 +00:00
Pierangelo Masarati
144ad3657e handle empty parent (related to ITS#4171) 2005-11-14 18:21:55 +00:00
Hallvard Furuseth
dbb2ceac90 Fix ber_bvchr() vs assert() logic. Declare missing variable for code in #if 0. 2005-11-14 16:23:55 +00:00
Pierangelo Masarati
2bf647fa16 re-fix cast and logic 2005-11-14 15:02:14 +00:00
Hallvard Furuseth
bfd221ae46 Fix void* pointer arithmetic from ber_bvchr() 2005-11-14 14:46:38 +00:00
Hallvard Furuseth
82c73ef51a Fix pointer cast in assignment 2005-11-14 14:43:25 +00:00
Hallvard Furuseth
aa37b27ab3 Remove unused declaration bdb_tool_ix_rec() and variable bdb 2005-11-14 14:40:01 +00:00
Pierangelo Masarati
1cef82abe9 return the position of the failing verb 2005-11-14 11:23:44 +00:00
Pierangelo Masarati
474dfbc8fd don't trust strchr/strrchr with bervals 2005-11-13 22:26:53 +00:00
Pierangelo Masarati
910ee45f01 use pooled memory whenever appropriate 2005-11-13 21:51:13 +00:00
Pierangelo Masarati
6eaf2b1ec4 add overlay config schema registry 2005-11-12 16:32:19 +00:00
Howard Chu
ee8a946e8f Fix Win32 typos 2005-11-12 08:18:28 +00:00
Howard Chu
a028353ca1 declare waking volatile. perhaps it should only be used when NO_THREADS
is defined.
2005-11-12 08:11:11 +00:00
Pierangelo Masarati
78bd3bf6a3 handle LDAPv2 when returning timelimit; silence warning 2005-11-11 09:54:07 +00:00
Howard Chu
a88bfa6a08 Rename getline to avoid stdio conflict 2005-11-10 21:25:01 +00:00
Pierangelo Masarati
e108ff00b9 fix log 2005-11-10 12:57:42 +00:00
Pierangelo Masarati
0e1f737774 reset request DN after free; confuses global overlays 2005-11-10 03:42:44 +00:00
Pierangelo Masarati
4537065ffc further isolation and cleanup of ACI code 2005-11-10 00:52:43 +00:00
Pierangelo Masarati
cbdaf8058f silence warning 2005-11-10 00:33:19 +00:00
Pierangelo Masarati
d959a7a7b5 add some sanity checks... 2005-11-09 17:08:11 +00:00
Pierangelo Masarati
5ef53ec9e5 fix group/role check (should address ITS#4106) 2005-11-09 16:33:51 +00:00
Pierangelo Masarati
93abd4c616 cannot happen... 2005-11-09 12:58:57 +00:00
Pierangelo Masarati
6315ac9db6 tools log level defaults to "none", so that messages logged with LDAP_DEBUG_ANY show up by default; use "-d 0" to reset (addresses ITS#4044) 2005-11-09 11:53:34 +00:00
Pierangelo Masarati
d88ea9d609 don't open pid/args files in one-shot mode (ITS#4152); bail out if files cannot be opened (port slapd's fix to ITS#4074) 2005-11-09 10:17:04 +00:00
Pierangelo Masarati
1145840994 remove from AVL before freeing... 2005-11-09 03:28:55 +00:00
Pierangelo Masarati
2132b8d57e plug yet another one time leak 2005-11-09 02:52:28 +00:00
Pierangelo Masarati
2e6cd12216 plug one time leak 2005-11-09 02:48:37 +00:00
Pierangelo Masarati
82d3fbf4e3 fix previous commit 2005-11-09 02:40:34 +00:00
Howard Chu
146b2c5389 ITS#4082 tls ctx requirements are only applicable to servers, or clients
with tls_opt_require_cert = TRY or DEMAND. Ignore requirements for clients.
2005-11-08 13:42:10 +00:00
Pierangelo Masarati
419d2925b1 restore the existing BackendDB, in case overlays are in use 2005-11-08 10:09:30 +00:00
Howard Chu
ea92291cb6 ITS#4158 still more 2005-11-08 09:53:38 +00:00
Pierangelo Masarati
255112e702 gdb is much more clever with enums... 2005-11-08 00:40:20 +00:00
Pierangelo Masarati
52db580cdb error if syncUUID is empty 2005-11-08 00:03:58 +00:00
Howard Chu
6f9aa99d0c ITS#4158 move SASL bind finalization to bind_cb. 2005-11-07 23:38:52 +00:00
Pierangelo Masarati
1faf38448b fix root entry delete/add 2005-11-07 01:08:41 +00:00
Pierangelo Masarati
3019716578 fix invalid read 2005-11-07 01:07:59 +00:00
Pierangelo Masarati
d0ca539cc9 fix num args in Debug() 2005-11-06 23:37:52 +00:00
Pierangelo Masarati
7efa22c2b7 fix type issue 2005-11-06 23:34:33 +00:00
Pierangelo Masarati
bdb661440b fix operational attrs addition 2005-11-06 23:34:03 +00:00
Pierangelo Masarati
dbb88f203b fix root entry deletion 2005-11-06 23:33:41 +00:00
Pierangelo Masarati
40cac2e37a fix access checking; fix operational attrs addition 2005-11-06 23:32:52 +00:00
Pierangelo Masarati
4cab386d13 backport write operation timeouts from back-meta to back-ldap; minor cleanup & silence warnings 2005-11-06 23:29:10 +00:00
Pierangelo Masarati
fc2912ba92 move bindconf_[un]parse() into generic API 2005-11-06 23:28:54 +00:00
Pierangelo Masarati
a6453f28f8 silence warnings 2005-11-06 23:27:09 +00:00
Pierangelo Masarati
fd1b1a53f2 add matchedDN; fix and clarify behavior when searching in-directory entries 2005-11-06 23:26:42 +00:00
Kurt Zeilenga
4f63434511 Improve SASL error handling 2005-11-06 22:43:23 +00:00
Howard Chu
0f2ee54e20 ITS#4151 remove extraneous sasl_bind_in_progress manipulation 2005-11-06 04:02:13 +00:00
Howard Chu
ee8bea214a Fix ITS#4151 - set sasl_bind_in_progress in bind_cb 2005-11-05 22:35:40 +00:00
Pierangelo Masarati
852e4e3109 allow per-target retry in searches; taint invalid connections; don't massage the pseudorootdn (ITS#4150) 2005-11-05 14:44:43 +00:00
Howard Chu
19f6e2d943 ITS#4148 fix replica mods 2005-11-05 08:50:16 +00:00
Pierangelo Masarati
29dfcec866 reverse previous commit 2005-11-04 20:00:03 +00:00
Pierangelo Masarati
acb17be789 fix size/time limit (ITS#4145) 2005-11-04 12:42:39 +00:00
Pierangelo Masarati
a00f337acd partially revert previous commit 2005-11-04 07:57:54 +00:00
Howard Chu
8f7fbfe60a ITS#4143 bdb_tool_info should only be non-NULL for QUICK index/add 2005-11-04 02:52:14 +00:00
Pierangelo Masarati
d170fae411 improve previous commit 2005-11-04 01:44:44 +00:00
Pierangelo Masarati
1ec4cf7bba add a giant mutex around the ldapinfo structure to serialize chaining (need to check for deadlocks...) 2005-11-04 01:42:11 +00:00
Pierangelo Masarati
a9067fc056 free values in case of error 2005-11-04 01:29:48 +00:00
Pierangelo Masarati
a1a68333dc only add opattrs if not shadow; use helper to extract rdn 2005-11-04 01:27:31 +00:00
Pierangelo Masarati
1249fa93d5 plug one-time leak 2005-11-03 22:51:27 +00:00
Howard Chu
91b3f49d5f ITS#4128 revert prev fixes, alternate fix used. 2005-11-03 21:56:33 +00:00
Pierangelo Masarati
d3a2a42e85 fix previous commit (addresses ITS#4139) 2005-11-03 21:48:46 +00:00
Howard Chu
06c96f6cf1 Cleanup 2005-11-03 20:38:51 +00:00
Howard Chu
27b197c36d ITS#4128 use backend_db_init 2005-11-03 20:34:45 +00:00
Howard Chu
c5b44f3660 ITS#4128 use backend_db_init to init the private backend 2005-11-03 20:31:11 +00:00
Kurt Zeilenga
e470116ab3 fix -USLAP_LIGHTWEIGHT_DISPACTHER sl_busy issue 2005-11-03 18:50:04 +00:00
Pierangelo Masarati
0207dcd3f9 import leak plug from slapo-rwm 2005-11-03 15:20:33 +00:00
Pierangelo Masarati
2f63454973 don't leak on exit 2005-11-03 15:08:23 +00:00
Pierangelo Masarati
ac6b3e1415 don't leak massaged referral DN 2005-11-03 14:06:26 +00:00
Pierangelo Masarati
e2b87791ac release entry, if required; release mapping resources as appropriate on exit 2005-11-03 13:34:43 +00:00
Howard Chu
11f6938162 ITS#4136 fix prev commit 2005-11-03 12:45:57 +00:00
Pierangelo Masarati
2a24cbb5e8 don't leak text/matched 2005-11-03 11:58:06 +00:00
Howard Chu
f7ebf67355 ITS#4135 fix prev commit 2005-11-03 02:40:52 +00:00
Kurt Zeilenga
ecd86725f2 Update result code to IANA-assigned values
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Howard Chu
e0ec0a21c2 ITS#4134 additional fix 2005-11-03 00:51:57 +00:00
Howard Chu
f8815bf833 ITS#4099, protect hosts_ctl with tcpd_mutex. From richton@nbcs.rutgers.edu. 2005-11-03 00:47:25 +00:00
Howard Chu
82db113f32 ITS#4134 delete pwdFailureTime on password reset 2005-11-03 00:35:46 +00:00
Howard Chu
9ee48976e2 ITS#4135 remove client socket from frontend control before unbinding 2005-11-03 00:15:50 +00:00
Howard Chu
30869197f8 Fix fastpath for internal clients (e.g. syncrepl) too. 2005-11-02 00:15:41 +00:00
Howard Chu
44fcfb9ed3 Fix fastpath for single-op dispatching 2005-11-01 23:53:01 +00:00
Pierangelo Masarati
7949808924 plug one-time leaks 2005-11-01 18:12:14 +00:00
Pierangelo Masarati
757c34ee4b s/sprintf/snprintf/ 2005-11-01 17:50:57 +00:00
Pierangelo Masarati
22ca0e457e cleanup 2005-11-01 17:05:32 +00:00
Pierangelo Masarati
7146f4e21f don't leak matchedDN 2005-11-01 16:47:17 +00:00
Pierangelo Masarati
3cb2bc0c56 various cleanup 2005-11-01 16:36:17 +00:00
Howard Chu
948e19e132 ITS#4132 reset CACHE_ENTRY_ONELEVEL when complete. Fell out from a bad merge. 2005-11-01 15:52:44 +00:00
Howard Chu
dbf69a6ff5 Fix prev commit 2005-11-01 15:44:51 +00:00
Howard Chu
0a509c9c07 Free bind callback 2005-11-01 15:11:54 +00:00
Pierangelo Masarati
3fd5e683f2 fix size of connection array (ITS#4131) 2005-11-01 14:12:12 +00:00
Pierangelo Masarati
cedb88c373 eat up values of removed attrs 2005-11-01 13:42:51 +00:00
Pierangelo Masarati
d3f33d8139 better fix: in case of error during bind, just bail out (very conservative, though) 2005-11-01 11:00:55 +00:00
Pierangelo Masarati
e60d7c7f24 fix incorrect bind error (ITS#4129) 2005-11-01 09:47:30 +00:00
Pierangelo Masarati
e725c8488a allow descriptions in -d for tools as well; test as much as possible about pid/args files in slaptest 2005-10-31 18:48:12 +00:00
Pierangelo Masarati
e3b9448bd7 allow the "none" log level 2005-10-31 17:46:03 +00:00
Pierangelo Masarati
ea0047295c fix usage 2005-10-31 16:40:11 +00:00
Pierangelo Masarati
93a6a3647f check length (FIXME: snprintf return value may not be portable?) 2005-10-31 16:23:27 +00:00
Pierangelo Masarati
0dc6ef59ad cleanup namespace (ITS#423) 2005-10-31 16:08:33 +00:00
Pierangelo Masarati
183b696e76 address ITS#4127 (please review) 2005-10-31 16:00:51 +00:00
Pierangelo Masarati
48432b1a8d more about ITS#4128; please review 2005-10-31 15:33:30 +00:00
Pierangelo Masarati
217489bd90 address ITS#4128; please review 2005-10-31 15:27:26 +00:00
Howard Chu
3d60d71ad2 Partial fix for ITS#3850, stop spurious "deferring: binding" messages.
Make sure conn state is reset before reply reaches client. Hang still
occurs in RE22, not in RE23.
2005-10-30 09:53:15 +00:00
Howard Chu
fcd3058f83 Fix slap_callback processing, make sure it's safe for callbacks to
delete themselves at any time.
2005-10-30 09:50:48 +00:00
Howard Chu
9edea08357 Fix uninit'd rc 2005-10-30 07:42:08 +00:00
Howard Chu
98969cc28e Fix epoll, just handle wake events in the order they arrived. 2005-10-30 00:50:59 +00:00
Kurt Zeilenga
91db8ccffe Add commented-out 'top' 2005-10-29 23:36:57 +00:00
Howard Chu
e131aa424b ITS#4108 fix another accept/read race condition 2005-10-29 15:16:35 +00:00
Pierangelo Masarati
67397c46be do not return success; frontend already does (ITS#4122) 2005-10-29 12:49:57 +00:00
Howard Chu
1f0e2f8944 Fix debug msg 2005-10-29 04:24:23 +00:00
Howard Chu
4bb234bac8 ITS#4108 Cleanup accept/close race conditions. 2005-10-29 04:17:56 +00:00
Howard Chu
638b84db6e Cleanup, fix ITS#4120 2005-10-29 02:06:32 +00:00
Howard Chu
4f302fd197 Fix ITS#4119, option char left over after rev 1.185 2005-10-28 22:55:22 +00:00
Howard Chu
4ebed09d81 ITS#4017, additional revisions for DH parameters 2005-10-28 05:35:19 +00:00
Howard Chu
39f39fcb44 reqMod / reqOld must be OctetString to accomodate all possible values 2005-10-28 03:31:04 +00:00
Howard Chu
3200892a95 ITS#4111 fix mask_to_verbs return value 2005-10-28 01:57:40 +00:00
Howard Chu
675cda1b62 Use #ifdef BDB_TOOL_IDL_CACHE to enable IDL cache. Leave disabled for
now, it appears to just slow things down.
2005-10-27 13:57:48 +00:00
Howard Chu
8d0ed89832 Fix cache flush / retry sequencing 2005-10-27 13:38:21 +00:00
Howard Chu
d85cb6efbb Revert to previous IDL cache scheme. Doesn't seem to help much in
the threaded case, may be best without it.
2005-10-27 12:00:26 +00:00
Howard Chu
f94968fb5b Multi-threaded slapindex 2005-10-27 10:34:33 +00:00
Howard Chu
fc621a1c78 Add tool-threads config keyword, init thread pool in tool mode. 2005-10-27 09:29:42 +00:00
Howard Chu
b3c3335418 Fix IDL caching 2005-10-27 01:41:34 +00:00
Howard Chu
888731e6c3 Use sorted array for indexed attrs instead of AVL tree 2005-10-26 08:31:38 +00:00
Howard Chu
08cc40317b Fix notags/nosubtypes handling 2005-10-26 06:36:34 +00:00
Howard Chu
b67c0123d2 Better IDL cache allocation 2005-10-26 05:24:41 +00:00
Pierangelo Masarati
cfa2eefe3c fix previous commit 2005-10-25 14:50:05 +00:00
Howard Chu
2f9965c32b Lower id2entry cache priority in tool mode 2005-10-25 10:54:04 +00:00
Howard Chu
8a69f642b8 hdb doesn't need to fix DNs for slapindex 2005-10-25 08:40:01 +00:00
Pierangelo Masarati
8a5a1ab39f fix handling of invalid DN-valued attrs (ITS#4107) 2005-10-24 20:22:08 +00:00
Howard Chu
8f5ea1f1d2 substring indexing optimization 2005-10-23 22:38:15 +00:00
Howard Chu
34e154e28b Add IDL caching for slapadd/slapindex quick mode 2005-10-22 21:41:58 +00:00
Pierangelo Masarati
3ee954de81 fix custom group objectclass/member attribute parsing; let ACI code be built as dynamic module 2005-10-20 23:20:10 +00:00
Howard Chu
a14fd7cc3b Cleanup unused def 2005-10-18 21:36:06 +00:00
Howard Chu
ed5e8db572 Eliminate long-lived read transaction, we can just set a cursor's locker
ID explicitly to our long-lived locker. Should have thought of this before...
2005-10-18 21:35:07 +00:00
Howard Chu
8f7da062f5 ITS#4088 force cursors to use same locker 2005-10-18 20:52:04 +00:00
Kurt Zeilenga
dc616c771f managedit should be explicitly hidden (it was hidden behind LDAP_DEVEL). 2005-10-17 20:36:21 +00:00
Howard Chu
656c6011bb Fix epoll, slapd_remove gets called multiple times for the same descriptor.
Ignore subsequent calls.
2005-10-17 17:31:48 +00:00
Howard Chu
625e30929c More matching rules 2005-10-17 12:25:36 +00:00
Howard Chu
c15a509f92 More schema tweaks 2005-10-17 12:19:26 +00:00
Howard Chu
3a47092d3f Change ModDN back to ModRDN. Legacy... 2005-10-17 11:40:20 +00:00
Howard Chu
0265f85fba Schema tweaks 2005-10-17 11:38:13 +00:00
Howard Chu
f46ffc3c6a Fix Bind/Unbind logging, align Search scopes with RFC2255 2005-10-17 08:32:29 +00:00
Howard Chu
6e2c36b03d Fix noop behavior, don't same TXN twice. Use consistent return code. 2005-10-17 08:09:28 +00:00
Kurt Zeilenga
5c125d19a9 Revise last commit 2005-10-16 20:38:48 +00:00
Kurt Zeilenga
964aa48c37 Fix TLS/SASL handling in new lightweight dispatcher 2005-10-16 20:33:01 +00:00
Kurt Zeilenga
24efc30873 Move slapd_set_read before return
(likely wake should be after... hmmm....)
2005-10-16 17:36:30 +00:00
Pierangelo Masarati
d277c5b3d6 silence SLAP_SEM_LOAD_CONTROL related warnings... 2005-10-16 08:58:06 +00:00
Howard Chu
c44210a8bf ITS#4088 proposed fix 2005-10-16 07:37:36 +00:00
Kurt Zeilenga
c961673d9e Add descr # to epoll_ctl failed error message 2005-10-16 06:41:55 +00:00
Kurt Zeilenga
533394d641 disable SLAP_SEM_LOAD_CONTROL by default, needs additional review/work
Misc. other cleanup
2005-10-16 00:17:58 +00:00
Howard Chu
37e58a73a4 Revert prev commit, use -g option to disable glue instead 2005-10-15 21:52:01 +00:00
Howard Chu
10a696bd15 ITS#4089 use slapcat -n XX to specify just the superior of a glued tree 2005-10-15 20:08:56 +00:00
Pierangelo Masarati
bd5706d8e5 complete fix of slapd-monitor log modify (ITS#4091) 2005-10-15 17:37:18 +00:00
Pierangelo Masarati
57df4bf9c2 fix log level modification via slapd-monitor (ITS#4091) 2005-10-15 15:43:53 +00:00
Pierangelo Masarati
a16521ed4e fix error message for invalid "uri" args 2005-10-15 12:33:04 +00:00
Kurt Zeilenga
9bc19c5232 Revised lightweight dispatcher -- writers moved into worker threads
Presently spawns operations in separate thread to ease clr_read/wake handling.
Seems to perform reasonable well...
2005-10-15 06:54:55 +00:00
Howard Chu
4f4d91d8a9 Fix fallback retries 2005-10-15 06:14:12 +00:00
Howard Chu
1872357e3b Trim down delta attr list 2005-10-15 05:37:10 +00:00
Howard Chu
f2f948ddf8 Fix delta deletes 2005-10-15 05:13:28 +00:00
Howard Chu
1bd689d5d0 Use generic filter for findbase 2005-10-15 05:13:05 +00:00
Howard Chu
8c8e6293f9 The rest of the reloadHint support... 2005-10-15 03:27:05 +00:00
Howard Chu
17a7ce8de5 Better delta syncrepl support, fallback to full refresh. 2005-10-15 03:26:31 +00:00
Howard Chu
711c702943 Send reloadHint TRUE by default 2005-10-15 00:43:47 +00:00