]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Sat, 8 Apr 2006 04:24:48 +0000 (04:24 +0000)]
Move LDBM to the attic
Kurt Zeilenga [Sat, 8 Apr 2006 04:24:12 +0000 (04:24 +0000)]
s/LDBM/BDB/
Kurt Zeilenga [Sat, 8 Apr 2006 04:21:03 +0000 (04:21 +0000)]
s/ldbm/hdb/
Kurt Zeilenga [Sat, 8 Apr 2006 04:19:48 +0000 (04:19 +0000)]
fix typo in last commit
Kurt Zeilenga [Sat, 8 Apr 2006 04:15:37 +0000 (04:15 +0000)]
Remove configure support for LDBM
Kurt Zeilenga [Sat, 8 Apr 2006 03:42:05 +0000 (03:42 +0000)]
s/2.3/2.4/
Pierangelo Masarati [Fri, 7 Apr 2006 09:08:37 +0000 (09:08 +0000)]
line up network-timeout with back-meta
Howard Chu [Fri, 7 Apr 2006 04:17:44 +0000 (04:17 +0000)]
More for ITS#4323 fix
Howard Chu [Fri, 7 Apr 2006 03:08:43 +0000 (03:08 +0000)]
Fix typo
Howard Chu [Fri, 7 Apr 2006 02:57:39 +0000 (02:57 +0000)]
Use TLS context stuff in syncrepl
Howard Chu [Fri, 7 Apr 2006 02:41:58 +0000 (02:41 +0000)]
Fix destruct sequencing
Howard Chu [Fri, 7 Apr 2006 01:52:32 +0000 (01:52 +0000)]
Don't implicitly inherit the default SSL_CTX, tls.c:alloc_handle will
set it explicitly and handle its refcount.
Howard Chu [Fri, 7 Apr 2006 01:49:19 +0000 (01:49 +0000)]
Add TLS options to bindconf struct
Pierangelo Masarati [Fri, 7 Apr 2006 01:28:56 +0000 (01:28 +0000)]
actually, if a connection is already in the AVL tree, use it if not binding; otherwise use a tainted one; taint connections that must be freed when refcnt goes to zero
Howard Chu [Fri, 7 Apr 2006 01:25:46 +0000 (01:25 +0000)]
Use new TLS SSL_CTX support
Howard Chu [Fri, 7 Apr 2006 01:15:56 +0000 (01:15 +0000)]
Free/decrement SSL_CTX refcount when (re)setting it
Pierangelo Masarati [Fri, 7 Apr 2006 01:15:07 +0000 (01:15 +0000)]
allow a build tree different from the source tree (ITS#4480)
Howard Chu [Fri, 7 Apr 2006 01:13:31 +0000 (01:13 +0000)]
Bump SSL_CTX refcount whenever it gets retrieved
Howard Chu [Fri, 7 Apr 2006 00:52:38 +0000 (00:52 +0000)]
ITS#4422, #4475
Move TLS options into struct ldapoptions.
Added ldap_int_tls_destroy()
Added LDAP_OPT_X_TLS_NEWCTX to generate new SSL_CTX
Howard Chu [Fri, 7 Apr 2006 00:48:41 +0000 (00:48 +0000)]
ITS#4422, rearrange options to allow passing NULL args to TLS/Cyrus
Pierangelo Masarati [Thu, 6 Apr 2006 23:55:09 +0000 (23:55 +0000)]
pedantic cleanup
Pierangelo Masarati [Thu, 6 Apr 2006 23:48:55 +0000 (23:48 +0000)]
fix ITS#4479
Kurt Zeilenga [Thu, 6 Apr 2006 21:44:05 +0000 (21:44 +0000)]
Code which doesn't hanlding allocation failure should use
ch_ routines, not SLAP_ macros
Kurt Zeilenga [Thu, 6 Apr 2006 21:29:38 +0000 (21:29 +0000)]
cleanup
Pierangelo Masarati [Thu, 6 Apr 2006 19:13:41 +0000 (19:13 +0000)]
don't leak if realloc fails (ITS#4477)
Pierangelo Masarati [Thu, 6 Apr 2006 19:07:48 +0000 (19:07 +0000)]
don't leak if realloc fails (ITS#4477); s/new/newptr/
Kurt Zeilenga [Thu, 6 Apr 2006 19:01:08 +0000 (19:01 +0000)]
Have slapd-bind reuse LDAP session (no init).
Hallvard Furuseth [Thu, 6 Apr 2006 09:28:19 +0000 (09:28 +0000)]
Avoid sprintf buffer overrun if huge hostname
Howard Chu [Thu, 6 Apr 2006 04:34:37 +0000 (04:34 +0000)]
ITS#4476 revert connection_write processing back into main thread
Pierangelo Masarati [Thu, 6 Apr 2006 01:27:16 +0000 (01:27 +0000)]
fix ITS#4435
Hallvard Furuseth [Wed, 5 Apr 2006 20:48:15 +0000 (20:48 +0000)]
Protect from sprintf buffer overrun in ldapsearch -f file "(cn=%100000s)"
Hallvard Furuseth [Wed, 5 Apr 2006 20:08:34 +0000 (20:08 +0000)]
LDAP_RDWR_DEBUG update:
- Avoid buffer overrun when too many readers.
- When remoinv reader ID, move one ID instead of all later IDs in array.
- assert(correct lock owner) before unlocking a write lock.
Hallvard Furuseth [Wed, 5 Apr 2006 19:52:07 +0000 (19:52 +0000)]
LDAP_THREAD_DEBUG revamping, cleanup, bug fixes.
Expand usage struct with magic numbers and state info.
Add options "noreinit", "nosync", "nomem", "threadID". Remove "dupinit".
Detect address changes. Turn off thread ID tracking by default.
Kurt Zeilenga [Wed, 5 Apr 2006 18:57:46 +0000 (18:57 +0000)]
Use standard compliant filter strings
Pierangelo Masarati [Wed, 5 Apr 2006 18:20:00 +0000 (18:20 +0000)]
warn in case of error
Pierangelo Masarati [Wed, 5 Apr 2006 18:15:30 +0000 (18:15 +0000)]
add missing "break" to previous commit
Hallvard Furuseth [Wed, 5 Apr 2006 14:15:34 +0000 (14:15 +0000)]
Fix for the previous ITS#4323 fix: for(expr;...) -> for(i=expr;...)
Howard Chu [Wed, 5 Apr 2006 07:17:11 +0000 (07:17 +0000)]
Revert cache-purge task, go back to purging inline
Howard Chu [Wed, 5 Apr 2006 07:03:25 +0000 (07:03 +0000)]
Additional fix for ITS#4323, must propagate search result controls
Kurt Zeilenga [Wed, 5 Apr 2006 00:40:53 +0000 (00:40 +0000)]
Reverse last commit. Wrong tree.
Kurt Zeilenga [Wed, 5 Apr 2006 00:39:46 +0000 (00:39 +0000)]
No LogTest in re23
Howard Chu [Wed, 5 Apr 2006 00:27:16 +0000 (00:27 +0000)]
ITS#4323 allow lower overlays to work on master database
Hallvard Furuseth [Tue, 4 Apr 2006 23:12:58 +0000 (23:12 +0000)]
ITS#4472: Make t_rwlock a lock pointer instead of a lock, and malloc/free it.
That way, realloc(qm->templates...) won't move the ldap_pvt_thread_rdwr_t data.
Howard Chu [Tue, 4 Apr 2006 22:16:24 +0000 (22:16 +0000)]
ITS#4442 just log refint failures, client only cares about main request
Pierangelo Masarati [Tue, 4 Apr 2006 21:07:53 +0000 (21:07 +0000)]
silence warning
Pierangelo Masarati [Tue, 4 Apr 2006 19:48:22 +0000 (19:48 +0000)]
honor stop on error
Pierangelo Masarati [Tue, 4 Apr 2006 18:45:59 +0000 (18:45 +0000)]
complete previous commit (protect binds)
Pierangelo Masarati [Tue, 4 Apr 2006 17:55:27 +0000 (17:55 +0000)]
allow time/size limit errors as soon as some data is returned; don't divide by zero if no entries were found
Pierangelo Masarati [Tue, 4 Apr 2006 17:41:50 +0000 (17:41 +0000)]
make sure only on bind at a time occurs; release resources only when appropriate
Pierangelo Masarati [Tue, 4 Apr 2006 17:41:13 +0000 (17:41 +0000)]
only wait if no entry was returned
Howard Chu [Tue, 4 Apr 2006 10:58:08 +0000 (10:58 +0000)]
plug leaks
Howard Chu [Tue, 4 Apr 2006 10:47:42 +0000 (10:47 +0000)]
cleanup
Howard Chu [Tue, 4 Apr 2006 10:31:01 +0000 (10:31 +0000)]
plug leak
Howard Chu [Tue, 4 Apr 2006 10:27:28 +0000 (10:27 +0000)]
plug leaks
Howard Chu [Tue, 4 Apr 2006 10:12:55 +0000 (10:12 +0000)]
Plug leak
Howard Chu [Tue, 4 Apr 2006 09:56:34 +0000 (09:56 +0000)]
Same as ITS#4464, don't call cache_return_entry with NULL entry
Hallvard Furuseth [Tue, 4 Apr 2006 03:20:33 +0000 (03:20 +0000)]
tool_bind(): Do not use pointer to out-of-scope variable (ITS#4434, ppolicy)
Pierangelo Masarati [Tue, 4 Apr 2006 00:04:39 +0000 (00:04 +0000)]
cleanup "matched" output
Kurt Zeilenga [Mon, 3 Apr 2006 22:21:16 +0000 (22:21 +0000)]
update shtool to 2.0.5
Kurt Zeilenga [Mon, 3 Apr 2006 22:16:47 +0000 (22:16 +0000)]
update to v1.5.22
Pierangelo Masarati [Mon, 3 Apr 2006 22:06:12 +0000 (22:06 +0000)]
don't add unnecessary message
Pierangelo Masarati [Mon, 3 Apr 2006 21:56:30 +0000 (21:56 +0000)]
make sure an invalid connection is always released as appropriate
Pierangelo Masarati [Mon, 3 Apr 2006 21:14:14 +0000 (21:14 +0000)]
immediately return sizelimitExceeded if appropriate
Pierangelo Masarati [Mon, 3 Apr 2006 20:30:35 +0000 (20:30 +0000)]
fix previous commit
Hallvard Furuseth [Mon, 3 Apr 2006 17:10:38 +0000 (17:10 +0000)]
thr_yield() returns void, so do not use its "return value" (ITS#4469)
Hallvard Furuseth [Mon, 3 Apr 2006 12:49:30 +0000 (12:49 +0000)]
Restore $LDAP_THREAD_DEBUG=off functionality (was lost in last patch).
Pierangelo Masarati [Mon, 3 Apr 2006 00:34:35 +0000 (00:34 +0000)]
fix ITS#4450?
Pierangelo Masarati [Mon, 3 Apr 2006 00:33:34 +0000 (00:33 +0000)]
make sure rs->sr_err is fine
Pierangelo Masarati [Mon, 3 Apr 2006 00:32:59 +0000 (00:32 +0000)]
more on recovery (ITS#4429)
Hallvard Furuseth [Sun, 2 Apr 2006 23:49:57 +0000 (23:49 +0000)]
Init & destroy so.s_mutex around syncprov_findbase() call in syncprov_op_search
Hallvard Furuseth [Sun, 2 Apr 2006 23:47:13 +0000 (23:47 +0000)]
Initialize and destroy lc_lai.lai_mutex
Howard Chu [Sun, 2 Apr 2006 21:16:06 +0000 (21:16 +0000)]
plug leaks
Howard Chu [Sun, 2 Apr 2006 21:06:28 +0000 (21:06 +0000)]
plug leak
Hallvard Furuseth [Sun, 2 Apr 2006 19:55:05 +0000 (19:55 +0000)]
Warning cleanup: destroy_actions() returns no value; use return type void
Hallvard Furuseth [Sun, 2 Apr 2006 19:54:24 +0000 (19:54 +0000)]
Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL).
Hallvard Furuseth [Sun, 2 Apr 2006 16:40:39 +0000 (16:40 +0000)]
Return a value (0) from auditlog_db_close() and auditlog_db_destroy()
Hallvard Furuseth [Sun, 2 Apr 2006 16:38:46 +0000 (16:38 +0000)]
Cast %ld format arg to long
Hallvard Furuseth [Sun, 2 Apr 2006 16:37:52 +0000 (16:37 +0000)]
Add missing snprintf args in debug output
Hallvard Furuseth [Sat, 1 Apr 2006 23:52:42 +0000 (23:52 +0000)]
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
Hallvard Furuseth [Sat, 1 Apr 2006 23:44:42 +0000 (23:44 +0000)]
Cast ctype.h char arguments to unsigned char
Hallvard Furuseth [Sat, 1 Apr 2006 23:29:41 +0000 (23:29 +0000)]
Remove suspicious whitespace from makefile
Pierangelo Masarati [Sat, 1 Apr 2006 19:00:37 +0000 (19:00 +0000)]
allow mutex ownership detection (thanks to Hallvard)
Pierangelo Masarati [Sat, 1 Apr 2006 18:59:26 +0000 (18:59 +0000)]
allow overlays to inject an abandon without returning SLAPD_ABANDON
Pierangelo Masarati [Sat, 1 Apr 2006 18:56:39 +0000 (18:56 +0000)]
seems to fix the equivalent of ITS#4429 in back-meta; had to give up per-target conn-ttl and idle-timeout
Pierangelo Masarati [Sat, 1 Apr 2006 18:54:31 +0000 (18:54 +0000)]
thread cleanup
Hallvard Furuseth [Sat, 1 Apr 2006 18:31:38 +0000 (18:31 +0000)]
Expand and clarify thr_debug documentation.
Pierangelo Masarati [Sat, 1 Apr 2006 15:31:35 +0000 (15:31 +0000)]
fix previous commit (ITS#4465)
Pierangelo Masarati [Sat, 1 Apr 2006 15:22:13 +0000 (15:22 +0000)]
fix bound check (ITS#4449)
Pierangelo Masarati [Sat, 1 Apr 2006 15:21:00 +0000 (15:21 +0000)]
add a cleanup handler for binds (ITS#4465)
Pierangelo Masarati [Sat, 1 Apr 2006 00:30:07 +0000 (00:30 +0000)]
ld_abandoned must be protected by ld_res_mutex
Pierangelo Masarati [Fri, 31 Mar 2006 23:07:48 +0000 (23:07 +0000)]
don't use uninitialized mutexes
Pierangelo Masarati [Fri, 31 Mar 2006 23:04:13 +0000 (23:04 +0000)]
initialize the connection_pool in server mode only
Howard Chu [Fri, 31 Mar 2006 22:24:39 +0000 (22:24 +0000)]
cleanup
Howard Chu [Fri, 31 Mar 2006 22:05:01 +0000 (22:05 +0000)]
Cleanup NULL check
Howard Chu [Fri, 31 Mar 2006 21:59:39 +0000 (21:59 +0000)]
plug leaks
Pierangelo Masarati [Fri, 31 Mar 2006 21:35:56 +0000 (21:35 +0000)]
only loop for read/search/bind
Howard Chu [Fri, 31 Mar 2006 21:31:32 +0000 (21:31 +0000)]
cleanup
Howard Chu [Fri, 31 Mar 2006 21:30:06 +0000 (21:30 +0000)]
cleanup NULL string handling
Howard Chu [Fri, 31 Mar 2006 21:20:36 +0000 (21:20 +0000)]
cleanup NULL deref
Howard Chu [Fri, 31 Mar 2006 21:18:04 +0000 (21:18 +0000)]
Cleanup NULL derefs