]> git.sur5r.net Git - openldap/log
openldap
18 years agoFix void* pointer arithmetic from ber_bvchr()
Hallvard Furuseth [Mon, 14 Nov 2005 14:46:38 +0000 (14:46 +0000)]
Fix void* pointer arithmetic from ber_bvchr()

18 years agoFix pointer cast in assignment
Hallvard Furuseth [Mon, 14 Nov 2005 14:43:25 +0000 (14:43 +0000)]
Fix pointer cast in assignment

18 years agoRemove unused declaration bdb_tool_ix_rec() and variable bdb
Hallvard Furuseth [Mon, 14 Nov 2005 14:40:01 +0000 (14:40 +0000)]
Remove unused declaration bdb_tool_ix_rec() and variable bdb

18 years agoFix format %d errors
Hallvard Furuseth [Mon, 14 Nov 2005 14:36:19 +0000 (14:36 +0000)]
Fix format %d errors

18 years agofix previous commit; use table-driven attribute description lookup
Pierangelo Masarati [Mon, 14 Nov 2005 12:33:40 +0000 (12:33 +0000)]
fix previous commit; use table-driven attribute description lookup

18 years agoreturn the position of the failing verb
Pierangelo Masarati [Mon, 14 Nov 2005 11:23:44 +0000 (11:23 +0000)]
return the position of the failing verb

18 years agorefine previous commit
Pierangelo Masarati [Mon, 14 Nov 2005 11:23:03 +0000 (11:23 +0000)]
refine previous commit

18 years agodon't trust strchr/strrchr with bervals
Pierangelo Masarati [Sun, 13 Nov 2005 22:26:53 +0000 (22:26 +0000)]
don't trust strchr/strrchr with bervals

18 years agouse pooled memory whenever appropriate
Pierangelo Masarati [Sun, 13 Nov 2005 21:51:13 +0000 (21:51 +0000)]
use pooled memory whenever appropriate

18 years agodon't malloc empty strings for matched, error
Pierangelo Masarati [Sat, 12 Nov 2005 18:42:03 +0000 (18:42 +0000)]
don't malloc empty strings for matched, error

18 years agoCleanup lbo_valid / meminuse / memfuncs
Howard Chu [Sat, 12 Nov 2005 18:26:17 +0000 (18:26 +0000)]
Cleanup lbo_valid / meminuse / memfuncs

18 years agoadd overlay config schema registry
Pierangelo Masarati [Sat, 12 Nov 2005 16:32:19 +0000 (16:32 +0000)]
add overlay config schema registry

18 years agocleanup in case of failure
Pierangelo Masarati [Sat, 12 Nov 2005 16:24:12 +0000 (16:24 +0000)]
cleanup in case of failure

18 years agoadd support for "sambaPwdMustChange"; add support for back-config
Pierangelo Masarati [Sat, 12 Nov 2005 16:18:09 +0000 (16:18 +0000)]
add support for "sambaPwdMustChange"; add support for back-config

18 years agoFix Win32 typos
Howard Chu [Sat, 12 Nov 2005 08:18:28 +0000 (08:18 +0000)]
Fix Win32 typos

18 years agodeclare waking volatile. perhaps it should only be used when NO_THREADS
Howard Chu [Sat, 12 Nov 2005 08:11:11 +0000 (08:11 +0000)]
declare waking volatile. perhaps it should only be used when NO_THREADS
is defined.

18 years agoITS#4169 fix typo
Howard Chu [Fri, 11 Nov 2005 11:17:46 +0000 (11:17 +0000)]
ITS#4169 fix typo

18 years agohandle LDAPv2 when returning timelimit; silence warning
Pierangelo Masarati [Fri, 11 Nov 2005 09:54:07 +0000 (09:54 +0000)]
handle LDAPv2 when returning timelimit; silence warning

18 years agoUse GetTickCount for timing on Windows
Howard Chu [Thu, 10 Nov 2005 23:58:24 +0000 (23:58 +0000)]
Use GetTickCount for timing on Windows

18 years agoAdd -F force option to continue after bind failures. Use gettimeofday
Howard Chu [Thu, 10 Nov 2005 23:22:40 +0000 (23:22 +0000)]
Add -F force option to continue after bind failures. Use gettimeofday
for better timing resolution.

18 years agoRename getline to avoid stdio conflict
Howard Chu [Thu, 10 Nov 2005 21:25:01 +0000 (21:25 +0000)]
Rename getline to avoid stdio conflict

18 years agofix log
Pierangelo Masarati [Thu, 10 Nov 2005 12:57:42 +0000 (12:57 +0000)]
fix log

18 years agoreset request DN after free; confuses global overlays
Pierangelo Masarati [Thu, 10 Nov 2005 03:42:44 +0000 (03:42 +0000)]
reset request DN after free; confuses global overlays

18 years agoAdd error number to tool_perror() output
Kurt Zeilenga [Thu, 10 Nov 2005 03:23:04 +0000 (03:23 +0000)]
Add error number to tool_perror() output
Don't hardcode function name.

18 years agofurther isolation and cleanup of ACI code
Pierangelo Masarati [Thu, 10 Nov 2005 00:52:43 +0000 (00:52 +0000)]
further isolation and cleanup of ACI code

18 years agosilence warning
Pierangelo Masarati [Thu, 10 Nov 2005 00:33:19 +0000 (00:33 +0000)]
silence warning

18 years agoadd some sanity checks...
Pierangelo Masarati [Wed, 9 Nov 2005 17:08:11 +0000 (17:08 +0000)]
add some sanity checks...

18 years agofix group/role check (should address ITS#4106)
Pierangelo Masarati [Wed, 9 Nov 2005 16:33:51 +0000 (16:33 +0000)]
fix group/role check (should address ITS#4106)

18 years agoreset debugging in tools
Pierangelo Masarati [Wed, 9 Nov 2005 13:04:22 +0000 (13:04 +0000)]
reset debugging in tools

18 years agosilence warnings
Pierangelo Masarati [Wed, 9 Nov 2005 12:59:15 +0000 (12:59 +0000)]
silence warnings

18 years agocannot happen...
Pierangelo Masarati [Wed, 9 Nov 2005 12:58:57 +0000 (12:58 +0000)]
cannot happen...

18 years agotools log level defaults to "none", so that messages logged with LDAP_DEBUG_ANY show...
Pierangelo Masarati [Wed, 9 Nov 2005 11:53:34 +0000 (11:53 +0000)]
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)

18 years agodon't open pid/args files in one-shot mode (ITS#4152); bail out if files cannot be...
Pierangelo Masarati [Wed, 9 Nov 2005 10:17:04 +0000 (10:17 +0000)]
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)

18 years agomention base scoped search requests with empty base DN (ITS#4162)
Pierangelo Masarati [Wed, 9 Nov 2005 10:03:53 +0000 (10:03 +0000)]
mention base scoped search requests with empty base DN (ITS#4162)

18 years agoremove from AVL before freeing...
Pierangelo Masarati [Wed, 9 Nov 2005 03:28:55 +0000 (03:28 +0000)]
remove from AVL before freeing...

18 years agoplug yet another one time leak
Pierangelo Masarati [Wed, 9 Nov 2005 02:52:28 +0000 (02:52 +0000)]
plug yet another one time leak

18 years agoplug one time leak
Pierangelo Masarati [Wed, 9 Nov 2005 02:48:37 +0000 (02:48 +0000)]
plug one time leak

18 years agofix previous commit
Pierangelo Masarati [Wed, 9 Nov 2005 02:40:34 +0000 (02:40 +0000)]
fix previous commit

18 years agoITS#4082 tls ctx requirements are only applicable to servers, or clients
Howard Chu [Tue, 8 Nov 2005 13:42:10 +0000 (13:42 +0000)]
ITS#4082 tls ctx requirements are only applicable to servers, or clients
with tls_opt_require_cert = TRY or DEMAND. Ignore requirements for clients.

18 years agorestore the existing BackendDB, in case overlays are in use
Pierangelo Masarati [Tue, 8 Nov 2005 10:09:30 +0000 (10:09 +0000)]
restore the existing BackendDB, in case overlays are in use

18 years agoITS#4158 still more
Howard Chu [Tue, 8 Nov 2005 09:53:38 +0000 (09:53 +0000)]
ITS#4158 still more

18 years agogdb is much more clever with enums...
Pierangelo Masarati [Tue, 8 Nov 2005 00:40:20 +0000 (00:40 +0000)]
gdb is much more clever with enums...

18 years agocleanup
Pierangelo Masarati [Tue, 8 Nov 2005 00:04:23 +0000 (00:04 +0000)]
cleanup

18 years agoerror if syncUUID is empty
Pierangelo Masarati [Tue, 8 Nov 2005 00:03:58 +0000 (00:03 +0000)]
error if syncUUID is empty

18 years agoITS#4158 move SASL bind finalization to bind_cb.
Howard Chu [Mon, 7 Nov 2005 23:38:52 +0000 (23:38 +0000)]
ITS#4158 move SASL bind finalization to bind_cb.

18 years agodon't allow '{' in TK_BAREWORD (ITS#4116)
Pierangelo Masarati [Mon, 7 Nov 2005 22:53:43 +0000 (22:53 +0000)]
don't allow '{' in TK_BAREWORD (ITS#4116)

18 years agofix root entry delete/add
Pierangelo Masarati [Mon, 7 Nov 2005 01:08:41 +0000 (01:08 +0000)]
fix root entry delete/add

18 years agofix invalid read
Pierangelo Masarati [Mon, 7 Nov 2005 01:07:59 +0000 (01:07 +0000)]
fix invalid read

18 years agofix num args in Debug()
Pierangelo Masarati [Sun, 6 Nov 2005 23:37:52 +0000 (23:37 +0000)]
fix num args in Debug()

18 years agosilence warnings & FPE issue
Pierangelo Masarati [Sun, 6 Nov 2005 23:36:29 +0000 (23:36 +0000)]
silence warnings & FPE issue

18 years agoadd missing "-F" option in usage
Pierangelo Masarati [Sun, 6 Nov 2005 23:35:53 +0000 (23:35 +0000)]
add missing "-F" option in usage

18 years agofix type issue
Pierangelo Masarati [Sun, 6 Nov 2005 23:34:33 +0000 (23:34 +0000)]
fix type issue

18 years agofix operational attrs addition
Pierangelo Masarati [Sun, 6 Nov 2005 23:34:03 +0000 (23:34 +0000)]
fix operational attrs addition

18 years agofix root entry deletion
Pierangelo Masarati [Sun, 6 Nov 2005 23:33:41 +0000 (23:33 +0000)]
fix root entry deletion

18 years agofix access checking; fix operational attrs addition
Pierangelo Masarati [Sun, 6 Nov 2005 23:32:52 +0000 (23:32 +0000)]
fix access checking; fix operational attrs addition

18 years agobackport write operation timeouts from back-meta to back-ldap; minor cleanup & silenc...
Pierangelo Masarati [Sun, 6 Nov 2005 23:29:10 +0000 (23:29 +0000)]
backport write operation timeouts from back-meta to back-ldap; minor cleanup & silence warnings

18 years agomove bindconf_[un]parse() into generic API
Pierangelo Masarati [Sun, 6 Nov 2005 23:28:54 +0000 (23:28 +0000)]
move bindconf_[un]parse() into generic API

18 years agosilence warnings
Pierangelo Masarati [Sun, 6 Nov 2005 23:27:09 +0000 (23:27 +0000)]
silence warnings

18 years agoadd matchedDN; fix and clarify behavior when searching in-directory entries
Pierangelo Masarati [Sun, 6 Nov 2005 23:26:42 +0000 (23:26 +0000)]
add matchedDN; fix and clarify behavior when searching in-directory entries

18 years agoImprove SASL error handling
Kurt Zeilenga [Sun, 6 Nov 2005 22:43:23 +0000 (22:43 +0000)]
Improve SASL error handling

18 years agofix ldap_bv2escaped_filter_value
Pierangelo Masarati [Sun, 6 Nov 2005 11:41:42 +0000 (11:41 +0000)]
fix ldap_bv2escaped_filter_value

18 years agoITS#4151 remove extraneous sasl_bind_in_progress manipulation
Howard Chu [Sun, 6 Nov 2005 04:02:13 +0000 (04:02 +0000)]
ITS#4151 remove extraneous sasl_bind_in_progress manipulation

18 years agoFix ITS#4151 - set sasl_bind_in_progress in bind_cb
Howard Chu [Sat, 5 Nov 2005 22:35:40 +0000 (22:35 +0000)]
Fix ITS#4151 - set sasl_bind_in_progress in bind_cb

18 years agoallow per-target retry in searches (ITS#4150)
Pierangelo Masarati [Sat, 5 Nov 2005 14:45:38 +0000 (14:45 +0000)]
allow per-target retry in searches (ITS#4150)

18 years agoallow per-target retry in searches; taint invalid connections; don't massage the...
Pierangelo Masarati [Sat, 5 Nov 2005 14:44:43 +0000 (14:44 +0000)]
allow per-target retry in searches; taint invalid connections; don't massage the pseudorootdn (ITS#4150)

18 years agoMove lconn_tls_ctx to ldo_tls_ctx. Otherwise clients cannot set it after
Howard Chu [Sat, 5 Nov 2005 12:49:43 +0000 (12:49 +0000)]
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.

18 years agodon't perror when not required
Pierangelo Masarati [Sat, 5 Nov 2005 12:23:17 +0000 (12:23 +0000)]
don't perror when not required

18 years agoITS#4148 fix replica mods
Howard Chu [Sat, 5 Nov 2005 08:50:16 +0000 (08:50 +0000)]
ITS#4148 fix replica mods

18 years agoITS#4147 fix
Kurt Zeilenga [Sat, 5 Nov 2005 00:53:19 +0000 (00:53 +0000)]
ITS#4147 fix
Should replace all ldap_perror calls with tool_perror calls to
avoid use of deprecated function.

18 years agoreverse previous commit
Pierangelo Masarati [Fri, 4 Nov 2005 20:00:03 +0000 (20:00 +0000)]
reverse previous commit

18 years agoneed to reharse hexadecimals and powers of 2...
Pierangelo Masarati [Fri, 4 Nov 2005 19:12:42 +0000 (19:12 +0000)]
need to reharse hexadecimals and powers of 2...

18 years agoclarify some logging issues
Pierangelo Masarati [Fri, 4 Nov 2005 17:28:22 +0000 (17:28 +0000)]
clarify some logging issues

18 years agoallow a friendly behavior when stress testing proxies
Pierangelo Masarati [Fri, 4 Nov 2005 16:30:43 +0000 (16:30 +0000)]
allow a friendly behavior when stress testing proxies

18 years agoallow a friendly behavior of write stress testers...
Pierangelo Masarati [Fri, 4 Nov 2005 16:17:32 +0000 (16:17 +0000)]
allow a friendly behavior of write stress testers...

18 years agotolerate more error conditions
Pierangelo Masarati [Fri, 4 Nov 2005 15:51:19 +0000 (15:51 +0000)]
tolerate more error conditions

18 years agogently handle LDAP_UNAVAILABLE for a few times
Pierangelo Masarati [Fri, 4 Nov 2005 14:49:59 +0000 (14:49 +0000)]
gently handle LDAP_UNAVAILABLE for a few times

18 years agofix size/time limit (ITS#4145)
Pierangelo Masarati [Fri, 4 Nov 2005 12:42:39 +0000 (12:42 +0000)]
fix size/time limit (ITS#4145)

18 years agopartially revert previous commit
Pierangelo Masarati [Fri, 4 Nov 2005 07:57:54 +0000 (07:57 +0000)]
partially revert previous commit

18 years agoITS#4143 bdb_tool_info should only be non-NULL for QUICK index/add
Howard Chu [Fri, 4 Nov 2005 02:52:14 +0000 (02:52 +0000)]
ITS#4143 bdb_tool_info should only be non-NULL for QUICK index/add

18 years agoimprove previous commit
Pierangelo Masarati [Fri, 4 Nov 2005 01:44:44 +0000 (01:44 +0000)]
improve previous commit

18 years agoadd a giant mutex around the ldapinfo structure to serialize chaining (need to check...
Pierangelo Masarati [Fri, 4 Nov 2005 01:42:11 +0000 (01:42 +0000)]
add a giant mutex around the ldapinfo structure to serialize chaining (need to check for deadlocks...)

18 years agofree values in case of error
Pierangelo Masarati [Fri, 4 Nov 2005 01:29:48 +0000 (01:29 +0000)]
free values in case of error

18 years agoonly add opattrs if not shadow; use helper to extract rdn
Pierangelo Masarati [Fri, 4 Nov 2005 01:27:31 +0000 (01:27 +0000)]
only add opattrs if not shadow; use helper to extract rdn

18 years agoplug one-time leak
Pierangelo Masarati [Thu, 3 Nov 2005 22:51:27 +0000 (22:51 +0000)]
plug one-time leak

18 years agoAdd test case for ITS#4100
Kurt Zeilenga [Thu, 3 Nov 2005 22:49:03 +0000 (22:49 +0000)]
Add test case for ITS#4100
Could not duplicate problem using correct form:
delete: userCertificate;binary
Improper form
delete: userCertificate
produces error as expected.

18 years agoITS#4128 revert prev fixes, alternate fix used.
Howard Chu [Thu, 3 Nov 2005 21:56:33 +0000 (21:56 +0000)]
ITS#4128 revert prev fixes, alternate fix used.

18 years agofix previous commit (addresses ITS#4139)
Pierangelo Masarati [Thu, 3 Nov 2005 21:48:46 +0000 (21:48 +0000)]
fix previous commit (addresses ITS#4139)

18 years agoCleanup
Howard Chu [Thu, 3 Nov 2005 20:38:51 +0000 (20:38 +0000)]
Cleanup

18 years agoITS#4128 use backend_db_init
Howard Chu [Thu, 3 Nov 2005 20:34:45 +0000 (20:34 +0000)]
ITS#4128 use backend_db_init

18 years agoITS#4128 use backend_db_init to init the private backend
Howard Chu [Thu, 3 Nov 2005 20:31:11 +0000 (20:31 +0000)]
ITS#4128 use backend_db_init to init the private backend

18 years agofix previous commit
Pierangelo Masarati [Thu, 3 Nov 2005 20:11:22 +0000 (20:11 +0000)]
fix previous commit

18 years agofix -USLAP_LIGHTWEIGHT_DISPACTHER sl_busy issue
Kurt Zeilenga [Thu, 3 Nov 2005 18:50:04 +0000 (18:50 +0000)]
fix -USLAP_LIGHTWEIGHT_DISPACTHER sl_busy issue

18 years agoNo longer needed.
Kurt Zeilenga [Thu, 3 Nov 2005 18:36:13 +0000 (18:36 +0000)]
No longer needed.

18 years agoimport leak plug from slapo-rwm
Pierangelo Masarati [Thu, 3 Nov 2005 15:20:33 +0000 (15:20 +0000)]
import leak plug from slapo-rwm

18 years agodon't leak hostname
Pierangelo Masarati [Thu, 3 Nov 2005 15:17:48 +0000 (15:17 +0000)]
don't leak hostname

18 years agodon't leak on exit
Pierangelo Masarati [Thu, 3 Nov 2005 15:08:23 +0000 (15:08 +0000)]
don't leak on exit

18 years agofix message
Pierangelo Masarati [Thu, 3 Nov 2005 14:20:08 +0000 (14:20 +0000)]
fix message

18 years agodon't leak massaged referral DN
Pierangelo Masarati [Thu, 3 Nov 2005 14:06:26 +0000 (14:06 +0000)]
don't leak massaged referral DN

18 years agorelease entry, if required; release mapping resources as appropriate on exit
Pierangelo Masarati [Thu, 3 Nov 2005 13:34:43 +0000 (13:34 +0000)]
release entry, if required; release mapping resources as appropriate on exit

18 years agoITS#4136 fix prev commit
Howard Chu [Thu, 3 Nov 2005 12:45:57 +0000 (12:45 +0000)]
ITS#4136 fix prev commit