Hallvard Furuseth
6a778f99f5
Fix lutil_memrchr():
...
Avoid void* pointer arithmetic.
Convert int c to unsigned char, so c=<negative char value> will match.
Do not decrement pointer below start of array (even when value is not used).
2005-11-14 15:40:01 +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
Hallvard Furuseth
a1856adbe0
Fix format %d errors
2005-11-14 14:36:19 +00:00
Pierangelo Masarati
8f0d3530e2
fix previous commit; use table-driven attribute description lookup
2005-11-14 12:33:40 +00:00
Pierangelo Masarati
1cef82abe9
return the position of the failing verb
2005-11-14 11:23:44 +00:00
Pierangelo Masarati
450e3aaaec
refine previous commit
2005-11-14 11:23:03 +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
4a6f4369c0
don't malloc empty strings for matched, error
2005-11-12 18:42:03 +00:00
Howard Chu
10c94f4e58
Cleanup lbo_valid / meminuse / memfuncs
2005-11-12 18:26:17 +00:00
Pierangelo Masarati
6eaf2b1ec4
add overlay config schema registry
2005-11-12 16:32:19 +00:00
Pierangelo Masarati
8520a8dfd7
cleanup in case of failure
2005-11-12 16:24:12 +00:00
Pierangelo Masarati
29fab9cfd4
add support for "sambaPwdMustChange"; add support for back-config
2005-11-12 16:18:09 +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
Howard Chu
d710edae1b
ITS#4169 fix typo
2005-11-11 11:17:46 +00:00
Pierangelo Masarati
78bd3bf6a3
handle LDAPv2 when returning timelimit; silence warning
2005-11-11 09:54:07 +00:00
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