Commit Graph

1206 Commits

Author SHA1 Message Date
Howard Chu
2590e26bc7 Initialize TLS connection callback 2004-11-23 05:09:10 +00:00
Howard Chu
ae592801aa Add callbacks for client TLS connection establishment:
LDAP_OPT_X_TLS_CONNECT_CB and LDAP_OPT_X_TLS_CONNECT_ARG
with int (LDAP_TLS_CONNECT_CB) (LDAP *ld, SSL *ssl, SSL_CTX *ctx, void *arg)
To be called whenever the client library allocates a new SSL* handle.
2004-11-23 03:48:09 +00:00
Howard Chu
fad273c224 Avoid trashing client memory when socket is greater than FD_SETSIZE 2004-11-17 20:04:18 +00:00
Ralf Haferkamp
93cec8b694 - Added autoconf test for CRL capable OpenSSL Version
- #ifdef'd CRL checking code.
2004-11-03 12:02:38 +00:00
Kurt Zeilenga
96bfc8ec92 fair use 2004-10-30 20:19:30 +00:00
Ralf Haferkamp
5704a2ef6e CRL checking options for ldap.conf and slapd.conf 2004-10-28 18:50:38 +00:00
Kurt Zeilenga
2c90f72a06 Add comment regarding last commit 2004-10-20 21:51:27 +00:00
Kurt Zeilenga
30fdb0e0ca Fix LDAP Intermediate Response tag values.
with code to accept old values.
2004-10-20 21:47:40 +00:00
Howard Chu
1a198bea0f Fix typo in select call 2004-10-19 03:18:22 +00:00
Kurt Zeilenga
440e631319 ITS#3168: Add LDAP_OPT_SOCKBUF 2004-10-19 03:07:05 +00:00
Kurt Zeilenga
547ebf66c4 Move POLL_* macros to <ac/socket.h> 2004-10-18 22:08:37 +00:00
Kurt Zeilenga
1adf003977 Catch POLLERR and POLLHUP. 2004-10-18 21:56:07 +00:00
Kurt Zeilenga
8715d97409 Fix bug in last commit 2004-10-18 21:45:13 +00:00
Kurt Zeilenga
86c216d10c Rough but working poll(2) implementation for -lldap 2004-10-18 21:09:17 +00:00
Kurt Zeilenga
fb0571b5ad Poll code needs a bit more work. 2004-10-18 18:18:52 +00:00
Jong Hyuk Choi
331074b2d5 Patch for fast synchronous search result processing 2004-10-18 04:58:36 +00:00
Kurt Zeilenga
baa76b6f35 Revert last commit.
return 0 on timeout is actually correct.
2004-10-09 06:13:47 +00:00
Kurt Zeilenga
1b5c5da96d ITS#3359: fix crash on recursive rebind following referral 2004-10-09 03:16:29 +00:00
Kurt Zeilenga
5e41701ca2 s/strcmp/strcasecmp/ 2004-09-18 00:15:06 +00:00
Kurt Zeilenga
5368501f35 ITS#3334: DN in (cn:dn:=foo) should be case insensitive 2004-09-18 00:09:37 +00:00
Kurt Zeilenga
5f5d50aeb0 Add TLS cipher suite directive to ldap.conf(5) 2004-09-05 07:21:20 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Kurt Zeilenga
e0a9ea2f50 Move MSVC port to the Attic 2004-09-04 04:37:41 +00:00
Kurt Zeilenga
67e9b48b7d Cleanup 2004-09-03 00:24:07 +00:00
Kurt Zeilenga
1ccb936170 fix typo in last commit 2004-08-28 04:01:19 +00:00
Kurt Zeilenga
c9dd33b520 Add scheme check to find_connection 2004-08-28 03:55:02 +00:00
Kurt Zeilenga
8064bb6ef1 A better find_connection() port fix 2004-08-28 03:53:31 +00:00
Kurt Zeilenga
1d3eccca9e Partial ITS#3280 fix. ldap:// referrals only. 2004-08-28 03:25:59 +00:00
Kurt Zeilenga
fe6e3ba3ef Instead of removing AI_ADDRCONFIG, place behind #ifdef (of undefined
macro).  Add comment indicating configure test needed.
2004-08-27 18:59:34 +00:00
Luke Howard
842fe3091a ITS#3298 - ldap_sasl_int_bind() refers to incorrect Sockbuf when called
from within a rebind function.
2004-08-24 05:14:07 +00:00
Howard Chu
eb25111b9a Revert rev 1.92, AI_ADDRCONFIG is not a legal flag for getaddrinfo 2004-08-15 23:15:55 +00:00
Pierangelo Masarati
30fed3f1c9 cleanup error codes 2004-07-24 11:15:13 +00:00
Howard Chu
0b9cc398e2 ITS#3250 don't call select unnecessarily 2004-07-24 03:13:29 +00:00
Pierangelo Masarati
f0505795c0 cleanup... 2004-07-18 21:32:38 +00:00
Hallvard Furuseth
06d3b9a9e3 ldap_url_parse_ext(): Kill duplicate init + pointless free(NULL) of lud_filter. 2004-07-18 04:12:24 +00:00
Pierangelo Masarati
8e5d04d2a8 allow unescaped equals, according to draft-ietf-ldapbis-dn (ITS#3229) 2004-07-10 10:48:41 +00:00
Kurt Zeilenga
ecebe3d051 basic poll(2) implementation for connect(2) (needs work)
Need to deal with selectinfo...
2004-07-09 19:29:46 +00:00
Kurt Zeilenga
f0bd9b3a5b Mark areas needed poll(2) support with HAVE_POLL. 2004-07-09 17:50:22 +00:00
Pierangelo Masarati
42a6406bfb fix URI parsing error code 2004-07-05 12:03:39 +00:00
Pierangelo Masarati
74773777c4 fix extended matching when rule is missing (ITS#3216) 2004-07-03 11:28:47 +00:00
Kurt Zeilenga
b6bd7296ac cleanup last commit, add commit 2004-06-30 22:36:47 +00:00
Kurt Zeilenga
03ec37823c Avoid high-level retry on low-level error as that implies a
re-sasl_encode() of the input.  sasl_encode() may be stateful.
2004-06-30 22:30:09 +00:00
Jong Hyuk Choi
3fb0648079 revert the ITS#3139 change for now 2004-06-30 17:51:06 +00:00
Pierangelo Masarati
dd5a27c1f6 log error string 2004-06-30 16:25:40 +00:00
Pierangelo Masarati
76bab2b6df typo in comment 2004-06-30 16:24:07 +00:00
Kurt Zeilenga
1ded030427 fix last commit 2004-06-29 17:48:19 +00:00
Kurt Zeilenga
a593343aa5 ITS#3212: sasl_encode/decode type conflict fix 2004-06-29 17:46:30 +00:00
Pierangelo Masarati
ad48d85ce5 fix ITS#3208 2004-06-28 20:55:04 +00:00
Kurt Zeilenga
3484ddff18 cleanup 2004-06-22 20:20:47 +00:00
Pierangelo Masarati
175ce7960d improve parsing - first step 2004-06-18 08:36:30 +00:00