]> git.sur5r.net Git - openldap/log
openldap
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

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

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

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

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

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

18 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

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

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

18 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

18 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

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

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

18 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

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

18 years agoNote that schema described herein is a "work in progress",
Kurt Zeilenga [Tue, 1 Nov 2005 20:33:15 +0000 (20:33 +0000)]
Note that schema described herein is a "work in progress",
subject to change without notice.  Same needs to be
done to slapo-lastmod(5), but its organization makes it
a bit messier.

18 years agocleanup
Kurt Zeilenga [Tue, 1 Nov 2005 19:59:23 +0000 (19:59 +0000)]
cleanup

18 years agoVarious cleanup and updating
Kurt Zeilenga [Tue, 1 Nov 2005 19:56:52 +0000 (19:56 +0000)]
Various cleanup and updating

18 years agoplug one-time leaks
Pierangelo Masarati [Tue, 1 Nov 2005 18:12:14 +0000 (18:12 +0000)]
plug one-time leaks

18 years agos/sprintf/snprintf/
Pierangelo Masarati [Tue, 1 Nov 2005 17:50:57 +0000 (17:50 +0000)]
s/sprintf/snprintf/

18 years agocleanup
Pierangelo Masarati [Tue, 1 Nov 2005 17:05:32 +0000 (17:05 +0000)]
cleanup

18 years agodon't leak matchedDN
Pierangelo Masarati [Tue, 1 Nov 2005 16:47:17 +0000 (16:47 +0000)]
don't leak matchedDN

18 years agovarious cleanup
Pierangelo Masarati [Tue, 1 Nov 2005 16:36:17 +0000 (16:36 +0000)]
various cleanup

18 years agoITS#4132 reset CACHE_ENTRY_ONELEVEL when complete. Fell out from a bad merge.
Howard Chu [Tue, 1 Nov 2005 15:52:44 +0000 (15:52 +0000)]
ITS#4132 reset CACHE_ENTRY_ONELEVEL when complete. Fell out from a bad merge.

18 years agoFix prev commit
Howard Chu [Tue, 1 Nov 2005 15:44:51 +0000 (15:44 +0000)]
Fix prev commit

18 years agoFree bind callback
Howard Chu [Tue, 1 Nov 2005 15:11:54 +0000 (15:11 +0000)]
Free bind callback

18 years agofix size of connection array (ITS#4131)
Pierangelo Masarati [Tue, 1 Nov 2005 14:12:12 +0000 (14:12 +0000)]
fix size of connection array (ITS#4131)

18 years agoeat up values of removed attrs
Pierangelo Masarati [Tue, 1 Nov 2005 13:42:51 +0000 (13:42 +0000)]
eat up values of removed attrs

18 years agobetter fix: in case of error during bind, just bail out (very conservative, though)
Pierangelo Masarati [Tue, 1 Nov 2005 11:00:55 +0000 (11:00 +0000)]
better fix: in case of error during bind, just bail out (very conservative, though)

18 years agofix incorrect bind error (ITS#4129)
Pierangelo Masarati [Tue, 1 Nov 2005 09:47:30 +0000 (09:47 +0000)]
fix incorrect bind error (ITS#4129)

18 years agoallow descriptions in -d for tools as well; test as much as possible about pid/args...
Pierangelo Masarati [Mon, 31 Oct 2005 18:48:12 +0000 (18:48 +0000)]
allow descriptions in -d for tools as well; test as much as possible about pid/args files in slaptest

18 years agoallow the "none" log level
Pierangelo Masarati [Mon, 31 Oct 2005 17:46:03 +0000 (17:46 +0000)]
allow the "none" log level

18 years agofix usage
Pierangelo Masarati [Mon, 31 Oct 2005 16:40:11 +0000 (16:40 +0000)]
fix usage

18 years agocheck length (FIXME: snprintf return value may not be portable?)
Pierangelo Masarati [Mon, 31 Oct 2005 16:23:27 +0000 (16:23 +0000)]
check length (FIXME: snprintf return value may not be portable?)

18 years agocleanup namespace (ITS#423)
Pierangelo Masarati [Mon, 31 Oct 2005 16:08:33 +0000 (16:08 +0000)]
cleanup namespace (ITS#423)

18 years agoaddress ITS#4127 (please review)
Pierangelo Masarati [Mon, 31 Oct 2005 16:00:51 +0000 (16:00 +0000)]
address ITS#4127 (please review)

18 years agomore about ITS#4128; please review
Pierangelo Masarati [Mon, 31 Oct 2005 15:33:30 +0000 (15:33 +0000)]
more about ITS#4128; please review

18 years agoaddress ITS#4128; please review
Pierangelo Masarati [Mon, 31 Oct 2005 15:27:26 +0000 (15:27 +0000)]
address ITS#4128; please review

18 years agoconsistently use HSTRERROR (ITS#4124)
Pierangelo Masarati [Mon, 31 Oct 2005 15:04:37 +0000 (15:04 +0000)]
consistently use HSTRERROR (ITS#4124)

18 years agoPartial fix for ITS#3850, stop spurious "deferring: binding" messages.
Howard Chu [Sun, 30 Oct 2005 09:53:15 +0000 (09:53 +0000)]
Partial fix for ITS#3850, stop spurious "deferring: binding" messages.
Make sure conn state is reset before reply reaches client. Hang still
occurs in RE22, not in RE23.

18 years agoFix slap_callback processing, make sure it's safe for callbacks to
Howard Chu [Sun, 30 Oct 2005 09:50:48 +0000 (09:50 +0000)]
Fix slap_callback processing, make sure it's safe for callbacks to
delete themselves at any time.

18 years agoAdd slapd-bind to Makefile, update bind notes.
Howard Chu [Sun, 30 Oct 2005 08:57:06 +0000 (08:57 +0000)]
Add slapd-bind to Makefile, update bind notes.

18 years agoFix uninit'd rc
Howard Chu [Sun, 30 Oct 2005 07:42:08 +0000 (07:42 +0000)]
Fix uninit'd rc

18 years agoFix epoll, just handle wake events in the order they arrived.
Howard Chu [Sun, 30 Oct 2005 00:50:59 +0000 (00:50 +0000)]
Fix epoll, just handle wake events in the order they arrived.

18 years agoProvide unique error message for ldap_parse_extended_result
Kurt Zeilenga [Sat, 29 Oct 2005 23:42:12 +0000 (23:42 +0000)]
Provide unique error message for ldap_parse_extended_result

18 years agoUpdate libtool to 1.5.20
Kurt Zeilenga [Sat, 29 Oct 2005 23:37:13 +0000 (23:37 +0000)]
Update libtool to 1.5.20

18 years agoAdd commented-out 'top'
Kurt Zeilenga [Sat, 29 Oct 2005 23:36:57 +0000 (23:36 +0000)]
Add commented-out 'top'

18 years agoITS#4108 fix another accept/read race condition
Howard Chu [Sat, 29 Oct 2005 15:16:35 +0000 (15:16 +0000)]
ITS#4108 fix another accept/read race condition

18 years agodo not return success; frontend already does (ITS#4122)
Pierangelo Masarati [Sat, 29 Oct 2005 12:49:57 +0000 (12:49 +0000)]
do not return success; frontend already does (ITS#4122)

18 years agoPerform binds in a loop, using either a single DN or many DNs
Howard Chu [Sat, 29 Oct 2005 07:22:35 +0000 (07:22 +0000)]
Perform binds in a loop, using either a single DN or many DNs

18 years agoFix debug msg
Howard Chu [Sat, 29 Oct 2005 04:24:23 +0000 (04:24 +0000)]
Fix debug msg

18 years agoITS#4108 Cleanup accept/close race conditions.
Howard Chu [Sat, 29 Oct 2005 04:17:56 +0000 (04:17 +0000)]
ITS#4108 Cleanup accept/close race conditions.

18 years agoCleanup, fix ITS#4120
Howard Chu [Sat, 29 Oct 2005 02:06:32 +0000 (02:06 +0000)]
Cleanup, fix ITS#4120

18 years agoFix ITS#4119, option char left over after rev 1.185
Howard Chu [Fri, 28 Oct 2005 22:55:22 +0000 (22:55 +0000)]
Fix ITS#4119, option char left over after rev 1.185

18 years agoFix prev commit, spawns unnecessary threads.
Howard Chu [Fri, 28 Oct 2005 10:31:21 +0000 (10:31 +0000)]
Fix prev commit, spawns unnecessary threads.

18 years agoITS#4017 add TLSDHParamFile
Howard Chu [Fri, 28 Oct 2005 06:55:16 +0000 (06:55 +0000)]
ITS#4017 add TLSDHParamFile

18 years agoITS#4017 add TLSDHParamFile
Howard Chu [Fri, 28 Oct 2005 05:42:56 +0000 (05:42 +0000)]
ITS#4017 add TLSDHParamFile

18 years agoITS#4017, additional revisions for DH parameters
Howard Chu [Fri, 28 Oct 2005 05:35:19 +0000 (05:35 +0000)]
ITS#4017, additional revisions for DH parameters

18 years agoreqMod / reqOld must be OctetString to accomodate all possible values
Howard Chu [Fri, 28 Oct 2005 03:31:04 +0000 (03:31 +0000)]
reqMod / reqOld must be OctetString to accomodate all possible values

18 years agoComment out obsolete ucdata-path directive
Howard Chu [Fri, 28 Oct 2005 03:24:53 +0000 (03:24 +0000)]
Comment out obsolete ucdata-path directive

18 years agoOne more try, deleted corrupt revision. Add tool-threads keyword.
Howard Chu [Fri, 28 Oct 2005 03:17:10 +0000 (03:17 +0000)]
One more try, deleted corrupt revision. Add tool-threads keyword.

18 years agoITS#4111 fix mask_to_verbs return value
Howard Chu [Fri, 28 Oct 2005 01:57:40 +0000 (01:57 +0000)]
ITS#4111 fix mask_to_verbs return value

18 years agoFix pool_submit, create threads as long as we're under the max count.
Howard Chu [Thu, 27 Oct 2005 21:55:18 +0000 (21:55 +0000)]
Fix pool_submit, create threads as long as we're under the max count.

18 years agoUse #ifdef BDB_TOOL_IDL_CACHE to enable IDL cache. Leave disabled for
Howard Chu [Thu, 27 Oct 2005 13:57:48 +0000 (13:57 +0000)]
Use #ifdef BDB_TOOL_IDL_CACHE to enable IDL cache. Leave disabled for
now, it appears to just slow things down.

18 years agoFix cache flush / retry sequencing
Howard Chu [Thu, 27 Oct 2005 13:38:21 +0000 (13:38 +0000)]
Fix cache flush / retry sequencing

18 years agoRevert to previous IDL cache scheme. Doesn't seem to help much in
Howard Chu [Thu, 27 Oct 2005 12:00:26 +0000 (12:00 +0000)]
Revert to previous IDL cache scheme. Doesn't seem to help much in
the threaded case, may be best without it.

18 years agoMulti-threaded slapindex
Howard Chu [Thu, 27 Oct 2005 10:34:33 +0000 (10:34 +0000)]
Multi-threaded slapindex

18 years agoAdd tool-threads config keyword, init thread pool in tool mode.
Howard Chu [Thu, 27 Oct 2005 09:29:42 +0000 (09:29 +0000)]
Add tool-threads config keyword, init thread pool in tool mode.

18 years agoFix IDL caching
Howard Chu [Thu, 27 Oct 2005 01:41:34 +0000 (01:41 +0000)]
Fix IDL caching

18 years agoUse sorted array for indexed attrs instead of AVL tree
Howard Chu [Wed, 26 Oct 2005 08:31:38 +0000 (08:31 +0000)]
Use sorted array for indexed attrs instead of AVL tree

18 years agoFix notags/nosubtypes handling
Howard Chu [Wed, 26 Oct 2005 06:36:34 +0000 (06:36 +0000)]
Fix notags/nosubtypes handling

18 years agoBetter IDL cache allocation
Howard Chu [Wed, 26 Oct 2005 05:24:41 +0000 (05:24 +0000)]
Better IDL cache allocation

18 years agoITS#4101 fgets leaves NL in input buffer
Howard Chu [Tue, 25 Oct 2005 21:37:37 +0000 (21:37 +0000)]
ITS#4101 fgets leaves NL in input buffer

18 years agofix previous commit
Pierangelo Masarati [Tue, 25 Oct 2005 14:50:05 +0000 (14:50 +0000)]
fix previous commit

18 years agoLower id2entry cache priority in tool mode
Howard Chu [Tue, 25 Oct 2005 10:54:04 +0000 (10:54 +0000)]
Lower id2entry cache priority in tool mode

18 years agohdb doesn't need to fix DNs for slapindex
Howard Chu [Tue, 25 Oct 2005 08:40:01 +0000 (08:40 +0000)]
hdb doesn't need to fix DNs for slapindex

18 years agofix handling of invalid DN-valued attrs (ITS#4107)
Pierangelo Masarati [Mon, 24 Oct 2005 20:22:08 +0000 (20:22 +0000)]
fix handling of invalid DN-valued attrs (ITS#4107)

18 years agosubstring indexing optimization
Howard Chu [Sun, 23 Oct 2005 22:38:15 +0000 (22:38 +0000)]
substring indexing optimization

18 years agoAdd IDL caching for slapadd/slapindex quick mode
Howard Chu [Sat, 22 Oct 2005 21:41:58 +0000 (21:41 +0000)]
Add IDL caching for slapadd/slapindex quick mode