Commit Graph

1426 Commits

Author SHA1 Message Date
Pierangelo Masarati
f3cdcadf89 wrap gmtime for reentrancy (ITS#6262) 2009-08-18 23:48:15 +00:00
Pierangelo Masarati
98a8b74d53 expose SASL_USERNAME when it makes sense (EXTERN needs work, much like SASL_SSL) (ITS#6257) 2009-08-18 18:47:56 +00:00
Hallvard Furuseth
332838dcb0 For ITS#6215: Export ber_skip_element() and ber_peek_element() 2009-08-12 22:14:35 +00:00
Hallvard Furuseth
f6c10270d9 Move common Log*() macro code to new macros LogExpand()/LogArg 2009-07-30 21:45:10 +00:00
Hallvard Furuseth
4bed42ae5a For ITS#6215: Do not expose obsolete Seqorset. Note ber_write(,,,nonzero) is gone. 2009-07-29 17:07:52 +00:00
Howard Chu
e0bcb7b571 ITS#4643 never use native getpass(), it's deprecated/unsafe 2009-07-22 06:34:37 +00:00
Howard Chu
db3610ce26 Add sssvlv overlay 2009-07-13 18:56:03 +00:00
Howard Chu
5e29929490 cleanup space/tab 2009-07-13 18:46:36 +00:00
Howard Chu
bde3a4ffcb Add vlv error code 2009-07-13 18:45:43 +00:00
Howard Chu
4b8485c47a ITS#5696 Additional MozNSS support from rmeggins@redhat.com 2009-07-02 23:10:23 +00:00
Howard Chu
23783a9164 Add ldap_pvt_thread_pool_retract() to cancel pending threads 2009-06-11 04:46:04 +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
85b47ab0e7 define and use ber_strnlen() (ITS#6080); please regenerate configure and include/portable.hin 2009-04-29 11:38:31 +00:00
Howard Chu
44f91f1464 ITS#6041 Windows opendir/closedir issues (from ITS#5408...) 2009-04-11 04:22:27 +00:00
Pierangelo Masarati
0d6e859846 fix ldap namespace (part of ITS#5974) 2009-02-24 21:09:41 +00:00
Rein Tollevik
0157ae4744 ITS#5972 Added newCookie sync info messages. 2009-02-24 20:01:08 +00:00
Pierangelo Masarati
040f945d36 fix misc warnings 2009-02-15 21:59:16 +00:00
Howard Chu
d0515c4017 ITS#5922 with namespace changes 2009-02-05 09:38:07 +00:00
Howard Chu
2b08e96b53 ITS#5916 - externally callable functions are ldap_pvt, not ldap_int. 2009-02-02 21:14:34 +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
Pierangelo Masarati
7681642bcf fix LDAP deref control response; fix tool response handling; add lutil_memcopy() for API uniformity (more about ITS#5768) 2008-12-11 23:17:08 +00:00
Hallvard Furuseth
47560a77c7 ITS#5824: #if/#elif issues in thread #includes 2008-11-21 05:03:53 +00:00
Howard Chu
86b5de38be ITS#5812 add SASL_NOCANON / -N option 2008-11-21 03:30:15 +00:00
Howard Chu
79e489619a ITS#4750 regenerate 2008-11-21 02:14:31 +00:00
Quanah Gibson-Mount
aeec87eed4 Move LDAP_CONTROL_X_WHATFAILED and LDAP_CONTROL_X_DEREF from behind #devel 2008-11-11 01:05:22 +00:00
Pierangelo Masarati
7ad03166b6 add "What Failed?" LDAP control (ITS#5784) 2008-11-01 15:15:57 +00:00
Pierangelo Masarati
91e14ca638 add support for (experimental) dereference control (ITS#5768); need to re-run autoconf (and autoheader?) 2008-10-22 22:19:49 +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
b2432fdbf2 Add SASL_MECHLIST option to retrieve list of known SASL mechs 2008-10-09 09:28:39 +00:00
Howard Chu
ca62039424 Regenerate for collect overlay 2008-09-11 00:35:40 +00:00
Howard Chu
f6edefa25d Add back-ndb 2008-08-26 21:48:17 +00:00
Howard Chu
0dbeb1d87b Pass LDAPURLDescs to connect functions instead of host/port 2008-08-15 22:53:47 +00:00
Howard Chu
80d1dba901 Add LDAP_OPT_CONNECT_CB connection callbacks 2008-08-14 04:54:32 +00:00
Pierangelo Masarati
7e3c9a07e9 add client API for assertion control (ITS#5560) 2008-06-14 17:49:47 +00:00
Howard Chu
a287573d2d ITS#5407 more checks for pool pausing 2008-03-08 23:51:07 +00:00
Howard Chu
fdbc12fa74 Silence BER_BVC warning 2008-03-02 15:05:47 +00:00
Hallvard Furuseth
5fca6c19c8 ITS#5364, thread pool efficiency:
Add ldap_pvt_thread_pool_pausing(): pause check for slapd without locking.
2008-02-10 16:24:28 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
30f401c628 rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309) 2008-01-07 21:35:03 +00:00
Pierangelo Masarati
622c4d3884 new ldap_pvt_thread_pool_setkey API 2007-12-29 18:14:54 +00:00
Pierangelo Masarati
20f2548c82 fix declarations of buffers for numeric strings; other related cleanup 2007-12-15 15:23:23 +00:00
Howard Chu
304520c113 Add memctx to lutil_str2bin() 2007-12-02 19:11:41 +00:00
Howard Chu
20c4e016fa Added native thread-specific data support 2007-10-25 06:42:40 +00:00
Howard Chu
a1a63bead0 ITS#4188 check for pool pause every 64 entries. (probably should make
this number tunable.)
2007-10-08 01:15:49 +00:00
Howard Chu
4d58197880 Add lutil_str2bin() for arbitrary length decimal-to-binary conversion 2007-10-01 06:50:19 +00:00
Howard Chu
5a83ce1567 back-sock by Brian Candler (B.Candler@pobox.com) ITS#4094 (untested) 2007-09-09 14:23:36 +00:00
Howard Chu
285ceff179 Fix spurious warnings in prev commit 2007-08-24 22:42:41 +00:00
Pierangelo Masarati
b9e2fd0dd6 ldap_control*_dup() is no longer private; add ldap_pvt_put_control 2007-08-24 12:29:33 +00:00
Pierangelo Masarati
ee8431b22d add memberOf overlay 2007-08-24 02:46:55 +00:00
Pierangelo Masarati
25d46e7578 rework controls API 2007-08-22 22:35:14 +00:00
Pierangelo Masarati
00368b128a log formatOID, possibly mapped to friendly name if known 2007-08-22 08:44:21 +00:00
Pierangelo Masarati
437b3a0585 client side of draft-wahl-ldap-session 2007-08-22 00:03:03 +00:00
Pierangelo Masarati
b21a1ce71c move to implemented :) 2007-08-21 18:09:13 +00:00
Pierangelo Masarati
403704b7bc move uuid normalized to string to liblutil 2007-08-17 12:42:52 +00:00
Pierangelo Masarati
4bc19cbbb9 cleanup tools 2007-08-16 09:22:07 +00:00
Pierangelo Masarati
848ea293a3 cleanup 2007-06-19 22:59:53 +00:00
Hallvard Furuseth
c60f7c1fd2 For ITS#4943: Axe thread pool semaphore code 2007-06-10 23:37:49 +00:00
Pierangelo Masarati
af985c7efb re-fix ITS#4936 2007-06-10 21:55:39 +00:00
Hallvard Furuseth
0377189f2d Regenerate for ITS#4629 2007-06-09 23:38:13 +00:00
Howard Chu
64c9240003 Regenerate with GNUtls additions 2007-05-10 20:33:41 +00:00
Howard Chu
c51fd6c96e Add LDAP_OPT_X_TLS_CRLFILE, peer cert verification for GNUtls 2007-05-10 19:43:28 +00:00
Hallvard Furuseth
bbc719ca56 ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup 2007-05-09 18:17:10 +00:00
Howard Chu
7426ab07fc 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.
2007-03-25 04:40:22 +00:00
Howard Chu
38a723d442 Revert prev commits, didn't belong here 2007-03-25 04:27:15 +00:00
Howard Chu
0355abeb1a Fix typo in prev commit 2007-03-25 04:13:55 +00:00
Howard Chu
7f32178616 Add LDAP_PF_LOCAL_SENDMSG flag 2007-03-25 01:06:36 +00:00
Howard Chu
49d708fae3 Preliminary GNUtls support. gnutls.c will merge back into tls.c later. 2007-03-23 23:47:07 +00:00
Howard Chu
b213588f95 Add options for ber_get_stringbv() to omit NUL-terminator, to allow
non-destructive in-place parsing
2007-03-23 15:27:38 +00:00
Howard Chu
a4f879f9d2 ITS#4880 s/HAVE_POSIX_TERMIOS/HAVE_TERMIOS_H/ 2007-03-23 01:10:58 +00:00
Pierangelo Masarati
bf2d5729ae more structure name cleanup 2007-03-20 17:09:24 +00:00
Howard Chu
1255666b8b Add DER OID decoder/encoder 2007-03-20 15:11:14 +00:00
Kurt Zeilenga
e630a6a428 Rebuild 2007-03-02 20:53:56 +00:00
Kurt Zeilenga
486a26ac34 Rebuild 2007-03-02 07:38:57 +00:00
Howard Chu
c3e28a5488 ITS#4840 fix typo 2007-02-12 11:53:59 +00:00
Howard Chu
1f635b8bcf ITS#4707 added new ldap_init_fd() API 2007-02-12 04:20:24 +00:00
Howard Chu
6cbf65642a Move duplicate timestamp detection into lutil_gettime() 2007-02-11 13:42:29 +00:00
Howard Chu
e0ed944be3 Added ber_bvarray_dup_x() 2007-02-05 04:31:38 +00:00
Howard Chu
4b1bb81452 Add lutil_gettime() returning structured time with microseconds. Use
microseconds in CSNs. Omit microseconds from modifyTImestamp...
2007-02-02 23:10:30 +00:00
Howard Chu
26a47e7bd0 Framework for loadable mapper implementations 2007-01-12 23:20:17 +00:00
Hallvard Furuseth
4a0d1a7dd1 Wrap enum in #ifndef LDAP_PVT_THREAD_H_DONE; this code can be read twice. 2007-01-11 13:43:52 +00:00
Howard Chu
6111087fac Trust HAVE_PTHREAD_RWLOCK_DESTROY now. 2007-01-11 00:55:26 +00:00
Howard Chu
da198f27a6 Revert accidental commit 2007-01-10 01:29:16 +00:00
Pierangelo Masarati
c09a12fef7 dunno if it's going to be of any use... 2007-01-10 00:51:20 +00:00
Howard Chu
bec25494fe ITS#4799 remove kerberos / kbind references 2007-01-10 00:20:42 +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
5513ac6335 import of LDAP Sync client API 2007-01-06 18:28:32 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
6490a0b6c1 move slapo-{denyop,lastmod} to contrib/slapd-modules/{denyop,lastlog}/ (ITS#4701) 2006-12-28 16:33:36 +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
0aebe8af08 rework timeout strategy a little bit 2006-10-21 18:57:27 +00:00
Pierangelo Masarati
968da1cb14 add LDAP_OPT_DIAGNOSTIC_MESSAGE; replace deprecated option names 2006-10-14 17:04:17 +00:00
Kurt Zeilenga
0cd4dd55aa Include sys/types.h for regex.h test 2006-10-11 12:36:50 +00:00
Howard Chu
a8e58e3eb4 Just include one or the other of poll.h or sys/poll.h 2006-09-21 18:00:01 +00:00
Howard Chu
bd1f3a7d8d ITS#4674 fix poll detection 2006-09-21 17:54:37 +00:00
Pierangelo Masarati
35622ec494 detect, but don't use, Solaris' /dev/poll 2006-09-17 22:09:19 +00:00
Pierangelo Masarati
67f3fd8078 monitor __ALL__ thread parameters 2006-09-14 18:55:02 +00:00
Howard Chu
2cc356588e dirent emulation for MSVC 2006-09-14 08:01:05 +00:00