Pierangelo Masarati
8242166888
print the correct search base when taken from ldaprc (ITS#4504)
2006-04-25 22:23:00 +00:00
Pierangelo Masarati
716d1770a2
fix strtoul() odd interface
2006-04-25 15:46:44 +00:00
Pierangelo Masarati
a42367ae3a
cleanup
2006-04-24 17:20:13 +00:00
Pierangelo Masarati
77e7acc4f9
cleanup; make sure no spurious error code slip thru
2006-04-24 12:12:14 +00:00
Howard Chu
478ae2346e
PPOLICY_ERROR is primitive, not constructed
2006-04-22 00:23:44 +00:00
Howard Chu
68b374dd4a
Fix EXPIRE/GRACE ber tags
2006-04-21 23:47:53 +00:00
Hallvard Furuseth
02bb67044b
Cleanup since last patch (remove unused label)
2006-04-13 22:13:42 +00:00
Howard Chu
eb0c92c7df
Return rc for tls_init_def_ctx
2006-04-11 20:35:37 +00:00
Pierangelo Masarati
dfc8e7f6b8
better fix for ITS#4483
2006-04-09 22:29:42 +00:00
Pierangelo Masarati
623a7a9fe2
Berlement already freed in ber_flush
2006-04-08 17:43:53 +00:00
Pierangelo Masarati
23c620a637
don't leak a BerElement
2006-04-08 17:34:00 +00:00
Pierangelo Masarati
74b6ab9029
more cleanup
2006-04-08 11:01:19 +00:00
Howard Chu
571ac24b33
Fix destruct sequencing
2006-04-07 02:41:58 +00:00
Howard Chu
056b193ed7
Don't implicitly inherit the default SSL_CTX, tls.c:alloc_handle will
...
set it explicitly and handle its refcount.
2006-04-07 01:52:32 +00:00
Howard Chu
9693c800bf
Free/decrement SSL_CTX refcount when (re)setting it
2006-04-07 01:15:56 +00:00
Pierangelo Masarati
301394c28d
allow a build tree different from the source tree (ITS#4480)
2006-04-07 01:15:07 +00:00
Howard Chu
7709d4d89e
Bump SSL_CTX refcount whenever it gets retrieved
2006-04-07 01:13:31 +00:00
Howard Chu
d18277eac9
ITS#4422, #4475
...
Move TLS options into struct ldapoptions.
Added ldap_int_tls_destroy()
Added LDAP_OPT_X_TLS_NEWCTX to generate new SSL_CTX
2006-04-07 00:52:38 +00:00
Howard Chu
51d5db03ff
ITS#4422, rearrange options to allow passing NULL args to TLS/Cyrus
2006-04-07 00:48:41 +00:00
Pierangelo Masarati
8395383d2c
fix ITS#4435
2006-04-06 01:27:16 +00:00
Hallvard Furuseth
b70d6dd8e6
LDAP_RDWR_DEBUG update:
...
- Avoid buffer overrun when too many readers.
- When remoinv reader ID, move one ID instead of all later IDs in array.
- assert(correct lock owner) before unlocking a write lock.
2006-04-05 20:08:34 +00:00
Hallvard Furuseth
ca4a4456e8
LDAP_THREAD_DEBUG revamping, cleanup, bug fixes.
...
Expand usage struct with magic numbers and state info.
Add options "noreinit", "nosync", "nomem", "threadID". Remove "dupinit".
Detect address changes. Turn off thread ID tracking by default.
2006-04-05 19:52:07 +00:00
Hallvard Furuseth
7057f8756c
thr_yield() returns void, so do not use its "return value" (ITS#4469)
2006-04-03 17:10:38 +00:00
Hallvard Furuseth
7a113f0759
Restore $LDAP_THREAD_DEBUG=off functionality (was lost in last patch).
2006-04-03 12:49:30 +00:00
Pierangelo Masarati
8823f5cc87
fix ITS#4450?
2006-04-03 00:34:35 +00:00
Howard Chu
e1664b1f42
plug leak
2006-04-02 21:06:28 +00:00
Hallvard Furuseth
f67fecc7fb
Warning cleanup: destroy_actions() returns no value; use return type void
2006-04-02 19:55:05 +00:00
Hallvard Furuseth
da0c0360e4
Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL).
2006-04-02 19:54:24 +00:00
Hallvard Furuseth
581c1ff6c7
Cast ctype.h char arguments to unsigned char
2006-04-01 23:44:42 +00:00
Pierangelo Masarati
cad751250e
allow mutex ownership detection (thanks to Hallvard)
2006-04-01 19:00:37 +00:00
Pierangelo Masarati
d9afc113c5
thread cleanup
2006-04-01 18:54:31 +00:00
Hallvard Furuseth
9313508035
Expand and clarify thr_debug documentation.
2006-04-01 18:31:38 +00:00
Pierangelo Masarati
bf860f0596
ld_abandoned must be protected by ld_res_mutex
2006-04-01 00:30:07 +00:00
Howard Chu
9686c7ce99
cleanup
2006-03-31 21:31:32 +00:00
Howard Chu
1c0d2ad7ae
cleanup NULL string handling
2006-03-31 21:30:06 +00:00
Howard Chu
de36ebd08c
cleanup NULL deref
2006-03-31 21:20:36 +00:00
Howard Chu
2d4da0b23c
Cleanup NULL derefs
2006-03-31 21:18:04 +00:00
Howard Chu
aa87b9ad2e
cleanup dead code
2006-03-31 21:07:53 +00:00
Howard Chu
8c4711e9db
plug leaks
2006-03-31 20:36:53 +00:00
Howard Chu
0b72c15e52
plug leaks
2006-03-31 20:20:53 +00:00
Howard Chu
7fb8fd446a
plug leaks
2006-03-31 20:06:49 +00:00
Kurt Zeilenga
40d75df606
Additional TXN changes (a work in progress)
2006-03-30 18:00:04 +00:00
Pierangelo Masarati
177c051f0f
use asynchronous API; note that an endless loop may occur (ITS#4450; no fix yet)
2006-03-25 08:16:19 +00:00
Pierangelo Masarati
f48bf42578
seems to fix referral chasing (ITS#4448)
2006-03-24 01:18:36 +00:00
Pierangelo Masarati
70211e9be5
handle abnormal condition
2006-03-23 18:36:10 +00:00
Pierangelo Masarati
8c9f071238
duplicate string from environment, as it may be overridden by the user (ITS#4436)
2006-03-20 11:57:16 +00:00
Pierangelo Masarati
df2b44c3b9
destroy ld_conn_mutex (ITS#4441)
2006-03-20 11:14:43 +00:00
Kurt Zeilenga
544d00f3e5
Fix encoding
2006-03-07 21:48:47 +00:00
Kurt Zeilenga
fad69dbef8
Additional TXN changes
2006-03-07 02:21:27 +00:00
Kurt Zeilenga
825ce79611
Initial and rough client-side implementation of the revised LDAP
...
Transactions specification. A work in progress! Comments welcomed.
2006-03-06 21:20:36 +00:00