Jani Salonen
a572f4b967
ITS#7305 add slapi_[get|free]_client_ip()
2012-06-23 05:46:25 -07:00
Howard Chu
19aeb1cda9
ITS#7293 fix typo in ldap_create_session_tracking_control() decl
2012-06-23 05:38:57 -07:00
Kurt Zeilenga
2bbf9804b9
Happy New Year!
2012-01-01 07:10:53 -08:00
Howard Chu
68ee165fb5
ITS#7115 blocked writers should not interfere with pool pause
2011-12-21 01:24:23 -08:00
Quanah Gibson-Mount
692d6e4f55
ITS#6984 enable draft-wahl-ldap-session
2011-11-07 14:02:50 -08:00
Howard Chu
df81345337
Add MDB support to configure and test framework.
...
Does not update the tests themselves.
In configure --help, call it "mdb database backend" instead of something
with "memory-mapped" which could confuse somebody about a memory-only DB.
Conflicts:
servers/slapd/back-mdb/Makefile.in
2011-09-01 17:00:26 -07:00
Pierangelo Masarati
92f4a3b2a7
response tag is [1] according to RFC 2589 (ITS#6886)
2011-06-30 21:24:12 +02:00
Howard Chu
9f7d119ce3
Add LDAP_OPT_X_TLS_PACKAGE
...
to return the name of the underlying TLS implementation
2011-06-10 02:11:26 -07:00
Kurt Zeilenga
868e11f6f5
use IANA assigned OID for dontUseCopy control, don't hide anymore
2011-03-16 19:24:41 +00:00
Hallvard Furuseth
0ac44dc868
ITS#6859 Fix NT threads LDAP_INT_MUTEX_FIRSTCREATE().
...
s/int_/pvt_/ in call to ldap_int_thread_mutex_init().
Bug introduced in rev 1.33; OpenLDAP 2.4.24.
2011-03-14 16:54:30 +00:00
Howard Chu
93da727d86
ITS#6848 Add -w option to wait for DB startup before parent exits
2011-03-01 01:19:37 +00:00
Howard Chu
ba30a9ee62
Export pw_string64 as lutil_passwd_string64
2011-02-07 00:46:06 +00:00
Howard Chu
e542bd5498
ITS#5421 export ldap_debug define in <ldap_log.h>
2011-01-19 21:20:10 +00:00
Kurt Zeilenga
be897b6679
Outline SASL interactive API (no meat)
2011-01-06 18:37:23 +00:00
Kurt Zeilenga
966cef8c9a
Happy New Year
2011-01-05 00:42:37 +00:00
Kurt Zeilenga
390ba8c84e
VC adjust controls tag
2011-01-04 16:01:07 +00:00
Kurt Zeilenga
4e515a8a65
Add VC support for ppolicy and authzid inner controls
2011-01-03 22:54:48 +00:00
Kurt Zeilenga
37dcb1d791
Remove authzid parameter from verify credential response.
...
If client wants authzid, it can ask by adding an Authorization Identity
Request inner control.
2011-01-03 22:05:23 +00:00
Kurt Zeilenga
7f4c7ebc1c
Extend Verify Credentials encode/decode per -devel post.
...
(ldapvc doesn't yet request/handle inner password policy control.
2011-01-03 21:49:26 +00:00
Kurt Zeilenga
3242a3fab4
Fix prototype to match code
2010-12-28 22:59:15 +00:00
Kurt Zeilenga
6119ad7294
Misc vc updates
2010-12-15 00:59:42 +00:00
Kurt Zeilenga
11fc6a68de
Fix typo
2010-12-14 21:51:49 +00:00
Kurt Zeilenga
4ce4e4768a
should be .5
2010-12-14 21:38:31 +00:00
Kurt Zeilenga
3f25b4ffcf
Assign experimental OID
2010-12-14 21:37:41 +00:00
Kurt Zeilenga
d3b51f2614
LDAP "Verify Credentials" operation
...
Client library implementation only
2010-12-14 20:58:02 +00:00
Pierangelo Masarati
dc156d7f6e
allow to set LDIF max line width (ITS#6645)
2010-12-07 10:14:51 +00:00
Hallvard Furuseth
285eee8904
ITS#6625 Invert test in NT threads LDAP_INT_MUTEX_FIRSTCREATE
2010-12-06 10:48:29 +00:00
Hallvard Furuseth
7cb9c496bf
ITS#6625 concurrency patch cleanup
2010-12-06 10:41:41 +00:00
Howard Chu
0f30db1c46
ITS#6625 concurrency patch from Doug Leavitt @ Oracle .com
2010-10-22 21:45:48 +00:00
Howard Chu
fca72f333b
Add ldap_sasl_interactive_bind()
2010-10-14 01:29:32 +00:00
Howard Chu
0890a89c37
ITS#6669 remove obsolete SunOS4 LWP support
2010-10-12 10:26:31 +00:00
Pierangelo Masarati
0c0873803d
add parsing support for [unsigned] long long (ITS#6622)
2010-08-12 23:32:37 +00:00
Howard Chu
2dd75cf206
Support option SASL_GSS_CREDS
2010-05-13 06:08:21 +00:00
Kurt Zeilenga
3dadeb3efe
happy belated New Year
2010-04-13 22:17:29 +00:00
Pierangelo Masarati
9331182a07
union of operation-specific data in LDIFRecord (ITS#6194, by Rich Megginson)
2010-04-13 07:37:59 +00:00
Pierangelo Masarati
d033f680b5
(ITS#6194) Patch - Enhancement - provide LDIF support as libldif
2010-04-12 02:01:55 +00:00
Hallvard Furuseth
31d7966546
ITS#6402: Kill broken macro LBER_INVALID.
...
Also update comments about ber_tag_t vs BER identifier octets.
2009-11-30 10:36:48 +00:00
Hallvard Furuseth
3aff1b0c0c
ITS#6351,6390: s/memrchr/lutil_memrchr/, but try #define lutil_memrchr->memrchr
2009-11-20 20:43:50 +00:00
Howard Chu
5e52ad6751
ITS#6351 only declare memrchr if not defined by platform
2009-11-15 21:41:41 +00:00
Pierangelo Masarati
07dc23f5ee
treat bervals as bervals (related to ITS#6378,ITS#6379)
2009-11-15 18:26:53 +00:00
Hallvard Furuseth
48048c5348
More ITS#6353 - relent a bit: accept terminating NUL byte, which AD can send
2009-11-04 11:17:03 +00:00
Hallvard Furuseth
dd1aee481d
Revert previous change - debug levels should all have the same type
2009-10-30 17:43:52 +00:00
Hallvard Furuseth
989bd54914
For ITS#6353: Catch embedded NULs in BerValues converted to char* strings
2009-10-28 23:00:27 +00:00
Howard Chu
def5f3e6f5
Prev commit: flags should be unsigned
2009-10-26 19:31:36 +00:00
Howard Chu
02fdfc871f
Cleanup prev commit
2009-10-26 19:30:42 +00:00
Howard Chu
1155f5ff20
ITS#6327 fix sb_sasl_generic_write retval for partial writes
2009-10-26 18:49:42 +00:00
Hallvard Furuseth
278880083b
Fix sock_errset macro: Wrap it in (), return void to match Winsock version.
...
AC_SOCKET_INVALID nitpick: ((unsigned)~0) [needs 2's compl.] -> ((unsigned)-1)
2009-10-23 12:29:50 +00:00
Howard Chu
f8a77ecfa2
ITS#6342 include <ac/unistd.h>
2009-10-21 03:09:28 +00:00
Pierangelo Masarati
16d3ad01c0
don't "overflow" debug levels (ITS#6324)
2009-10-06 22:03:15 +00:00
Hallvard Furuseth
f0d775609b
More ITS#6262: Also define ldap_pvt_gmtime_[un]lock if localtime_r is missing
2009-08-19 10:10:31 +00:00
Hallvard Furuseth
13e72602ab
Fix previous commit: move struct lutil_tm declaration out of prototype scope
2009-08-19 09:55:31 +00:00
Howard Chu
b8cfc762c7
Regenerate
2009-08-19 09:15:10 +00:00
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