]> git.sur5r.net Git - openldap/log
openldap
17 years agoRegenerate
Hallvard Furuseth [Fri, 18 May 2007 18:53:10 +0000 (18:53 +0000)]
Regenerate

17 years agoOnly use terminal escapes (in $TB/$TN) when printing to a terminal.
Hallvard Furuseth [Fri, 18 May 2007 18:42:59 +0000 (18:42 +0000)]
Only use terminal escapes (in $TB/$TN) when printing to a terminal.

17 years agoITS#4972: $LDAP_THREAD_DEBUG, detached threads, debug_already_initialized().
Hallvard Furuseth [Fri, 18 May 2007 17:49:38 +0000 (17:49 +0000)]
ITS#4972: $LDAP_THREAD_DEBUG, detached threads, debug_already_initialized().

Also plug a memory leak, set state vars even when unused for the sake of
debugging, and tweak some readability issues & data types.

17 years agoclean-local: Delete configpw configpw.conf
Hallvard Furuseth [Fri, 18 May 2007 15:32:50 +0000 (15:32 +0000)]
clean-local: Delete configpw configpw.conf

17 years agoReadability patch: ERRVAL() macro for pthreads < 7 vs. >= 7 return values.
Hallvard Furuseth [Fri, 18 May 2007 15:28:09 +0000 (15:28 +0000)]
Readability patch: ERRVAL() macro for pthreads < 7 vs. >= 7 return values.

17 years agoRe-fixing ITS#2667: test -a and test -o unportable, use && and ||.
Hallvard Furuseth [Fri, 18 May 2007 15:23:28 +0000 (15:23 +0000)]
Re-fixing ITS#2667: test -a and test -o unportable, use && and ||.

17 years agoOnly define x509_cert_get_dn() when HAVE_GNUTLS. Remove unused variable.
Hallvard Furuseth [Fri, 18 May 2007 15:10:15 +0000 (15:10 +0000)]
Only define x509_cert_get_dn() when HAVE_GNUTLS.  Remove unused variable.

17 years agoprintf format paranoia: macros could be changed to contain format chars
Hallvard Furuseth [Fri, 18 May 2007 14:48:28 +0000 (14:48 +0000)]
printf format paranoia: macros could be changed to contain format chars

17 years agoUnused varaibles
Hallvard Furuseth [Fri, 18 May 2007 14:46:52 +0000 (14:46 +0000)]
Unused varaibles

17 years agoWarning cleanup (avoid cast double return val -> integer, gcc gets suspicious)
Hallvard Furuseth [Fri, 18 May 2007 14:45:56 +0000 (14:45 +0000)]
Warning cleanup (avoid cast double return val -> integer, gcc gets suspicious)

17 years agoinclude lber-int.h (for rev 1.396 certificate changes)
Hallvard Furuseth [Fri, 18 May 2007 14:41:28 +0000 (14:41 +0000)]
include lber-int.h (for rev 1.396 certificate changes)

17 years ago...
Pierangelo Masarati [Thu, 17 May 2007 13:57:20 +0000 (13:57 +0000)]
...

17 years agoHeader nitpick
Hallvard Furuseth [Wed, 16 May 2007 23:28:58 +0000 (23:28 +0000)]
Header nitpick

17 years agoSEE ALSO slapcat(8), slapd-ldif(5)
Hallvard Furuseth [Wed, 16 May 2007 23:27:41 +0000 (23:27 +0000)]
SEE ALSO slapcat(8), slapd-ldif(5)

17 years agoClarify "bind on"
Hallvard Furuseth [Wed, 16 May 2007 23:23:48 +0000 (23:23 +0000)]
Clarify "bind on"

17 years agoExplain rootDSE
Hallvard Furuseth [Wed, 16 May 2007 23:23:02 +0000 (23:23 +0000)]
Explain rootDSE

17 years agoallow array of more generic syntaxes
Pierangelo Masarati [Wed, 16 May 2007 09:13:14 +0000 (09:13 +0000)]
allow array of more generic syntaxes

17 years agoallow attribute inheritance with syntax restriction (please review)
Pierangelo Masarati [Wed, 16 May 2007 01:40:34 +0000 (01:40 +0000)]
allow attribute inheritance with syntax restriction (please review)

17 years agofurther cleanup round in back-relay database selection; cleanup
Pierangelo Masarati [Wed, 16 May 2007 01:39:41 +0000 (01:39 +0000)]
further cleanup round in back-relay database selection; cleanup

17 years agocheck for NULL dn in URL; set error code before seding extended response (partially...
Pierangelo Masarati [Tue, 15 May 2007 22:29:06 +0000 (22:29 +0000)]
check for NULL dn in URL; set error code before seding extended response (partially addresses ITS#4968)

17 years agoFix GNUtls acknowledgement, initial work by Matt Backes. Sponsored by
Howard Chu [Mon, 14 May 2007 23:35:36 +0000 (23:35 +0000)]
Fix GNUtls acknowledgement, initial work by Matt Backes. Sponsored by
The Written Word and Stanford University.

17 years agoITS#4961 disable schema checking on contextCSN update
Howard Chu [Mon, 14 May 2007 21:25:48 +0000 (21:25 +0000)]
ITS#4961 disable schema checking on contextCSN update

17 years agomake openssl builds working again
Ralf Haferkamp [Mon, 14 May 2007 12:19:32 +0000 (12:19 +0000)]
make openssl builds working again

17 years agoapply fixes in ITS#4951 (tested)
Pierangelo Masarati [Sun, 13 May 2007 23:14:55 +0000 (23:14 +0000)]
apply fixes in ITS#4951 (tested)

17 years agoReapply part of rev 1.2 warning cleanup, it was lost in next revision
Hallvard Furuseth [Sun, 13 May 2007 22:32:33 +0000 (22:32 +0000)]
Reapply part of rev 1.2 warning cleanup, it was lost in next revision

17 years agoGNUtls - ignore free of NULL ctx
Howard Chu [Sun, 13 May 2007 09:43:41 +0000 (09:43 +0000)]
GNUtls - ignore free of NULL ctx

17 years agoDon't NUL-terminate bervals during DN parsing
Howard Chu [Sun, 13 May 2007 09:37:37 +0000 (09:37 +0000)]
Don't NUL-terminate bervals during DN parsing

17 years agoDon't use strdup on bervals
Howard Chu [Sun, 13 May 2007 09:36:52 +0000 (09:36 +0000)]
Don't use strdup on bervals

17 years agoTest no longer depends on --with-tls
Howard Chu [Sun, 13 May 2007 09:35:57 +0000 (09:35 +0000)]
Test no longer depends on --with-tls

17 years agoAdded GNUtls notes
Howard Chu [Sun, 13 May 2007 01:59:46 +0000 (01:59 +0000)]
Added GNUtls notes

17 years agoAdd CRLfile option for GNUtls
Howard Chu [Sun, 13 May 2007 01:34:12 +0000 (01:34 +0000)]
Add CRLfile option for GNUtls

17 years agoUse liblber for certificate Validation, Normalization
Howard Chu [Sun, 13 May 2007 01:27:51 +0000 (01:27 +0000)]
Use liblber for certificate Validation, Normalization

17 years agoMerged GNUtls support into main tls.c
Howard Chu [Sun, 13 May 2007 00:15:27 +0000 (00:15 +0000)]
Merged GNUtls support into main tls.c

17 years agoNo more dependency on OpenSSL
Howard Chu [Sat, 12 May 2007 23:44:58 +0000 (23:44 +0000)]
No more dependency on OpenSSL

17 years agoAdd back-monitor (and its OID arc) to Backend/Database registry
Hallvard Furuseth [Sat, 12 May 2007 17:55:37 +0000 (17:55 +0000)]
Add back-monitor (and its OID arc) to Backend/Database registry

17 years agoif no database can be looked up, don't send result when not appropriate
Pierangelo Masarati [Sat, 12 May 2007 13:09:48 +0000 (13:09 +0000)]
if no database can be looked up, don't send result when not appropriate

17 years agodon't try to lookup a database when there's no request DN
Pierangelo Masarati [Sat, 12 May 2007 13:07:17 +0000 (13:07 +0000)]
don't try to lookup a database when there's no request DN

17 years agofix read off by one (spotted by valgrind)
Pierangelo Masarati [Sat, 12 May 2007 12:38:09 +0000 (12:38 +0000)]
fix read off by one (spotted by valgrind)

17 years agoFix for !(LDAP_DEBUG && LDAP_SYSLOG)
Hallvard Furuseth [Fri, 11 May 2007 23:04:33 +0000 (23:04 +0000)]
Fix for !(LDAP_DEBUG && LDAP_SYSLOG)

17 years agoComment fixes.
Hallvard Furuseth [Fri, 11 May 2007 18:48:13 +0000 (18:48 +0000)]
Comment fixes.
Corrected rev 1.67 cvs comment: ltu_key[] is NULL-terminated _when not full_.

17 years agoAdded ciphersuite support
Howard Chu [Thu, 10 May 2007 21:49:43 +0000 (21:49 +0000)]
Added ciphersuite support

17 years agoRegenerate with GNUtls additions
Howard Chu [Thu, 10 May 2007 20:33:41 +0000 (20:33 +0000)]
Regenerate with GNUtls additions

17 years agoAdd GNUtls detection
Howard Chu [Thu, 10 May 2007 20:33:10 +0000 (20:33 +0000)]
Add GNUtls detection

17 years agoFix typo in prev commit
Howard Chu [Thu, 10 May 2007 20:15:40 +0000 (20:15 +0000)]
Fix typo in prev commit

17 years agoAdd LDAP_OPT_X_TLS_CRLFILE, peer cert verification for GNUtls
Howard Chu [Thu, 10 May 2007 19:43:28 +0000 (19:43 +0000)]
Add LDAP_OPT_X_TLS_CRLFILE, peer cert verification for GNUtls

17 years agoITS#4954 clear c_sasl_dn after error
Howard Chu [Thu, 10 May 2007 19:34:27 +0000 (19:34 +0000)]
ITS#4954 clear c_sasl_dn after error

17 years agoITS#4952 use memcmp to compare CSN values
Howard Chu [Thu, 10 May 2007 18:46:15 +0000 (18:46 +0000)]
ITS#4952 use memcmp to compare CSN values

17 years agoSince we only have LDAP_MAXTHR thread_keys, allow max LDAP_MAXTHR
Hallvard Furuseth [Wed, 9 May 2007 23:25:03 +0000 (23:25 +0000)]
Since we only have LDAP_MAXTHR thread_keys, allow max LDAP_MAXTHR
threads per pool, even when ltp_max_count <= 0 ("unlimited").
Keep ltp_max_count in range [0, LDAP_MAXTHR].

17 years agoMake ldap_int_thread_userctx_t.ltu_key[] a proper NULL-terminated array.
Hallvard Furuseth [Wed, 9 May 2007 22:59:04 +0000 (22:59 +0000)]
Make ldap_int_thread_userctx_t.ltu_key[] a proper NULL-terminated array.
(setkey/getkey expected that, but purgekey could set a NULL in the middle.)
Added some checks for input key!=NULL.

API changes, need review - I'm not sure what's indented here:
- setkey(data=NULL, kfree!=NULL) searched as if intended to reset
  the key, but updated by setting the key.  Now always updates.
- setkey(key=<not found>, data=NULL) could return either success or
  failure.  Now succeeds iff (data == NULL && kfree == NULL).

17 years agothread_keys is a (poor) open-addessed hash table, but it lacked a
Hallvard Furuseth [Wed, 9 May 2007 22:22:44 +0000 (22:22 +0000)]
thread_keys is a (poor) open-addessed hash table, but it lacked a
"deleted item" mark.  Add DELETED_THREAD_CTX.
Also improve the hash function a bit, and make the hash unsigned.

17 years agoProtect thread_keys[] with ldap_pvt_thread_pool_mutex, except in
Hallvard Furuseth [Wed, 9 May 2007 21:38:28 +0000 (21:38 +0000)]
Protect thread_keys[] with ldap_pvt_thread_pool_mutex, except in
ldap_pvt_thread_pool_purgekey() which may only be called during pauses.

Thus, also wait for pauses to finish before accessing thread_keys in
ldap_int_thread_pool_wrapper().  This may prevent pending tasks from
being started when a pause had been requested, which seems to have been
possible.  If that was a feature, we can split ltp_pause==1 in 2 states:
in pause (causes wait), and pause requested.

Also move 'thread_keys[].id = <thread id>' from pool_submit to
pool_wrapper.  Until pool_wrapper set the ctx as well, thread context
lookup would just return NULL anyway.

17 years agoReplace state LDAP_INT_THREAD_POOL_PAUSING with member ltp_pause,
Hallvard Furuseth [Wed, 9 May 2007 19:53:25 +0000 (19:53 +0000)]
Replace state LDAP_INT_THREAD_POOL_PAUSING with member ltp_pause,
so a pause will work during states FINISHING and STOPPING.

Add missing waits and signals, and move waits in pool_wrapper().
Replace if(test) with while(test) when waiting for the multi-purpose
condition variable ltp_cond.

17 years agoITS#4943:
Hallvard Furuseth [Wed, 9 May 2007 19:34:49 +0000 (19:34 +0000)]
ITS#4943:
In ldap_pvt_thread_pool_submit(), when backing out of thread creation:
  ltp_pending_count '++' -> '--'.  Signal if there are no more threads.
In ldap_int_thread_pool_wrapper():
  if() -> assert() where false would result in eternal loop.

17 years agoDon't complain if detached threads exit after ldap_debug_thread_destroy().
Hallvard Furuseth [Wed, 9 May 2007 19:21:08 +0000 (19:21 +0000)]
Don't complain if detached threads exit after ldap_debug_thread_destroy().

17 years agoRemove unused variables
Hallvard Furuseth [Wed, 9 May 2007 19:11:44 +0000 (19:11 +0000)]
Remove unused variables

17 years agoassert(pointer) -> assert(pointer != NULL)
Hallvard Furuseth [Wed, 9 May 2007 19:10:36 +0000 (19:10 +0000)]
assert(pointer) -> assert(pointer != NULL)

17 years agoStruct/array initializers must be constant expressions in C89
Hallvard Furuseth [Wed, 9 May 2007 19:09:32 +0000 (19:09 +0000)]
Struct/array initializers must be constant expressions in C89

17 years agoCast Debug(%p) pointer argument to void*
Hallvard Furuseth [Wed, 9 May 2007 18:38:10 +0000 (18:38 +0000)]
Cast Debug(%p) pointer argument to void*

17 years agoRebuild
Hallvard Furuseth [Wed, 9 May 2007 18:19:17 +0000 (18:19 +0000)]
Rebuild

17 years agoITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup
Hallvard Furuseth [Wed, 9 May 2007 18:17:10 +0000 (18:17 +0000)]
ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup

17 years agocoverity scan, e is non-NULL
Howard Chu [Tue, 8 May 2007 14:17:21 +0000 (14:17 +0000)]
coverity scan, e is non-NULL

17 years agocoverity error, u->lud_scheme is mandatory
Howard Chu [Tue, 8 May 2007 14:13:18 +0000 (14:13 +0000)]
coverity error, u->lud_scheme is mandatory

17 years agocoverity scan, fix typo
Howard Chu [Tue, 8 May 2007 14:07:52 +0000 (14:07 +0000)]
coverity scan, fix typo

17 years agocoverity error, memory leak in file2anlist
Howard Chu [Tue, 8 May 2007 14:04:23 +0000 (14:04 +0000)]
coverity error, memory leak in file2anlist

17 years agocoverity scan, ch_realloc won't return NULL
Howard Chu [Tue, 8 May 2007 14:01:16 +0000 (14:01 +0000)]
coverity scan, ch_realloc won't return NULL

17 years agocoverity fix, slapd_rw_apply NULL filter
Howard Chu [Tue, 8 May 2007 13:57:13 +0000 (13:57 +0000)]
coverity fix, slapd_rw_apply NULL filter

17 years agofix comparison with string literal
Ralf Haferkamp [Mon, 7 May 2007 14:55:45 +0000 (14:55 +0000)]
fix comparison with string literal

17 years agoITS#4949 make config_syslog accumulate across multiple values
Howard Chu [Sat, 5 May 2007 01:22:29 +0000 (01:22 +0000)]
ITS#4949 make config_syslog accumulate across multiple values
Can set to zero to explicitly clear it. (As well as just deleting
all values.)

17 years agoITS#4939 fix typo
Howard Chu [Sun, 29 Apr 2007 06:14:03 +0000 (06:14 +0000)]
ITS#4939 fix typo

17 years agoITS#4917 preserve old sat_ad_mutex
Howard Chu [Tue, 24 Apr 2007 12:02:53 +0000 (12:02 +0000)]
ITS#4917 preserve old sat_ad_mutex

17 years agoDisallow runtime delete of modload values
Howard Chu [Tue, 24 Apr 2007 11:46:22 +0000 (11:46 +0000)]
Disallow runtime delete of modload values

17 years agoRevert prev commit, unnecessary
Howard Chu [Mon, 23 Apr 2007 14:27:07 +0000 (14:27 +0000)]
Revert prev commit, unnecessary

17 years agoITS#4935 SASL_MAX_BUFF_SIZE should be 2^24 - 1
Howard Chu [Mon, 23 Apr 2007 14:21:48 +0000 (14:21 +0000)]
ITS#4935 SASL_MAX_BUFF_SIZE should be 2^24 - 1

17 years agoDistinguish absent control value from empty control value.
Kurt Zeilenga [Fri, 20 Apr 2007 22:32:58 +0000 (22:32 +0000)]
Distinguish absent control value from empty control value.

17 years agoalphabetize options listing correctly. (relocate -g option)
Quanah Gibson-Mount [Fri, 20 Apr 2007 21:52:46 +0000 (21:52 +0000)]
alphabetize options listing correctly. (relocate -g option)

17 years agoadd -s option to top list of arguments
Quanah Gibson-Mount [Fri, 20 Apr 2007 04:53:42 +0000 (04:53 +0000)]
add -s option to top list of arguments

17 years agofix ';binary' certificate transport (ITS#4868); add cert to sql-test000 (mysql; psql...
Pierangelo Masarati [Thu, 12 Apr 2007 01:02:01 +0000 (01:02 +0000)]
fix ';binary' certificate transport (ITS#4868); add cert to sql-test000 (mysql; psql untested)

17 years agofix no-op crasher (ITS#4925)
Pierangelo Masarati [Wed, 11 Apr 2007 20:31:49 +0000 (20:31 +0000)]
fix no-op crasher (ITS#4925)

17 years agodon't assert(0); apparently, other responses may result from a simple bind (but log...
Pierangelo Masarati [Wed, 11 Apr 2007 08:57:41 +0000 (08:57 +0000)]
don't assert(0); apparently, other responses may result from a simple bind (but log them, at least; ITS#4924)

17 years agoFix prev commit, filter construction with URI filters
Howard Chu [Tue, 10 Apr 2007 02:38:54 +0000 (02:38 +0000)]
Fix prev commit, filter construction with URI filters

17 years agoAdd missing return from void *bdb_tool_trickle_task()
Hallvard Furuseth [Mon, 9 Apr 2007 22:45:21 +0000 (22:45 +0000)]
Add missing return from void *bdb_tool_trickle_task()

17 years agoAdd trickle-sync for quick mode
Howard Chu [Sat, 7 Apr 2007 06:10:01 +0000 (06:10 +0000)]
Add trickle-sync for quick mode

17 years agoMore attr= to attrs= fixes
Quanah Gibson-Mount [Fri, 6 Apr 2007 06:01:50 +0000 (06:01 +0000)]
More attr= to attrs= fixes

17 years agos/attr=/attrs=/
Quanah Gibson-Mount [Fri, 6 Apr 2007 05:56:44 +0000 (05:56 +0000)]
s/attr=/attrs=/

17 years agoITS#4915 log failure retry status
Howard Chu [Fri, 6 Apr 2007 01:16:55 +0000 (01:16 +0000)]
ITS#4915 log failure retry status

17 years agoFix prev commit, config_obsolete
Howard Chu [Fri, 6 Apr 2007 00:31:08 +0000 (00:31 +0000)]
Fix prev commit, config_obsolete

17 years agoAxe slurpd / replog support
Howard Chu [Fri, 6 Apr 2007 00:21:02 +0000 (00:21 +0000)]
Axe slurpd / replog support

17 years agoRegenerate without slurpd
Howard Chu [Thu, 5 Apr 2007 23:44:27 +0000 (23:44 +0000)]
Regenerate without slurpd

17 years agoslurpd is strongly deprecated
Howard Chu [Thu, 5 Apr 2007 23:41:35 +0000 (23:41 +0000)]
slurpd is strongly deprecated

17 years agoslurpd is strongly deprecated
Howard Chu [Thu, 5 Apr 2007 23:28:06 +0000 (23:28 +0000)]
slurpd is strongly deprecated

17 years agoslurpd is strongly deprecated
Howard Chu [Thu, 5 Apr 2007 23:20:04 +0000 (23:20 +0000)]
slurpd is strongly deprecated

17 years agoolcDatabase=config always gets index 0,
Ralf Haferkamp [Thu, 5 Apr 2007 16:12:24 +0000 (16:12 +0000)]
olcDatabase=config always gets index 0,
don't allow multiple olcDatabase=config entries (ITS#4914)

17 years agoITS#4911 move slap_op_init/destroy to slap_init/destroy
Howard Chu [Thu, 5 Apr 2007 01:39:24 +0000 (01:39 +0000)]
ITS#4911 move slap_op_init/destroy to slap_init/destroy

17 years agoITS#4897 source/destination confusion
Howard Chu [Thu, 5 Apr 2007 01:20:42 +0000 (01:20 +0000)]
ITS#4897 source/destination confusion

17 years agoITS#4877 document -s newsuperior option
Howard Chu [Thu, 5 Apr 2007 01:18:31 +0000 (01:18 +0000)]
ITS#4877 document -s newsuperior option

17 years agoAdditional fix for prev commit
Howard Chu [Thu, 5 Apr 2007 01:08:29 +0000 (01:08 +0000)]
Additional fix for prev commit

17 years agoITS#4863 s/access to attr/access to attrs/
Howard Chu [Thu, 5 Apr 2007 01:07:41 +0000 (01:07 +0000)]
ITS#4863 s/access to attr/access to attrs/

17 years agoFix uninit'd serverID field
Howard Chu [Thu, 5 Apr 2007 01:03:02 +0000 (01:03 +0000)]
Fix uninit'd serverID field

17 years agoFix typo in prev commit
Howard Chu [Thu, 5 Apr 2007 01:01:01 +0000 (01:01 +0000)]
Fix typo in prev commit

17 years agoITS#4910 note that mirrormode now requires serverID
Howard Chu [Thu, 5 Apr 2007 00:59:32 +0000 (00:59 +0000)]
ITS#4910 note that mirrormode now requires serverID