]> git.sur5r.net Git - openldap/log
openldap
19 years agoFix Win32 typos
Howard Chu [Sat, 12 Nov 2005 08:18:28 +0000 (08:18 +0000)]
Fix Win32 typos

19 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.

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

19 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

19 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

19 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.

19 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

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

19 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

19 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.

19 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

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

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

19 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)

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

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

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

19 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)

19 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)

19 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)

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

19 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

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

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

19 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.

19 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

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

19 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...

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

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

19 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.

19 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)

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

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

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

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

19 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

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

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

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

19 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

19 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

19 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

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

19 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

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

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

19 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

19 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

19 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)

19 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)

19 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.

19 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

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

19 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.

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

19 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...

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

19 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

19 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...

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

19 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

19 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)

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

19 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

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

19 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...)

19 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

19 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

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

19 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.

19 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.

19 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)

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

19 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

19 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

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

19 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

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

19 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

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

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

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

19 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

19 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

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

19 years agodon't leak text/matched
Pierangelo Masarati [Thu, 3 Nov 2005 11:58:06 +0000 (11:58 +0000)]
don't leak text/matched

19 years agofix previous commit
Pierangelo Masarati [Thu, 3 Nov 2005 11:42:44 +0000 (11:42 +0000)]
fix previous commit

19 years agoplug leaks
Pierangelo Masarati [Thu, 3 Nov 2005 10:56:49 +0000 (10:56 +0000)]
plug leaks

19 years agoplug (one time?) leaks
Pierangelo Masarati [Thu, 3 Nov 2005 10:52:58 +0000 (10:52 +0000)]
plug (one time?) leaks

19 years agoITS#4135 fix prev commit
Howard Chu [Thu, 3 Nov 2005 02:40:52 +0000 (02:40 +0000)]
ITS#4135 fix prev commit

19 years agoUpdate result code to IANA-assigned values
Kurt Zeilenga [Thu, 3 Nov 2005 01:27:07 +0000 (01:27 +0000)]
Update result code to IANA-assigned values
Provide some backwards compatibility.
Misc cleanup

19 years agoITS#4134 additional fix
Howard Chu [Thu, 3 Nov 2005 00:51:57 +0000 (00:51 +0000)]
ITS#4134 additional fix

19 years agoITS#4099, protect hosts_ctl with tcpd_mutex. From richton@nbcs.rutgers.edu.
Howard Chu [Thu, 3 Nov 2005 00:47:25 +0000 (00:47 +0000)]
ITS#4099, protect hosts_ctl with tcpd_mutex. From richton@nbcs.rutgers.edu.

19 years agoITS#4134 delete pwdFailureTime on password reset
Howard Chu [Thu, 3 Nov 2005 00:35:46 +0000 (00:35 +0000)]
ITS#4134 delete pwdFailureTime on password reset

19 years agoITS#4135 remove client socket from frontend control before unbinding
Howard Chu [Thu, 3 Nov 2005 00:15:50 +0000 (00:15 +0000)]
ITS#4135 remove client socket from frontend control before unbinding

19 years agoITS#4137 was returning with tls_def_ctx_mutex locked.
Howard Chu [Wed, 2 Nov 2005 23:43:19 +0000 (23:43 +0000)]
ITS#4137 was returning with tls_def_ctx_mutex locked.

19 years agoFix fastpath for internal clients (e.g. syncrepl) too.
Howard Chu [Wed, 2 Nov 2005 00:15:41 +0000 (00:15 +0000)]
Fix fastpath for internal clients (e.g. syncrepl) too.

19 years agoFix fastpath for single-op dispatching
Howard Chu [Tue, 1 Nov 2005 23:53:01 +0000 (23:53 +0000)]
Fix fastpath for single-op dispatching

19 years agocleanup
Kurt Zeilenga [Tue, 1 Nov 2005 20:33:49 +0000 (20:33 +0000)]
cleanup