Pierangelo Masarati
f3cdcadf89
wrap gmtime for reentrancy (ITS#6262)
2009-08-18 23:48:15 +00:00
Ralf Haferkamp
5725d5d6e9
Introduce options to configure tcp-keepalive settings per connection. These
...
settings only work on Linux and are ignore when not supported (see
discussion on -devel)
2009-05-06 13:14:36 +00:00
Pierangelo Masarati
99fe30b326
(nearly blind) fix for NULL in TLS error message (ITS#6079)
2009-04-29 11:31:39 +00:00
Pierangelo Masarati
0d6e859846
fix ldap namespace (part of ITS#5974)
2009-02-24 21:09:41 +00:00
Pierangelo Masarati
040f945d36
fix misc warnings
2009-02-15 21:59:16 +00:00
Howard Chu
2b08e96b53
ITS#5916 - externally callable functions are ldap_pvt, not ldap_int.
2009-02-02 21:14:34 +00:00
Pierangelo Masarati
0ded1f16d5
Allow alias dereferencing in search C API; use new API in proxy backends (ITS#5916)
2009-01-31 10:27:07 +00:00
Howard Chu
cf1558659b
ITS#5655 TLS_PROTOCOL_MIN from Philip Guenther
2009-01-24 03:34:49 +00:00
Kurt Zeilenga
4af9eb9715
Update copyright notices
2009-01-22 00:40:04 +00:00
Howard Chu
86b5de38be
ITS#5812 add SASL_NOCANON / -N option
2008-11-21 03:30:15 +00:00
Howard Chu
f7484f78e6
ITS#5369 SASL/GSSAPi refactoring from Stefan Metzmacher <metze@samba.org>
...
and Rafal Szczeniak <mimir@samba.org>, with minor cleanups
2008-10-09 10:51:28 +00:00
Howard Chu
0dbeb1d87b
Pass LDAPURLDescs to connect functions instead of host/port
2008-08-15 22:53:47 +00:00
Howard Chu
baad2b249d
Connect callbacks need error recovery checks
2008-08-15 10:23:29 +00:00
Howard Chu
80d1dba901
Add LDAP_OPT_CONNECT_CB connection callbacks
2008-08-14 04:54:32 +00:00
Howard Chu
a225b02f17
Modular TLS support, proof of concept. tls2.c would replace tls.c,
...
but I'm leaving tls.c intact for now.
2008-08-13 16:18:51 +00:00
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Pierangelo Masarati
4bc19cbbb9
cleanup tools
2007-08-16 09:22:07 +00:00
Howard Chu
c51fd6c96e
Add LDAP_OPT_X_TLS_CRLFILE, peer cert verification for GNUtls
2007-05-10 19:43:28 +00:00
Howard Chu
7eb1f62f9d
ITS#4935 SASL_MAX_BUFF_SIZE should be 2^24 - 1
2007-04-23 14:21:48 +00:00
Kurt Zeilenga
7beb587a4b
Cleanup last commit
2007-02-15 01:42:23 +00:00
Kurt Zeilenga
a9aeb858fe
Needs <ac/time.h>
2007-02-15 01:20:46 +00:00
Howard Chu
0c542682b1
Timeouts should not be malloc'd
2007-02-05 20:32:44 +00:00
Howard Chu
bec25494fe
ITS#4799 remove kerberos / kbind references
2007-01-10 00:20:42 +00:00
Howard Chu
9ece06c8f5
ITS#4799 remove all references to kbind
2007-01-09 23:48:28 +00:00
Pierangelo Masarati
9b5ea6a205
honor network timeout even when doing full async
2007-01-07 22:05:33 +00:00
Pierangelo Masarati
aa3c9bad3e
First cut to truly async connect:
...
- after connect(2), if async the connection is in "connecting" state
- the first time a request is sent, "connecting" conns are polled
- in case of success, the request is sent
- in case still connecting, LDAP_X_CONNECTING is returned;
clients are expected to retry later
- the "async" behavior must be explicitly enabled by setting
the LDAP_OPT_CONNECT_ASYNC option
"local" connections need work
2007-01-07 19:20:46 +00:00
Pierangelo Masarati
c310cfd837
minor cleanup
2007-01-06 18:27:34 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Pierangelo Masarati
dd94ddba57
don't leave dependencies on liblutil in libldap :)
2006-12-17 22:04:25 +00:00
Pierangelo Masarati
a76b702d4c
fix request/result abandon
2006-12-03 20:56:25 +00:00
Pierangelo Masarati
71bcd4a4b6
s/ldap_int_discard/ldap_pvt_discard/
2006-10-28 18:13:12 +00:00
Pierangelo Masarati
6416d83372
add ldap_int_discard(); use it in proxies (ITS#4717)
2006-10-22 20:31:41 +00:00
Pierangelo Masarati
06b491a446
better function name
2006-09-01 16:21:20 +00:00
Pierangelo Masarati
b45c0c881d
keep count of requests in use
2006-09-01 14:00:58 +00:00
Pierangelo Masarati
373ded8d24
add URI list resorting feature (ITS#4524)
2006-05-06 16:15:25 +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
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
73acecaf0f
cleanup
2005-12-13 15:53:10 +00:00
Howard Chu
d67a2f2044
Move lconn_tls_ctx to ldo_tls_ctx. Otherwise clients cannot set it after
...
ldap_initializ'ing an LD and before connecting on it. Really all of the
global TLS options belong in the ldapoptions struct, instead of static vars.
2005-11-05 12:49:43 +00:00
Howard Chu
e8b1b004d4
Fix ITS#3832 must mutex protect ld->ld_conns
2005-10-12 00:05:43 +00:00
Howard Chu
2ea5a66be2
ITS#2942 skip referrals that we've already chased
2005-10-09 10:01:38 +00:00
Hallvard Furuseth
f0091b101f
Cast LDAP_BOOL value to LDAP_BOOLEANS; it could only use flags fitting in int.
2005-07-22 13:24:47 +00:00
Pierangelo Masarati
eb005a9872
allow to muck with referrals while chasing...
2005-05-28 14:29:08 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +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
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
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
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00