Commit Graph

7931 Commits

Author SHA1 Message Date
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