Commit Graph

14160 Commits

Author SHA1 Message Date
Howard Chu
e56ab6a720 Use GetTickCount for timing on Windows 2005-11-10 23:58:24 +00:00
Howard Chu
2c8790aafc Add -F force option to continue after bind failures. Use gettimeofday
for better timing resolution.
2005-11-10 23:22:40 +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
Kurt Zeilenga
be14ac9fed Add error number to tool_perror() output
Don't hardcode function name.
2005-11-10 03:23:04 +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
56ee85695d reset debugging in tools 2005-11-09 13:04:22 +00:00
Pierangelo Masarati
9a3b418916 silence warnings 2005-11-09 12:59:15 +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
10bf23d123 mention base scoped search requests with empty base DN (ITS#4162) 2005-11-09 10:03:53 +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
c6904b5feb cleanup 2005-11-08 00:04:23 +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
5be72fe816 don't allow '{' in TK_BAREWORD (ITS#4116) 2005-11-07 22:53:43 +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
161d648c8e silence warnings & FPE issue 2005-11-06 23:36:29 +00:00
Pierangelo Masarati
e71b45fb69 add missing "-F" option in usage 2005-11-06 23:35:53 +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
Pierangelo Masarati
e1a7fa2ee9 fix ldap_bv2escaped_filter_value 2005-11-06 11:41:42 +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
f0dac82597 allow per-target retry in searches (ITS#4150) 2005-11-05 14:45:38 +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
d67a2f2044 Move lconn_tls_ctx to ldo_tls_ctx. Otherwise clients cannot set it after
ldap_initializ'ing an LD and before connecting on it. Really all of the
global TLS options belong in the ldapoptions struct, instead of static vars.
2005-11-05 12:49:43 +00:00
Pierangelo Masarati
1a28cc1c64 don't perror when not required 2005-11-05 12:23:17 +00:00
Howard Chu
19f6e2d943 ITS#4148 fix replica mods 2005-11-05 08:50:16 +00:00