]> git.sur5r.net Git - openldap/log
openldap
18 years agoProtect from sprintf buffer overrun in ldapsearch -f file "(cn=%100000s)"
Hallvard Furuseth [Wed, 5 Apr 2006 20:48:15 +0000 (20:48 +0000)]
Protect from sprintf buffer overrun in ldapsearch -f file "(cn=%100000s)"

18 years agoLDAP_RDWR_DEBUG update:
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.

18 years agoLDAP_THREAD_DEBUG revamping, cleanup, bug fixes.
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.

18 years agoUse standard compliant filter strings
Kurt Zeilenga [Wed, 5 Apr 2006 18:57:46 +0000 (18:57 +0000)]
Use standard compliant filter strings

18 years agowarn in case of error
Pierangelo Masarati [Wed, 5 Apr 2006 18:20:00 +0000 (18:20 +0000)]
warn in case of error

18 years agoadd missing "break" to previous commit
Pierangelo Masarati [Wed, 5 Apr 2006 18:15:30 +0000 (18:15 +0000)]
add missing "break" to previous commit

18 years agoFix for the previous ITS#4323 fix: for(expr;...) -> for(i=expr;...)
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;...)

18 years agoRevert cache-purge task, go back to purging inline
Howard Chu [Wed, 5 Apr 2006 07:17:11 +0000 (07:17 +0000)]
Revert cache-purge task, go back to purging inline

18 years agoAdditional fix for ITS#4323, must propagate search result controls
Howard Chu [Wed, 5 Apr 2006 07:03:25 +0000 (07:03 +0000)]
Additional fix for ITS#4323, must propagate search result controls

18 years agoReverse last commit. Wrong tree.
Kurt Zeilenga [Wed, 5 Apr 2006 00:40:53 +0000 (00:40 +0000)]
Reverse last commit.  Wrong tree.

18 years agoNo LogTest in re23
Kurt Zeilenga [Wed, 5 Apr 2006 00:39:46 +0000 (00:39 +0000)]
No LogTest in re23

18 years agoITS#4323 allow lower overlays to work on master database
Howard Chu [Wed, 5 Apr 2006 00:27:16 +0000 (00:27 +0000)]
ITS#4323 allow lower overlays to work on master database

18 years agoITS#4472: Make t_rwlock a lock pointer instead of a lock, and malloc/free it.
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.

18 years agoITS#4442 just log refint failures, client only cares about main request
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

18 years agosilence warning
Pierangelo Masarati [Tue, 4 Apr 2006 21:07:53 +0000 (21:07 +0000)]
silence warning

18 years agohonor stop on error
Pierangelo Masarati [Tue, 4 Apr 2006 19:48:22 +0000 (19:48 +0000)]
honor stop on error

18 years agocomplete previous commit (protect binds)
Pierangelo Masarati [Tue, 4 Apr 2006 18:45:59 +0000 (18:45 +0000)]
complete previous commit (protect binds)

18 years agoallow time/size limit errors as soon as some data is returned; don't divide by zero...
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

18 years agomake sure only on bind at a time occurs; release resources only when appropriate
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

18 years agoonly wait if no entry was returned
Pierangelo Masarati [Tue, 4 Apr 2006 17:41:13 +0000 (17:41 +0000)]
only wait if no entry was returned

18 years agoplug leaks
Howard Chu [Tue, 4 Apr 2006 10:58:08 +0000 (10:58 +0000)]
plug leaks

18 years agocleanup
Howard Chu [Tue, 4 Apr 2006 10:47:42 +0000 (10:47 +0000)]
cleanup

18 years agoplug leak
Howard Chu [Tue, 4 Apr 2006 10:31:01 +0000 (10:31 +0000)]
plug leak

18 years agoplug leaks
Howard Chu [Tue, 4 Apr 2006 10:27:28 +0000 (10:27 +0000)]
plug leaks

18 years agoPlug leak
Howard Chu [Tue, 4 Apr 2006 10:12:55 +0000 (10:12 +0000)]
Plug leak

18 years agoSame as ITS#4464, don't call cache_return_entry with NULL entry
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

18 years agotool_bind(): Do not use pointer to out-of-scope variable (ITS#4434, ppolicy)
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)

18 years agocleanup "matched" output
Pierangelo Masarati [Tue, 4 Apr 2006 00:04:39 +0000 (00:04 +0000)]
cleanup "matched" output

18 years agoupdate shtool to 2.0.5
Kurt Zeilenga [Mon, 3 Apr 2006 22:21:16 +0000 (22:21 +0000)]
update shtool to 2.0.5

18 years agoupdate to v1.5.22
Kurt Zeilenga [Mon, 3 Apr 2006 22:16:47 +0000 (22:16 +0000)]
update to v1.5.22

18 years agodon't add unnecessary message
Pierangelo Masarati [Mon, 3 Apr 2006 22:06:12 +0000 (22:06 +0000)]
don't add unnecessary message

18 years agomake sure an invalid connection is always released as appropriate
Pierangelo Masarati [Mon, 3 Apr 2006 21:56:30 +0000 (21:56 +0000)]
make sure an invalid connection is always released as appropriate

18 years agoimmediately return sizelimitExceeded if appropriate
Pierangelo Masarati [Mon, 3 Apr 2006 21:14:14 +0000 (21:14 +0000)]
immediately return sizelimitExceeded if appropriate

18 years agofix previous commit
Pierangelo Masarati [Mon, 3 Apr 2006 20:30:35 +0000 (20:30 +0000)]
fix previous commit

18 years agothr_yield() returns void, so do not use its "return value" (ITS#4469)
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)

18 years agoRestore $LDAP_THREAD_DEBUG=off functionality (was lost in last patch).
Hallvard Furuseth [Mon, 3 Apr 2006 12:49:30 +0000 (12:49 +0000)]
Restore $LDAP_THREAD_DEBUG=off functionality (was lost in last patch).

18 years agofix ITS#4450?
Pierangelo Masarati [Mon, 3 Apr 2006 00:34:35 +0000 (00:34 +0000)]
fix ITS#4450?

18 years agomake sure rs->sr_err is fine
Pierangelo Masarati [Mon, 3 Apr 2006 00:33:34 +0000 (00:33 +0000)]
make sure rs->sr_err is fine

18 years agomore on recovery (ITS#4429)
Pierangelo Masarati [Mon, 3 Apr 2006 00:32:59 +0000 (00:32 +0000)]
more on recovery (ITS#4429)

18 years agoInit & destroy so.s_mutex around syncprov_findbase() call in syncprov_op_search
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

18 years agoInitialize and destroy lc_lai.lai_mutex
Hallvard Furuseth [Sun, 2 Apr 2006 23:47:13 +0000 (23:47 +0000)]
Initialize and destroy lc_lai.lai_mutex

18 years agoplug leaks
Howard Chu [Sun, 2 Apr 2006 21:16:06 +0000 (21:16 +0000)]
plug leaks

18 years agoplug leak
Howard Chu [Sun, 2 Apr 2006 21:06:28 +0000 (21:06 +0000)]
plug leak

18 years agoWarning cleanup: destroy_actions() returns no value; use return type void
Hallvard Furuseth [Sun, 2 Apr 2006 19:55:05 +0000 (19:55 +0000)]
Warning cleanup: destroy_actions() returns no value; use return type void

18 years agoWarnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL).
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).

18 years agoReturn a value (0) from auditlog_db_close() and auditlog_db_destroy()
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()

18 years agoCast %ld format arg to long
Hallvard Furuseth [Sun, 2 Apr 2006 16:38:46 +0000 (16:38 +0000)]
Cast %ld format arg to long

18 years agoAdd missing snprintf args in debug output
Hallvard Furuseth [Sun, 2 Apr 2006 16:37:52 +0000 (16:37 +0000)]
Add missing snprintf args in debug output

18 years agoassert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
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).

18 years agoCast ctype.h char arguments to unsigned char
Hallvard Furuseth [Sat, 1 Apr 2006 23:44:42 +0000 (23:44 +0000)]
Cast ctype.h char arguments to unsigned char

18 years agoRemove suspicious whitespace from makefile
Hallvard Furuseth [Sat, 1 Apr 2006 23:29:41 +0000 (23:29 +0000)]
Remove suspicious whitespace from makefile

18 years agoallow mutex ownership detection (thanks to Hallvard)
Pierangelo Masarati [Sat, 1 Apr 2006 19:00:37 +0000 (19:00 +0000)]
allow mutex ownership detection (thanks to Hallvard)

18 years agoallow overlays to inject an abandon without returning SLAPD_ABANDON
Pierangelo Masarati [Sat, 1 Apr 2006 18:59:26 +0000 (18:59 +0000)]
allow overlays to inject an abandon without returning SLAPD_ABANDON

18 years agoseems to fix the equivalent of ITS#4429 in back-meta; had to give up per-target conn...
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

18 years agothread cleanup
Pierangelo Masarati [Sat, 1 Apr 2006 18:54:31 +0000 (18:54 +0000)]
thread cleanup

18 years agoExpand and clarify thr_debug documentation.
Hallvard Furuseth [Sat, 1 Apr 2006 18:31:38 +0000 (18:31 +0000)]
Expand and clarify thr_debug documentation.

18 years agofix previous commit (ITS#4465)
Pierangelo Masarati [Sat, 1 Apr 2006 15:31:35 +0000 (15:31 +0000)]
fix previous commit (ITS#4465)

18 years agofix bound check (ITS#4449)
Pierangelo Masarati [Sat, 1 Apr 2006 15:22:13 +0000 (15:22 +0000)]
fix bound check (ITS#4449)

18 years agoadd a cleanup handler for binds (ITS#4465)
Pierangelo Masarati [Sat, 1 Apr 2006 15:21:00 +0000 (15:21 +0000)]
add a cleanup handler for binds (ITS#4465)

18 years agold_abandoned must be protected by ld_res_mutex
Pierangelo Masarati [Sat, 1 Apr 2006 00:30:07 +0000 (00:30 +0000)]
ld_abandoned must be protected by ld_res_mutex

18 years agodon't use uninitialized mutexes
Pierangelo Masarati [Fri, 31 Mar 2006 23:07:48 +0000 (23:07 +0000)]
don't use uninitialized mutexes

18 years agoinitialize the connection_pool in server mode only
Pierangelo Masarati [Fri, 31 Mar 2006 23:04:13 +0000 (23:04 +0000)]
initialize the connection_pool in server mode only

18 years agocleanup
Howard Chu [Fri, 31 Mar 2006 22:24:39 +0000 (22:24 +0000)]
cleanup

18 years agoCleanup NULL check
Howard Chu [Fri, 31 Mar 2006 22:05:01 +0000 (22:05 +0000)]
Cleanup NULL check

18 years agoplug leaks
Howard Chu [Fri, 31 Mar 2006 21:59:39 +0000 (21:59 +0000)]
plug leaks

18 years agoonly loop for read/search/bind
Pierangelo Masarati [Fri, 31 Mar 2006 21:35:56 +0000 (21:35 +0000)]
only loop for read/search/bind

18 years agocleanup
Howard Chu [Fri, 31 Mar 2006 21:31:32 +0000 (21:31 +0000)]
cleanup

18 years agocleanup NULL string handling
Howard Chu [Fri, 31 Mar 2006 21:30:06 +0000 (21:30 +0000)]
cleanup NULL string handling

18 years agocleanup NULL deref
Howard Chu [Fri, 31 Mar 2006 21:20:36 +0000 (21:20 +0000)]
cleanup NULL deref

18 years agoCleanup NULL derefs
Howard Chu [Fri, 31 Mar 2006 21:18:04 +0000 (21:18 +0000)]
Cleanup NULL derefs

18 years agocleanup dead code
Howard Chu [Fri, 31 Mar 2006 21:07:53 +0000 (21:07 +0000)]
cleanup dead code

18 years agodon't call cache_return_entry_rw with e of NULL
Kurt Zeilenga [Fri, 31 Mar 2006 21:03:51 +0000 (21:03 +0000)]
don't call cache_return_entry_rw with e of NULL

18 years agoplug leaks
Howard Chu [Fri, 31 Mar 2006 20:36:53 +0000 (20:36 +0000)]
plug leaks

18 years agoplug leaks
Howard Chu [Fri, 31 Mar 2006 20:20:53 +0000 (20:20 +0000)]
plug leaks

18 years agoplug leaks
Howard Chu [Fri, 31 Mar 2006 20:06:49 +0000 (20:06 +0000)]
plug leaks

18 years ago- use ldap_url_desc2str() to construct URL
Ralf Haferkamp [Fri, 31 Mar 2006 15:55:19 +0000 (15:55 +0000)]
- use ldap_url_desc2str() to construct URL
- throw Exception in initialization error

18 years agocommit missing TXN piece
Kurt Zeilenga [Fri, 31 Mar 2006 15:31:29 +0000 (15:31 +0000)]
commit missing TXN piece

18 years agocleanup
Howard Chu [Fri, 31 Mar 2006 13:09:42 +0000 (13:09 +0000)]
cleanup

18 years agoCleanup
Howard Chu [Fri, 31 Mar 2006 12:53:32 +0000 (12:53 +0000)]
Cleanup

18 years agoplug leaks
Howard Chu [Fri, 31 Mar 2006 12:20:04 +0000 (12:20 +0000)]
plug leaks

18 years agoplug leaks
Howard Chu [Fri, 31 Mar 2006 11:15:26 +0000 (11:15 +0000)]
plug leaks

18 years agoCleanup
Howard Chu [Fri, 31 Mar 2006 10:45:23 +0000 (10:45 +0000)]
Cleanup

18 years agoPlug leaks, fix coverity errors
Howard Chu [Fri, 31 Mar 2006 09:33:46 +0000 (09:33 +0000)]
Plug leaks, fix coverity errors

18 years agoPlug leaks
Howard Chu [Fri, 31 Mar 2006 09:18:38 +0000 (09:18 +0000)]
Plug leaks

18 years agofix multiple response messages; add overall sleep time
Pierangelo Masarati [Thu, 30 Mar 2006 23:49:51 +0000 (23:49 +0000)]
fix multiple response messages; add overall sleep time

18 years agoAdditional TXN changes (a work in progress)
Kurt Zeilenga [Thu, 30 Mar 2006 18:00:04 +0000 (18:00 +0000)]
Additional TXN changes (a work in progress)

18 years agoForced commit to correct prev. commit message
Kurt Zeilenga [Thu, 30 Mar 2006 17:59:26 +0000 (17:59 +0000)]
Forced commit to correct prev. commit message
Prev commit included additional TXN changes (a work in progress)

18 years agoAdd link to FAQ entry on BDB tuning
Kurt Zeilenga [Thu, 30 Mar 2006 17:56:56 +0000 (17:56 +0000)]
Add link to FAQ entry on BDB tuning

18 years agoSupport for obsolete proxy authorization control
Howard Chu [Thu, 30 Mar 2006 08:22:39 +0000 (08:22 +0000)]
Support for obsolete proxy authorization control

18 years agofix test047
Pierangelo Masarati [Wed, 29 Mar 2006 11:12:10 +0000 (11:12 +0000)]
fix test047

18 years agofix handling of expired connections (ITS#4429; need to look at back-meta as well)
Pierangelo Masarati [Wed, 29 Mar 2006 01:26:42 +0000 (01:26 +0000)]
fix handling of expired connections (ITS#4429; need to look at back-meta as well)

18 years agofix typos
Pierangelo Masarati [Tue, 28 Mar 2006 23:08:47 +0000 (23:08 +0000)]
fix typos

18 years agoglued back-ldap comprehensive test (should have been put before test039...)
Pierangelo Masarati [Tue, 28 Mar 2006 21:54:56 +0000 (21:54 +0000)]
glued back-ldap comprehensive test (should have been put before test039...)

18 years agoleave existing controls in place if proxyAuthz is not required by idassert (ITS#4457)
Pierangelo Masarati [Tue, 28 Mar 2006 21:45:54 +0000 (21:45 +0000)]
leave existing controls in place if proxyAuthz is not required by idassert (ITS#4457)

18 years agopropagate pretty DN (ITS#4456)
Pierangelo Masarati [Tue, 28 Mar 2006 19:20:01 +0000 (19:20 +0000)]
propagate pretty DN (ITS#4456)

18 years agofix "packets" debug value
Pierangelo Masarati [Tue, 28 Mar 2006 15:07:51 +0000 (15:07 +0000)]
fix "packets" debug value

18 years agofix previous commit: count to nreqs or maxkids, whatever is larger
Pierangelo Masarati [Tue, 28 Mar 2006 11:51:40 +0000 (11:51 +0000)]
fix previous commit: count to nreqs or maxkids, whatever is larger

18 years agoallow attrsonly; allow "random" read
Pierangelo Masarati [Tue, 28 Mar 2006 00:14:11 +0000 (00:14 +0000)]
allow attrsonly; allow "random" read

18 years agocleanup
Pierangelo Masarati [Mon, 27 Mar 2006 00:31:38 +0000 (00:31 +0000)]
cleanup

18 years agostreamline handling of simple bind by global overlays (ITS#4454)
Pierangelo Masarati [Sun, 26 Mar 2006 23:03:43 +0000 (23:03 +0000)]
streamline handling of simple bind by global overlays (ITS#4454)