Commit graph

1461 commits

Author SHA1 Message Date
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