]>
git.sur5r.net Git - openldap/log
Howard Chu [Thu, 10 May 2007 20:33:10 +0000 (20:33 +0000)]
Add GNUtls detection
Howard Chu [Thu, 10 May 2007 20:15:40 +0000 (20:15 +0000)]
Fix typo in prev commit
Howard Chu [Thu, 10 May 2007 19:43:28 +0000 (19:43 +0000)]
Add LDAP_OPT_X_TLS_CRLFILE, peer cert verification for GNUtls
Howard Chu [Thu, 10 May 2007 19:34:27 +0000 (19:34 +0000)]
ITS#4954 clear c_sasl_dn after error
Howard Chu [Thu, 10 May 2007 18:46:15 +0000 (18:46 +0000)]
ITS#4952 use memcmp to compare CSN values
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].
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).
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.
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.
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.
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.
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().
Hallvard Furuseth [Wed, 9 May 2007 19:11:44 +0000 (19:11 +0000)]
Remove unused variables
Hallvard Furuseth [Wed, 9 May 2007 19:10:36 +0000 (19:10 +0000)]
assert(pointer) -> assert(pointer != NULL)
Hallvard Furuseth [Wed, 9 May 2007 19:09:32 +0000 (19:09 +0000)]
Struct/array initializers must be constant expressions in C89
Hallvard Furuseth [Wed, 9 May 2007 18:38:10 +0000 (18:38 +0000)]
Cast Debug(%p) pointer argument to void*
Hallvard Furuseth [Wed, 9 May 2007 18:19:17 +0000 (18:19 +0000)]
Rebuild
Hallvard Furuseth [Wed, 9 May 2007 18:17:10 +0000 (18:17 +0000)]
ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup
Howard Chu [Tue, 8 May 2007 14:17:21 +0000 (14:17 +0000)]
coverity scan, e is non-NULL
Howard Chu [Tue, 8 May 2007 14:13:18 +0000 (14:13 +0000)]
coverity error, u->lud_scheme is mandatory
Howard Chu [Tue, 8 May 2007 14:07:52 +0000 (14:07 +0000)]
coverity scan, fix typo
Howard Chu [Tue, 8 May 2007 14:04:23 +0000 (14:04 +0000)]
coverity error, memory leak in file2anlist
Howard Chu [Tue, 8 May 2007 14:01:16 +0000 (14:01 +0000)]
coverity scan, ch_realloc won't return NULL
Howard Chu [Tue, 8 May 2007 13:57:13 +0000 (13:57 +0000)]
coverity fix, slapd_rw_apply NULL filter
Ralf Haferkamp [Mon, 7 May 2007 14:55:45 +0000 (14:55 +0000)]
fix comparison with string literal
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.)
Howard Chu [Sun, 29 Apr 2007 06:14:03 +0000 (06:14 +0000)]
ITS#4939 fix typo
Howard Chu [Tue, 24 Apr 2007 12:02:53 +0000 (12:02 +0000)]
ITS#4917 preserve old sat_ad_mutex
Howard Chu [Tue, 24 Apr 2007 11:46:22 +0000 (11:46 +0000)]
Disallow runtime delete of modload values
Howard Chu [Mon, 23 Apr 2007 14:27:07 +0000 (14:27 +0000)]
Revert prev commit, unnecessary
Howard Chu [Mon, 23 Apr 2007 14:21:48 +0000 (14:21 +0000)]
ITS#4935 SASL_MAX_BUFF_SIZE should be 2^24 - 1
Kurt Zeilenga [Fri, 20 Apr 2007 22:32:58 +0000 (22:32 +0000)]
Distinguish absent control value from empty control value.
Quanah Gibson-Mount [Fri, 20 Apr 2007 21:52:46 +0000 (21:52 +0000)]
alphabetize options listing correctly. (relocate -g option)
Quanah Gibson-Mount [Fri, 20 Apr 2007 04:53:42 +0000 (04:53 +0000)]
add -s option to top list of arguments
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)
Pierangelo Masarati [Wed, 11 Apr 2007 20:31:49 +0000 (20:31 +0000)]
fix no-op crasher (ITS#4925)
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)
Howard Chu [Tue, 10 Apr 2007 02:38:54 +0000 (02:38 +0000)]
Fix prev commit, filter construction with URI filters
Hallvard Furuseth [Mon, 9 Apr 2007 22:45:21 +0000 (22:45 +0000)]
Add missing return from void *bdb_tool_trickle_task()
Howard Chu [Sat, 7 Apr 2007 06:10:01 +0000 (06:10 +0000)]
Add trickle-sync for quick mode
Quanah Gibson-Mount [Fri, 6 Apr 2007 06:01:50 +0000 (06:01 +0000)]
More attr= to attrs= fixes
Quanah Gibson-Mount [Fri, 6 Apr 2007 05:56:44 +0000 (05:56 +0000)]
s/attr=/attrs=/
Howard Chu [Fri, 6 Apr 2007 01:16:55 +0000 (01:16 +0000)]
ITS#4915 log failure retry status
Howard Chu [Fri, 6 Apr 2007 00:31:08 +0000 (00:31 +0000)]
Fix prev commit, config_obsolete
Howard Chu [Fri, 6 Apr 2007 00:21:02 +0000 (00:21 +0000)]
Axe slurpd / replog support
Howard Chu [Thu, 5 Apr 2007 23:44:27 +0000 (23:44 +0000)]
Regenerate without slurpd
Howard Chu [Thu, 5 Apr 2007 23:41:35 +0000 (23:41 +0000)]
slurpd is strongly deprecated
Howard Chu [Thu, 5 Apr 2007 23:28:06 +0000 (23:28 +0000)]
slurpd is strongly deprecated
Howard Chu [Thu, 5 Apr 2007 23:20:04 +0000 (23:20 +0000)]
slurpd is strongly deprecated
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)
Howard Chu [Thu, 5 Apr 2007 01:39:24 +0000 (01:39 +0000)]
ITS#4911 move slap_op_init/destroy to slap_init/destroy
Howard Chu [Thu, 5 Apr 2007 01:20:42 +0000 (01:20 +0000)]
ITS#4897 source/destination confusion
Howard Chu [Thu, 5 Apr 2007 01:18:31 +0000 (01:18 +0000)]
ITS#4877 document -s newsuperior option
Howard Chu [Thu, 5 Apr 2007 01:08:29 +0000 (01:08 +0000)]
Additional fix for prev commit
Howard Chu [Thu, 5 Apr 2007 01:07:41 +0000 (01:07 +0000)]
ITS#4863 s/access to attr/access to attrs/
Howard Chu [Thu, 5 Apr 2007 01:03:02 +0000 (01:03 +0000)]
Fix uninit'd serverID field
Howard Chu [Thu, 5 Apr 2007 01:01:01 +0000 (01:01 +0000)]
Fix typo in prev commit
Howard Chu [Thu, 5 Apr 2007 00:59:32 +0000 (00:59 +0000)]
ITS#4910 note that mirrormode now requires serverID
Howard Chu [Thu, 5 Apr 2007 00:16:17 +0000 (00:16 +0000)]
ITS#4912 fix typo in prev commit
Hallvard Furuseth [Wed, 4 Apr 2007 17:51:10 +0000 (17:51 +0000)]
ber_decode_oid(), ber_encode_oid(): cast bv_val to unsigned char*
Hallvard Furuseth [Wed, 4 Apr 2007 17:49:31 +0000 (17:49 +0000)]
printf %p expects void*
Hallvard Furuseth [Wed, 4 Apr 2007 17:48:25 +0000 (17:48 +0000)]
Fix char* = const char* (text = sr->sr_text)
Ralf Haferkamp [Wed, 4 Apr 2007 17:14:09 +0000 (17:14 +0000)]
Moved the check for existing monitor database to the top, otherwise trying
to add multiple monitor databases through back-config deadlocks the server.
Howard Chu [Tue, 3 Apr 2007 03:27:24 +0000 (03:27 +0000)]
ITS#4879 fixes for url parse/unparse
Howard Chu [Tue, 3 Apr 2007 01:40:52 +0000 (01:40 +0000)]
ITS#4875 ignore zero-length st_size
Howard Chu [Mon, 2 Apr 2007 22:35:16 +0000 (22:35 +0000)]
Note overlay config ordering
Howard Chu [Mon, 2 Apr 2007 21:22:43 +0000 (21:22 +0000)]
ITS#4904 fix delta-sync modlist free
Quanah Gibson-Mount [Mon, 2 Apr 2007 00:43:16 +0000 (00:43 +0000)]
Use correct memory free function (ITS#4901)
Quanah Gibson-Mount [Sun, 1 Apr 2007 23:27:37 +0000 (23:27 +0000)]
Fix typo
Howard Chu [Sun, 1 Apr 2007 11:52:51 +0000 (11:52 +0000)]
ITS#4899 fix for keys not getting cleared
Howard Chu [Sat, 31 Mar 2007 00:40:22 +0000 (00:40 +0000)]
Cleanup conditional arg in prev commit
Ralf Haferkamp [Fri, 30 Mar 2007 18:39:33 +0000 (18:39 +0000)]
use slap_add_opattrs as discussed on -devel.
Ralf Haferkamp [Thu, 29 Mar 2007 15:39:52 +0000 (15:39 +0000)]
Add operational Attributes when creating frontend and config database entries.
(Otherwise test049-sync-config fails)
Ralf Haferkamp [Thu, 29 Mar 2007 14:45:44 +0000 (14:45 +0000)]
Create frontend and config database entries automatically during slapadd
Hallvard Furuseth [Mon, 26 Mar 2007 22:16:45 +0000 (22:16 +0000)]
Do not end a potentially last line of a Makefile statement with '\'.
Howard Chu [Mon, 26 Mar 2007 12:44:11 +0000 (12:44 +0000)]
ITS#4893 back to pipes...
Howard Chu [Sun, 25 Mar 2007 15:20:50 +0000 (15:20 +0000)]
ITS#4893 just send the client socket, not a pipe descriptor.
Howard Chu [Sun, 25 Mar 2007 12:18:06 +0000 (12:18 +0000)]
ITS#4893 fix prev commit
Howard Chu [Sun, 25 Mar 2007 11:37:51 +0000 (11:37 +0000)]
More struct cleanup
Howard Chu [Sun, 25 Mar 2007 04:40:22 +0000 (04:40 +0000)]
ITS#4893 define LDAP_PF_LOCAL_SENDMSG in <ac/socket.h> if a message must
be sent to transmit client credentials. Buffer the message data.
Howard Chu [Sun, 25 Mar 2007 04:31:34 +0000 (04:31 +0000)]
Use AC_MEMCPY
Howard Chu [Sun, 25 Mar 2007 04:27:15 +0000 (04:27 +0000)]
Revert prev commits, didn't belong here
Howard Chu [Sun, 25 Mar 2007 04:13:55 +0000 (04:13 +0000)]
Fix typo in prev commit
Howard Chu [Sun, 25 Mar 2007 01:06:36 +0000 (01:06 +0000)]
Add LDAP_PF_LOCAL_SENDMSG flag
Howard Chu [Fri, 23 Mar 2007 23:47:07 +0000 (23:47 +0000)]
Preliminary GNUtls support. gnutls.c will merge back into tls.c later.
Howard Chu [Fri, 23 Mar 2007 15:27:38 +0000 (15:27 +0000)]
Add options for ber_get_stringbv() to omit NUL-terminator, to allow
non-destructive in-place parsing
Howard Chu [Fri, 23 Mar 2007 12:47:35 +0000 (12:47 +0000)]
Fix TLS default for clients
Howard Chu [Fri, 23 Mar 2007 01:10:58 +0000 (01:10 +0000)]
ITS#4880 s/HAVE_POSIX_TERMIOS/HAVE_TERMIOS_H/
Pierangelo Masarati [Thu, 22 Mar 2007 23:10:56 +0000 (23:10 +0000)]
add support for pagedResults to back-sql (ITS#4888)
Pierangelo Masarati [Thu, 22 Mar 2007 22:30:53 +0000 (22:30 +0000)]
fix test in case of bailout (ITS#4891)
Howard Chu [Thu, 22 Mar 2007 08:22:53 +0000 (08:22 +0000)]
Enhanced unique configuration
Howard Chu [Thu, 22 Mar 2007 07:35:10 +0000 (07:35 +0000)]
Remove obsolete purge (obsoleted in cache.c rev 1.106)
Pierangelo Masarati [Wed, 21 Mar 2007 23:22:49 +0000 (23:22 +0000)]
don't add databases twice; but try as hard as possible...
Pierangelo Masarati [Wed, 21 Mar 2007 22:35:37 +0000 (22:35 +0000)]
allow adding of back-bdb with monitoring on (ITS#4789)
Pierangelo Masarati [Wed, 21 Mar 2007 22:33:50 +0000 (22:33 +0000)]
cleanup
Pierangelo Masarati [Wed, 21 Mar 2007 22:33:09 +0000 (22:33 +0000)]
cleanup after sending entry
Pierangelo Masarati [Wed, 21 Mar 2007 16:33:38 +0000 (16:33 +0000)]
fix ITS#4883
Pierangelo Masarati [Wed, 21 Mar 2007 10:35:28 +0000 (10:35 +0000)]
do not refer to deprecated API
Pierangelo Masarati [Wed, 21 Mar 2007 10:23:51 +0000 (10:23 +0000)]
s/LDAP_RES_EXTENDED_PARTIAL/LDAP_RES_INTERMEDIATE/ (ITS#4885)
Pierangelo Masarati [Wed, 21 Mar 2007 09:51:11 +0000 (09:51 +0000)]
improve previous commit (check result of structural_class())