Commit Graph

16055 Commits

Author SHA1 Message Date
Pierangelo Masarati
457b5b11ae fix leak 2007-06-02 10:43:02 +00:00
Pierangelo Masarati
574e1f59ee clarify use of -y (as per ITS#4994) 2007-06-02 10:19:10 +00:00
Gavin Henry
11d0413be8 Adding # $ 2007-06-01 21:56:17 +00:00
Gavin Henry
cd3500e4fd Moving from Slurpd. 2007-06-01 19:47:02 +00:00
Gavin Henry
88c66bfe89 New TOC, new sdf files and merging/reworking of existing data. Makefile updated and tested also. 2007-06-01 17:45:42 +00:00
Hallvard Furuseth
b3e4305131 Simplify: Remove tid_zero, thread_keys[].id and ldap_int_main_tid.
Not needed after ldap_int_thread_userctx_t.ltu_id was added and
_pool_wrapper took care not to update thread_keys[] during pauses.
Fix bogus thread_keys[].ctx comment.
2007-06-01 15:24:19 +00:00
Hallvard Furuseth
46d420565b thread pool data was accessed through the wrong type 2007-05-31 20:52:15 +00:00
Hallvard Furuseth
1b890689b1 Add comments. Constify tid_zero. Shut up gcc -Wswitch. if(!tpool)->assert(). 2007-05-31 19:47:38 +00:00
Hallvard Furuseth
1f3e6110b9 Add variable ldap_int_has_thread_pool, assert(at most one pool); 2007-05-31 17:15:54 +00:00
Hallvard Furuseth
9a9d216526 Shut up gcc -Wformat 2007-05-31 17:07:57 +00:00
Ralf Haferkamp
11e8c186bf ITS#4991 restore save_attrs when a request is finished to let do_search()
cleanup correctly
2007-05-31 15:49:45 +00:00
Ralf Haferkamp
7203276785 ITS#4991 restore mapped AttributeNames before processing a response 2007-05-31 15:46:46 +00:00
Hallvard Furuseth
1b15fa9c6e In pool_submit():
- Move problematic mutex_unlock()-mutex_lock() into the unused #ifdef
  LDAP_PVT_THREAD_POOL_SEM_LOAD_CONTROL and add a FIXME comment inside.
- Delay ltp_starting--; until pool_wrapper().  Nonzero value could otherwise
  no longer be exposed when !defined LDAP_PVT_THREAD_POOL_SEM_LOAD_CONTROL.
2007-05-31 12:47:24 +00:00
Hallvard Furuseth
45389c0341 Preserve key order when deleting, so context_reset will free last keys first. 2007-05-31 12:08:50 +00:00
Hallvard Furuseth
7c6b26a68f Make get_thread_info() static. Handle ldap_pvt_thread_pool_t = int (not ptr). 2007-05-30 22:20:20 +00:00
Howard Chu
6186117f97 ITS#4966 valsort_modify: ignore Delete modops with no values 2007-05-25 00:58:59 +00:00
Howard Chu
5af8347be4 Regenerate with gnutls TLS_LIBS 2007-05-23 23:29:46 +00:00
Howard Chu
08aefa053a Must set TLS_LIBS for gnutls 2007-05-23 23:28:11 +00:00
Kurt Zeilenga
7fa4cc5d38 Use IANA-assigned OID for entryDN and remove hide flag. 2007-05-23 03:54:31 +00:00
Gavin Henry
2068c61d92 Zero value example for pwdAccountLockedTime (ITS#4978) 2007-05-22 14:20:04 +00:00
Pierangelo Masarati
fb171a06d4 clarify that slapo-rwm could hide rootDSE and subschema 2007-05-21 00:01:49 +00:00
Hallvard Furuseth
101b6b9363 Fix --without-tls (ITS#4975). Enable certificate matching. 2007-05-20 22:48:21 +00:00
Hallvard Furuseth
8a7e6bca0c Previous message should have gone in ITS. It is ITS#4974. 2007-05-20 20:06:32 +00:00
Hallvard Furuseth
c47e444698 libldap/tls.c calls CRYPTO_set_id_callback(ldap_pvt_thread_self), which
causes ldap_pvt_thread_self to be called with the wrong prototype.

That can cause OpenSSL to use a garbage value, e.g. if the unsigned
long it expects takes two words but ldap_pvt_thread_t is an int.

I'm fixing it in HEAD now and also provoking an error if unsigned
long cannot hold a ldap_pvt_thread_t.  Otherwise it can silently
compile to broken code.  Maybe the latter should go in configure,
but since OpenSSL presumably breaks anyway if that fails I don't
see much point at this time.
2007-05-20 20:02:52 +00:00
Hallvard Furuseth
9fd99cd566 Only use terminal escapes (in $TB/$TN) when printing to a terminal.
Remove a bogus 'waiting' message; the script does not sleep there.
2007-05-19 21:26:54 +00:00
Pierangelo Masarati
b0b098258f test fix to ITS#4964 2007-05-19 14:17:34 +00:00
Pierangelo Masarati
74ca4680db more ITS#4973 initialization 2007-05-19 14:12:24 +00:00
Pierangelo Masarati
43367e162e re-parse ID from passmod request, if necessary (ultimately fixes ITS#4964, along with fix to ITS#4973) 2007-05-19 14:08:49 +00:00
Pierangelo Masarati
4f960dacb3 related to ITS#4973 2007-05-19 14:06:42 +00:00
Hallvard Furuseth
93fbb87545 Give OperationBuffer normal struct members instead of using
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.
2007-05-18 23:54:26 +00:00
Hallvard Furuseth
a376bb455e Regenerate 2007-05-18 18:53:10 +00:00
Hallvard Furuseth
2d5316b4c1 Only use terminal escapes (in $TB/$TN) when printing to a terminal. 2007-05-18 18:42:59 +00:00
Hallvard Furuseth
eb351d9e33 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.
2007-05-18 17:49:38 +00:00
Hallvard Furuseth
ca01abae04 clean-local: Delete configpw configpw.conf 2007-05-18 15:32:50 +00:00
Hallvard Furuseth
6f3cf907b8 Readability patch: ERRVAL() macro for pthreads < 7 vs. >= 7 return values. 2007-05-18 15:28:09 +00:00
Hallvard Furuseth
73aaead5bd Re-fixing ITS#2667: test -a and test -o unportable, use && and ||. 2007-05-18 15:23:28 +00:00
Hallvard Furuseth
f906a99eec Only define x509_cert_get_dn() when HAVE_GNUTLS. Remove unused variable. 2007-05-18 15:10:15 +00:00
Hallvard Furuseth
7372fea8b5 printf format paranoia: macros could be changed to contain format chars 2007-05-18 14:48:28 +00:00
Hallvard Furuseth
d84399e344 Unused varaibles 2007-05-18 14:46:52 +00:00
Hallvard Furuseth
4caf7faa74 Warning cleanup (avoid cast double return val -> integer, gcc gets suspicious) 2007-05-18 14:45:56 +00:00
Hallvard Furuseth
861babae6f include lber-int.h (for rev 1.396 certificate changes) 2007-05-18 14:41:28 +00:00
Pierangelo Masarati
7b7676a9fa ... 2007-05-17 13:57:20 +00:00
Hallvard Furuseth
870f869dfb Header nitpick 2007-05-16 23:28:58 +00:00
Hallvard Furuseth
a12a4029ae SEE ALSO slapcat(8), slapd-ldif(5) 2007-05-16 23:27:41 +00:00
Hallvard Furuseth
2f0e73f531 Clarify "bind on" 2007-05-16 23:23:48 +00:00
Hallvard Furuseth
ec9322c301 Explain rootDSE 2007-05-16 23:23:02 +00:00
Pierangelo Masarati
978c3609e0 allow array of more generic syntaxes 2007-05-16 09:13:14 +00:00
Pierangelo Masarati
eb5d285a1b allow attribute inheritance with syntax restriction (please review) 2007-05-16 01:40:34 +00:00
Pierangelo Masarati
dd3f101ff8 further cleanup round in back-relay database selection; cleanup 2007-05-16 01:39:41 +00:00
Pierangelo Masarati
c30ae47206 check for NULL dn in URL; set error code before seding extended response (partially addresses ITS#4968) 2007-05-15 22:29:06 +00:00