]> git.sur5r.net Git - openldap/log
openldap
21 years agoRound 2
Kurt Zeilenga [Fri, 21 Feb 2003 19:27:54 +0000 (19:27 +0000)]
Round 2

21 years agoAdd a safety value
Kurt Zeilenga [Fri, 21 Feb 2003 18:51:27 +0000 (18:51 +0000)]
Add a safety value

21 years agoA little cleanup of last 2 commits
Kurt Zeilenga [Fri, 21 Feb 2003 18:42:15 +0000 (18:42 +0000)]
A little cleanup of last 2 commits

21 years agoForgot to remove one prompts free
Kurt Zeilenga [Fri, 21 Feb 2003 18:41:05 +0000 (18:41 +0000)]
Forgot to remove one prompts free

21 years agoITS#2325 fix: properly freeing prompts->results
Kurt Zeilenga [Fri, 21 Feb 2003 18:39:26 +0000 (18:39 +0000)]
ITS#2325 fix: properly freeing prompts->results

21 years agoWhoops. (I'm reconsidering whether or not to accept the ITS#2325.)
Kurt Zeilenga [Fri, 21 Feb 2003 17:48:03 +0000 (17:48 +0000)]
Whoops.  (I'm reconsidering whether or not to accept the ITS#2325.)

21 years agoRevert last commit
Kurt Zeilenga [Fri, 21 Feb 2003 17:46:11 +0000 (17:46 +0000)]
Revert last commit

21 years agoBack out interact free() fixes. Will fix properly in next commit.
Kurt Zeilenga [Fri, 21 Feb 2003 17:11:46 +0000 (17:11 +0000)]
Back out interact free() fixes.  Will fix properly in next commit.

21 years agoChange - bdb_tool_entry_put always "sorts" entries:
Howard Chu [Fri, 21 Feb 2003 10:13:20 +0000 (10:13 +0000)]
Change - bdb_tool_entry_put always "sorts" entries:
  instead of just calling bdb_next_id, it calls bdb_dn2id to see if the
    current entry already has an ID. If so, it uses it.
  if not, it recurses to see if its parent exists, and does dn2id_add from
    the database suffix back to the current entry.

21 years agoMax workers was lowered to 16.
Kurt Zeilenga [Fri, 21 Feb 2003 07:18:43 +0000 (07:18 +0000)]
Max workers was lowered to 16.

21 years agoFix ITS#2320, check for NULL re->re_replicas
Howard Chu [Fri, 21 Feb 2003 02:14:46 +0000 (02:14 +0000)]
Fix ITS#2320, check for NULL re->re_replicas

21 years agoITS#2318: unlink pid file (and args file)
Kurt Zeilenga [Wed, 19 Feb 2003 20:47:57 +0000 (20:47 +0000)]
ITS#2318: unlink pid file (and args file)

21 years agoITS#2236. Add missing connections_shutdown() call.
Kurt Zeilenga [Wed, 19 Feb 2003 20:39:04 +0000 (20:39 +0000)]
ITS#2236.  Add missing connections_shutdown() call.

21 years agoMore understandable error text
Kurt Zeilenga [Wed, 19 Feb 2003 16:19:13 +0000 (16:19 +0000)]
More understandable error text

21 years agoFix do/don't send result logic
Howard Chu [Wed, 19 Feb 2003 00:01:22 +0000 (00:01 +0000)]
Fix do/don't send result logic

21 years agoFix schema errors in tests
Kurt Zeilenga [Mon, 17 Feb 2003 21:36:17 +0000 (21:36 +0000)]
Fix schema errors in tests

21 years agoFix -ULDAP_CLIENT_UPDATE bug (mine)
Kurt Zeilenga [Mon, 17 Feb 2003 17:57:19 +0000 (17:57 +0000)]
Fix -ULDAP_CLIENT_UPDATE bug (mine)

21 years agoLower SLAP_MAX_WORKER_THREAD to 16 (from 32)
Kurt Zeilenga [Mon, 17 Feb 2003 17:36:01 +0000 (17:36 +0000)]
Lower SLAP_MAX_WORKER_THREAD to 16 (from 32)

21 years agoDon't spawn threads based on ltp_pending_count, it doesn't get decremented
Howard Chu [Mon, 17 Feb 2003 12:10:41 +0000 (12:10 +0000)]
Don't spawn threads based on ltp_pending_count, it doesn't get decremented
right away due to ltp_mutex still being held. Just see if all open threads
are active... Use cond_broadcast to signal all waiting threads. Make sure
to remove correct ctx from active list after the thread returns.

21 years agoRevert previous kludge in controls.c, use ldap_pvt_thread_pool_context
Howard Chu [Sun, 16 Feb 2003 19:34:29 +0000 (19:34 +0000)]
Revert previous kludge in controls.c, use ldap_pvt_thread_pool_context
instead if c_sasl_bindop is NULL.

21 years agoKludge - set conn->c_sasl_bindop before calling slap_sasl_getdn, otherwise
Howard Chu [Sun, 16 Feb 2003 12:23:00 +0000 (12:23 +0000)]
Kludge - set conn->c_sasl_bindop before calling slap_sasl_getdn, otherwise
op->o_threadctx is inaccessible.

21 years agoSuppress warning
Howard Chu [Sun, 16 Feb 2003 12:22:06 +0000 (12:22 +0000)]
Suppress warning

21 years agoAdded proxy-whoami keyword for forwarding whoami requests.
Howard Chu [Sun, 16 Feb 2003 11:21:15 +0000 (11:21 +0000)]
Added proxy-whoami keyword for forwarding whoami requests.

21 years agoUse bervals, use LDAP_CONTROL_PROXY_AUTHZ instead of proxied bind
Howard Chu [Sun, 16 Feb 2003 11:15:10 +0000 (11:15 +0000)]
Use bervals, use LDAP_CONTROL_PROXY_AUTHZ instead of proxied bind

21 years agoUse struct berval * instead of ** for newpasswd
Howard Chu [Sun, 16 Feb 2003 09:42:04 +0000 (09:42 +0000)]
Use struct berval * instead of ** for newpasswd

21 years agoFix ber_scanf args
Howard Chu [Sun, 16 Feb 2003 09:30:45 +0000 (09:30 +0000)]
Fix ber_scanf args

21 years agoAdded passwd_exop, added matchedDN rewrite for results.
Howard Chu [Sun, 16 Feb 2003 09:22:44 +0000 (09:22 +0000)]
Added passwd_exop, added matchedDN rewrite for results.

21 years agoFix ber_printf arguments
Howard Chu [Sun, 16 Feb 2003 08:37:19 +0000 (08:37 +0000)]
Fix ber_printf arguments

21 years agoUse struct berval for exop reqoid everywhere. Define berval constants
Howard Chu [Sun, 16 Feb 2003 06:15:28 +0000 (06:15 +0000)]
Use struct berval for exop reqoid everywhere. Define berval constants
for the known exops.

21 years agoFree default_passwd_hash on cleanup
Howard Chu [Sun, 16 Feb 2003 06:13:34 +0000 (06:13 +0000)]
Free default_passwd_hash on cleanup

21 years agomore cleanup
Kurt Zeilenga [Sat, 15 Feb 2003 18:20:37 +0000 (18:20 +0000)]
more cleanup

21 years agocleanup
Kurt Zeilenga [Sat, 15 Feb 2003 17:51:47 +0000 (17:51 +0000)]
cleanup

21 years agoUpdate comment
Kurt Zeilenga [Sat, 15 Feb 2003 16:38:32 +0000 (16:38 +0000)]
Update comment

21 years agoSet stack size for created threads
Howard Chu [Fri, 14 Feb 2003 23:52:38 +0000 (23:52 +0000)]
Set stack size for created threads

21 years agoOnly install readahead layer when connectionless as
Kurt Zeilenga [Fri, 14 Feb 2003 23:32:30 +0000 (23:32 +0000)]
Only install readahead layer when connectionless as
streams as streams may block.

21 years agoFix typo in last commit
Kurt Zeilenga [Fri, 14 Feb 2003 23:14:19 +0000 (23:14 +0000)]
Fix typo in last commit

21 years agoUse bdb_unlocked_cache_return; lock ended when TXN ended.
Howard Chu [Fri, 14 Feb 2003 22:30:07 +0000 (22:30 +0000)]
Use bdb_unlocked_cache_return; lock ended when TXN ended.

21 years agoUse function pointers to get at backend routines.
Kurt Zeilenga [Fri, 14 Feb 2003 20:51:35 +0000 (20:51 +0000)]
Use function pointers to get at backend routines.

21 years agoFix previous commit
Howard Chu [Fri, 14 Feb 2003 10:27:39 +0000 (10:27 +0000)]
Fix previous commit

21 years agoFix previous commit
Howard Chu [Fri, 14 Feb 2003 09:17:42 +0000 (09:17 +0000)]
Fix previous commit

21 years agoUse extended async APIs to allow direct parsing of results. Otherwise
Howard Chu [Fri, 14 Feb 2003 05:23:45 +0000 (05:23 +0000)]
Use extended async APIs to allow direct parsing of results. Otherwise
they will be interleaved in LDAP*. Avoid setting any options on the handle.

21 years agoChange "-Ddef" example to something harmless and hopefully more obvious.
Howard Chu [Thu, 13 Feb 2003 23:58:54 +0000 (23:58 +0000)]
Change "-Ddef" example to something harmless and hopefully more obvious.

21 years agoImplemented connection pooling. Requires libldap_r to allow multiple threads
Howard Chu [Thu, 13 Feb 2003 23:29:56 +0000 (23:29 +0000)]
Implemented connection pooling. Requires libldap_r to allow multiple threads
to access the same LDAP* handle.

21 years agoRevert previous, wasn't broken.
Howard Chu [Thu, 13 Feb 2003 23:19:51 +0000 (23:19 +0000)]
Revert previous, wasn't broken.

21 years agoFix typo in peercred DN. Make it agree with actual name used by slapd
Howard Chu [Thu, 13 Feb 2003 23:11:30 +0000 (23:11 +0000)]
Fix typo in peercred DN. Make it agree with actual name used by slapd
just to avoid confusion.

21 years agoMore for re-entrant LDAP* handles. Works much better.
Howard Chu [Thu, 13 Feb 2003 23:02:31 +0000 (23:02 +0000)]
More for re-entrant LDAP* handles. Works much better.

21 years agoPlace SLAP_EXTENDED_SCHEMA behind defined(LDAP_DEVEL)
Kurt Zeilenga [Thu, 13 Feb 2003 20:47:46 +0000 (20:47 +0000)]
Place SLAP_EXTENDED_SCHEMA behind defined(LDAP_DEVEL)

21 years agoAdded ld_req_mutex and ld_res_mutex to protect ld_requests and ld_responses
Howard Chu [Thu, 13 Feb 2003 10:43:16 +0000 (10:43 +0000)]
Added ld_req_mutex and ld_res_mutex to protect ld_requests and ld_responses
queues for multithreaded access to LDAP*'s. Also used to protect writes and
reads of ld_sb, respectively. Appears to work...

21 years agoFix uninit'd timeout value
Howard Chu [Thu, 13 Feb 2003 10:24:32 +0000 (10:24 +0000)]
Fix uninit'd timeout value

21 years agoAdded support for "-H" arg with LDAP uri / ldap_initialize
Howard Chu [Thu, 13 Feb 2003 08:02:40 +0000 (08:02 +0000)]
Added support for "-H" arg with LDAP uri / ldap_initialize

21 years agominor cleanup
Pierangelo Masarati [Tue, 11 Feb 2003 09:23:28 +0000 (09:23 +0000)]
minor cleanup

21 years agoimprove error handling
Pierangelo Masarati [Mon, 10 Feb 2003 22:34:06 +0000 (22:34 +0000)]
improve error handling

21 years agopartially fix ITS#2310
Pierangelo Masarati [Mon, 10 Feb 2003 21:37:30 +0000 (21:37 +0000)]
partially fix ITS#2310

21 years agoMisc updates
Kurt Zeilenga [Mon, 10 Feb 2003 20:33:49 +0000 (20:33 +0000)]
Misc updates

21 years agoRemove lint
Kurt Zeilenga [Mon, 10 Feb 2003 19:59:32 +0000 (19:59 +0000)]
Remove lint

21 years agofix ITS#2309
Pierangelo Masarati [Mon, 10 Feb 2003 18:15:36 +0000 (18:15 +0000)]
fix ITS#2309

21 years agoFix undef'd code for empty attributes.
Howard Chu [Mon, 10 Feb 2003 07:41:30 +0000 (07:41 +0000)]
Fix undef'd code for empty attributes.

21 years agoUse existing --enable-dynamic flag to unset -static.
Kurt Zeilenga [Mon, 10 Feb 2003 06:36:08 +0000 (06:36 +0000)]
Use existing --enable-dynamic flag to unset -static.
May break NT use of flag...

21 years agoMove include <slapi.h> behind #ifdef
Kurt Zeilenga [Mon, 10 Feb 2003 02:09:00 +0000 (02:09 +0000)]
Move include <slapi.h> behind #ifdef

21 years agos/LDAP_SUCCESS/LDAP_OPT_SUCCESS/
Kurt Zeilenga [Mon, 10 Feb 2003 01:48:04 +0000 (01:48 +0000)]
s/LDAP_SUCCESS/LDAP_OPT_SUCCESS/

21 years agoAdd library version check to prevent mismatch during dynamic linking
Kurt Zeilenga [Mon, 10 Feb 2003 01:43:41 +0000 (01:43 +0000)]
Add library version check to prevent mismatch during dynamic linking

21 years agoUse ldapmodify -a instead of ldapadd.
Kurt Zeilenga [Sun, 9 Feb 2003 23:38:21 +0000 (23:38 +0000)]
Use ldapmodify -a instead of ldapadd.

21 years agotweak from rb@debian.org
Kurt Zeilenga [Sun, 9 Feb 2003 23:24:29 +0000 (23:24 +0000)]
tweak from rb@debian.org

21 years agoFix DESTDIR to work without --static
Kurt Zeilenga [Sun, 9 Feb 2003 23:21:15 +0000 (23:21 +0000)]
Fix DESTDIR to work without --static

21 years agoWe should be calling libtool --finish when install libraries
Kurt Zeilenga [Sun, 9 Feb 2003 23:10:29 +0000 (23:10 +0000)]
We should be calling libtool --finish when install libraries

21 years agoLTSTATIC update
Kurt Zeilenga [Sun, 9 Feb 2003 18:03:39 +0000 (18:03 +0000)]
LTSTATIC update

21 years agoAdd LDBM comment
Kurt Zeilenga [Sun, 9 Feb 2003 16:59:04 +0000 (16:59 +0000)]
Add LDBM comment

21 years agoMisc LCUP cleanup
Kurt Zeilenga [Sun, 9 Feb 2003 08:43:20 +0000 (08:43 +0000)]
Misc LCUP cleanup

21 years agoNot yet implemented.
Kurt Zeilenga [Sun, 9 Feb 2003 08:21:10 +0000 (08:21 +0000)]
Not yet implemented.

21 years agounifdef -DLDAP_NOCACHE
Kurt Zeilenga [Sun, 9 Feb 2003 07:42:18 +0000 (07:42 +0000)]
unifdef -DLDAP_NOCACHE

21 years agono more suffix_alias
Kurt Zeilenga [Sun, 9 Feb 2003 07:28:15 +0000 (07:28 +0000)]
no more suffix_alias

21 years agoITS#2117: remove suffixalias support until someone fixes it
Kurt Zeilenga [Sun, 9 Feb 2003 07:20:03 +0000 (07:20 +0000)]
ITS#2117: remove suffixalias support until someone fixes it

21 years agoRemove domain= ACL examples, add security consideration.
Kurt Zeilenga [Sun, 9 Feb 2003 07:07:39 +0000 (07:07 +0000)]
Remove domain= ACL examples, add security consideration.

21 years agoDocument URI and SASL directives
Kurt Zeilenga [Sun, 9 Feb 2003 06:49:34 +0000 (06:49 +0000)]
Document URI and SASL directives

21 years agoadd domainScope control support
Kurt Zeilenga [Sun, 9 Feb 2003 06:14:06 +0000 (06:14 +0000)]
add domainScope control support

21 years agoCancel exop updates
Kurt Zeilenga [Sun, 9 Feb 2003 05:54:45 +0000 (05:54 +0000)]
Cancel exop updates

21 years agorename "permit modify" control to "permissive modify"
Kurt Zeilenga [Sun, 9 Feb 2003 05:39:21 +0000 (05:39 +0000)]
rename "permit modify" control to "permissive modify"
rename "no referrals" controls to "domain scope"
misc cleanup

21 years agoConsistently add cancel.c to makefiles
Kurt Zeilenga [Sun, 9 Feb 2003 01:54:41 +0000 (01:54 +0000)]
Consistently add cancel.c to makefiles

21 years agoRework #ifdef'ing of expermental controls to ease release engineering
Kurt Zeilenga [Sat, 8 Feb 2003 21:53:05 +0000 (21:53 +0000)]
Rework #ifdef'ing of expermental controls to ease release engineering
using LDAP_DEVEL (to indicate experimental) to enable experimental features
(true for HEAD unless LDAP_REL_ENG is defined)

21 years agoextern'ize
Kurt Zeilenga [Sat, 8 Feb 2003 19:18:46 +0000 (19:18 +0000)]
extern'ize

21 years agoDisable reverse lookups by default for security
Kurt Zeilenga [Sat, 8 Feb 2003 07:40:19 +0000 (07:40 +0000)]
Disable reverse lookups by default for security
(and performance) reasons.

21 years agoUse DB_VERSION_ to set BDB_ENOUGH
Kurt Zeilenga [Sat, 8 Feb 2003 07:38:22 +0000 (07:38 +0000)]
Use DB_VERSION_ to set BDB_ENOUGH

21 years agoReword BDB 4.0 bug comment now that configure requires BDB 4.1
Kurt Zeilenga [Sat, 8 Feb 2003 01:34:27 +0000 (01:34 +0000)]
Reword BDB 4.0 bug comment now that configure requires BDB 4.1

21 years agoAdd -ldb41 linking
Kurt Zeilenga [Sat, 8 Feb 2003 01:15:35 +0000 (01:15 +0000)]
Add -ldb41 linking

21 years agominor code cleanup
Kurt Zeilenga [Sat, 8 Feb 2003 00:57:21 +0000 (00:57 +0000)]
minor code cleanup

21 years agoRequire BDB 4.1 for back-bdb
Kurt Zeilenga [Sat, 8 Feb 2003 00:56:15 +0000 (00:56 +0000)]
Require BDB 4.1 for back-bdb

21 years agoAssign OIDs for LDAP Sync
Kurt Zeilenga [Fri, 7 Feb 2003 21:39:31 +0000 (21:39 +0000)]
Assign OIDs for LDAP Sync

21 years agocleanup
Kurt Zeilenga [Fri, 7 Feb 2003 20:33:05 +0000 (20:33 +0000)]
cleanup

21 years agocleanup
Jong Hyuk Choi [Fri, 7 Feb 2003 20:16:09 +0000 (20:16 +0000)]
cleanup

21 years agoMove RDN checks to entry_schema_check() so that it is consistently
Kurt Zeilenga [Fri, 7 Feb 2003 20:12:26 +0000 (20:12 +0000)]
Move RDN checks to entry_schema_check() so that it is consistently
applied (and disabled via schemacheck off).  Removed add-rdn-values flag.

21 years agoShouldn't need <lber.h>
Kurt Zeilenga [Fri, 7 Feb 2003 19:08:13 +0000 (19:08 +0000)]
Shouldn't need <lber.h>

21 years agoreally put SLAPI behind its #ifdef
Kurt Zeilenga [Fri, 7 Feb 2003 19:06:15 +0000 (19:06 +0000)]
really put SLAPI behind its #ifdef

21 years agocode cleanup
Kurt Zeilenga [Fri, 7 Feb 2003 19:05:45 +0000 (19:05 +0000)]
code cleanup

21 years agouse of normalized dn (fix for a deadlock case ITS#2195)
Jong Hyuk Choi [Fri, 7 Feb 2003 15:59:24 +0000 (15:59 +0000)]
use of normalized dn (fix for a deadlock case ITS#2195)

21 years agouse of pre-assigned locker in bdb_group() / bdb_attribute()
Jong Hyuk Choi [Fri, 7 Feb 2003 15:47:32 +0000 (15:47 +0000)]
use of pre-assigned locker in bdb_group() / bdb_attribute()

21 years agosome (poor) index cleanup
Pierangelo Masarati [Fri, 7 Feb 2003 15:20:57 +0000 (15:20 +0000)]
some (poor) index cleanup

21 years agoadd 'add-rdn-values {on|off}' (default off) switch
Pierangelo Masarati [Fri, 7 Feb 2003 15:19:58 +0000 (15:19 +0000)]
add 'add-rdn-values {on|off}' (default off) switch

21 years agocleanup
Pierangelo Masarati [Fri, 7 Feb 2003 15:18:43 +0000 (15:18 +0000)]
cleanup

21 years agomore exaustive logging in case of trouble
Pierangelo Masarati [Fri, 7 Feb 2003 13:46:17 +0000 (13:46 +0000)]
more exaustive logging in case of trouble

21 years agoI suggest the coder(s) of the cyrus stuff to check out the prompt stuff
Pierangelo Masarati [Fri, 7 Feb 2003 09:58:21 +0000 (09:58 +0000)]
I suggest the coder(s) of the cyrus stuff to check out the prompt stuff