Commit Graph

380 Commits

Author SHA1 Message Date
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
Howard Chu
c51fd6c96e Add LDAP_OPT_X_TLS_CRLFILE, peer cert verification for GNUtls 2007-05-10 19:43:28 +00:00
Howard Chu
c3e28a5488 ITS#4840 fix typo 2007-02-12 11:53:59 +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
968da1cb14 add LDAP_OPT_DIAGNOSTIC_MESSAGE; replace deprecated option names 2006-10-14 17:04:17 +00:00
Kurt Zeilenga
97fa3f1efd More LDAP_DEVEL cleanup
Rename ManageDIT to Relax
2006-08-22 00:45:16 +00:00
Kurt Zeilenga
cbe32f6340 LDAP_DEVEL cleanup 2006-08-18 06:15:05 +00:00
Kurt Zeilenga
f9cf518cdc fix bind/unbind typo 2006-08-10 15:23:50 +00:00
Kurt Zeilenga
c7338f5cdd Add notes regarding alternatives to deprecated routines 2006-08-10 01:49:26 +00:00
Kurt Zeilenga
423a93019f Misc RFC reference updates 2006-06-21 07:09:39 +00:00
Pierangelo Masarati
373ded8d24 add URI list resorting feature (ITS#4524) 2006-05-06 16:15:25 +00:00
Pierangelo Masarati
8242166888 print the correct search base when taken from ldaprc (ITS#4504) 2006-04-25 22:23:00 +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
8f318ec8a8 commit missing TXN piece 2006-03-31 15:31:29 +00:00
Kurt Zeilenga
8ac8d70a55 TXN protocol element parsers (without any backend support)
Misc cleanup
2006-03-07 00:48:14 +00:00
Kurt Zeilenga
825ce79611 Initial and rough client-side implementation of the revised LDAP
Transactions specification.  A work in progress!  Comments welcomed.
2006-03-06 21:20:36 +00:00
Kurt Zeilenga
8c8ea049cb Macro cleanup 2006-02-16 05:01:29 +00:00
Kurt Zeilenga
377aa0be68 ITS#4404: fix typo in ValuesReturnFilter control OID, add
temporary server-side support for old OID.
2006-02-15 21:30:35 +00:00
Kurt Zeilenga
7f0a047c37 Add RFC 4370 2006-02-11 04:08:23 +00:00
Kurt Zeilenga
48c34d254f Update proxied authorization implementation to use IANA
assigned result code.
2006-01-12 22:55:56 +00:00
Kurt Zeilenga
79d52b6f39 cleanup 2006-01-10 02:19:02 +00:00
Kurt Zeilenga
d8eace75a7 cleanup 2006-01-09 05:22:46 +00:00
Kurt Zeilenga
bc9fd825b6 Move deprecated routine behind LDAP_DEPRECATED 2006-01-09 01:29:47 +00:00
Kurt Zeilenga
eccd913a07 Update variables holding protocol values to ber_*_t's
Remove old grouping/txn code (pending redesign)
2006-01-09 01:25:53 +00:00
Pierangelo Masarati
dbfb08b545 line up LDAP_API_FEATURE_PAGED_RESULTS with other controls 2006-01-08 22:44:43 +00:00
Pierangelo Masarati
de79a7bfec rework API functions to create/parse controls; add client API functions to handle RFC2696 paged results (ITS#4314; patch from Hans Leidekker with changes) 2006-01-08 22:03:30 +00:00
Kurt Zeilenga
bca31173d8 Update (and rename) Sort and VLV parse routines to expect actual
control to be directly passed in.
2006-01-08 19:34:01 +00:00
Pierangelo Masarati
339b9c371e rfc2589 support (ITS#4293) 2006-01-06 17:46:52 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
5887a98bcf register temporary OID under OpenLDAP experimental arc 2005-11-27 23:32:38 +00:00
Pierangelo Masarati
4fe032e9be add very preliminary support for <draft-sermersheim-ldap-distproc> 2005-11-27 23:23:59 +00:00
Kurt Zeilenga
a525a24eb5 Add dontUseCopy control to ldapcompare(1) and ldapsearch(1).
No slapd(8) support yet.
Also removed unnecessary #ifdefs
2005-11-26 06:31:05 +00:00
Kurt Zeilenga
ecd86725f2 Update result code to IANA-assigned values
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Kurt Zeilenga
c9fbf8e192 Various cleanup and updating 2005-11-01 19:56:52 +00:00
Howard Chu
4ebed09d81 ITS#4017, additional revisions for DH parameters 2005-10-28 05:35:19 +00:00
Kurt Zeilenga
c44b332d55 Note that proxy authz was submitted for publication 2005-10-17 20:50:51 +00:00
Kurt Zeilenga
a534d5fb6b Add ldap_bv2escaped_filter_value (ITS#2535) 2005-10-13 06:35:28 +00:00
Howard Chu
d018d4e8b3 Add comment that LDAP_MORE_RESULTS_TO_RETURN is obsolete 2005-10-08 18:51:53 +00:00
Howard Chu
9095af5928 ITS#4017 support Diffie-Hellman parameters for multiple key lengths 2005-10-05 20:01:52 +00:00
Howard Chu
c9c1ee10b3 Add LDAP_CONTROL_VALSORT 2005-08-24 02:07:43 +00:00
Howard Chu
fa444597af Tweak comment about ppolicy, we're up to date for now. 2005-08-23 19:41:07 +00:00
Kurt Zeilenga
eceb493bc0 Use IANA assigned OIDs 2005-08-12 21:24:13 +00:00
Kurt Zeilenga
7dec65ee10 Replace 666 OIDs for Assertion/pre-read/post-read controls with
appropriate IANA assigned OIDs, and remove hide.
2005-08-12 18:08:15 +00:00
Pierangelo Masarati
ad62d9da1b expose ldap_tls_inplace() 2005-08-11 12:14:24 +00:00
Luke Howard
658fdd2cf3 add LDAP_CONTROL_X_EXTENDED_DN 2005-07-29 08:43:29 +00:00
Howard Chu
64efba5eb2 ITS#3847 fix LDAP_GROUP_TRANSACTION defs 2005-07-11 10:30:46 +00:00
Pierangelo Masarati
eb005a9872 allow to muck with referrals while chasing... 2005-05-28 14:29:08 +00:00
Pierangelo Masarati
d19ccf11c0 line-up with (yet incomplete) draft-sermersheim-ldap-chaining-03 requested return code names 2005-05-21 15:11:18 +00:00
Kurt Zeilenga
e31b039395 Fix OIDs of works in progress 2005-05-14 06:38:49 +00:00
Kurt Zeilenga
8ac304ee4c Add client-side ManageDIT control support
(to be used to 'manage' DIT entries).
2005-05-13 03:00:04 +00:00
Kurt Zeilenga
b8862a74d6 ldap.h updates 2005-05-06 21:07:29 +00:00
Kurt Zeilenga
5a9690eeb1 Remove _X_ from some items now standard track 2005-05-06 17:50:03 +00:00
Kurt Zeilenga
be097fc8cd Add ldap_turn(3) and ldap_turn_s(3). 2005-05-04 20:24:48 +00:00
Kurt Zeilenga
3cba3840ac Add new resolver checks 2005-04-02 20:52:18 +00:00
Kurt Zeilenga
542f3634aa Add ldap_start_tls() and ldap_install_tls() to provide async version
of ldap_start_tls_s().
2005-02-01 23:53:17 +00:00
Pierangelo Masarati
c6a1f24186 add support for Chaining Behavior control (<draft-sermersheim-ldap-chaining>, a work in progress) 2005-01-25 16:11:26 +00:00
Pierangelo Masarati
86a4894bf8 fix ITS#3458 2005-01-21 14:38:49 +00:00
Kurt Zeilenga
b3b4d344fc LDAP_DEVEL cleanup 2005-01-19 20:28:09 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Kurt Zeilenga
35f44be64b Add "not yet implemented" comment to LCUP result code section 2004-12-31 04:33:27 +00:00
Kurt Zeilenga
a2705b84c7 Update CancelOp's protocol values to those in RFC 3909 2004-12-30 23:04:41 +00:00
Kurt Zeilenga
e66a962401 Add macro for Strong(er) Authen Required 2004-12-30 19:15:15 +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
Ralf Haferkamp
5704a2ef6e CRL checking options for ldap.conf and slapd.conf 2004-10-28 18:50:38 +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
Kurt Zeilenga
440e631319 ITS#3168: Add LDAP_OPT_SOCKBUF 2004-10-19 03:07:05 +00:00
Kurt Zeilenga
6cde4bdeb3 Move LDAP_COMP_MATCH define from ldap.h to slap.h 2004-08-27 18:53:44 +00:00
Sang Seok Lim
2af6457771 This patch is for a component filter. please refer ITS#3260 for detail
and "implementing GSER and Component Matching" in ODD 2004.
All codes are #ifdef'd with LDAP_COMP_MATCH.
test031-component-filter works correctly only when the LDAP_COMP_MATCH macro is set.
To disable it, set AC_WITH_COMP_MATCH "no" in "openldap_src/tests/run.in".
2004-08-26 00:06:39 +00:00
Kurt Zeilenga
0b3f8c2303 Add LDAP_MAXINT macro
Add additional error checks
Fix a few typos and cleanup
2004-06-18 20:14:28 +00:00
Kurt Zeilenga
caa5266ffd More releng cleanup 2004-03-18 01:41:42 +00:00
Kurt Zeilenga
e323437c6a cleanup for release engineering 2004-03-18 01:06:39 +00:00
Howard Chu
75325beefe Hide ppolicy behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST 2004-03-16 01:50:10 +00:00
Kurt Zeilenga
c984dbf09b OID/comment cleanup 2004-03-16 01:17:07 +00:00
Kurt Zeilenga
9d7a629bc4 Update LDAP Sync OIDs to those assigned for RFC publication 2004-03-16 00:51:11 +00:00
Howard Chu
2b86ace653 ldap_parse_passwordpolicy_control takes a single LDAPControl* arg now,
use ldap_find_control to find it. Added ldap_passwordpolicy_err2text().
2004-03-15 23:53:37 +00:00
Kurt Zeilenga
647df2b9cb Start of client-side LDAP tranactions (non-working)
and lots of cleanup (hence the commit)
(ldapmodify will need much more work for transactions)
2004-03-14 23:32:00 +00:00
Kurt Zeilenga
af9e1583a7 Add prototypes for grouping functions
Add ldap_find_control()
2004-03-14 00:57:44 +00:00
Kurt Zeilenga
0787c28078 macros for grouping of related operations
macros for transaction groupings
2004-03-14 00:07:23 +00:00
Howard Chu
9a8ded9ff1 Fix for password policy draft 7 2004-03-13 10:03:58 +00:00
Howard Chu
3810fa18d8 Added PasswordPolicy control 2004-03-12 21:22:32 +00:00
Luke Howard
d249714033 s/SERVER_SEARCH_FLAG/SEARCH_FLAG 2004-03-09 14:12:34 +00:00
Luke Howard
ad7bfa1c23 Document search flags 2004-03-09 14:08:54 +00:00
Luke Howard
d37ac06099 Add defines for LDAP_CONTROL_X_TREE_DELETE and LDAP_CONTROL_X_SEARCH_OPTIONS 2004-03-09 14:03:24 +00:00
Luke Howard
c81161ed86 Fix typo (thanks Pierangelo!) 2004-03-08 09:24:26 +00:00
Luke Howard
d70a8f5ea5 Add #define for incremental values control (draft-kashi-incremental-00.txt) 2004-03-08 07:43:30 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
93c9cbf3b8 Misc updates 2003-12-30 01:45:34 +00:00
Kurt Zeilenga
2775c8d4a8 Update no-op control to return LDAP_NO_OPERATION instead of LDAP_SUCCESS.
(back-sql needs to be updated)
2003-12-29 23:31:39 +00:00
Kurt Zeilenga
c7a390ee43 Switch to #if instead of #ifdef LDAP_DEPRECATED 2003-12-18 00:44:51 +00:00
Kurt Zeilenga
806ec7470b Minor adjust 2003-12-17 21:29:19 +00:00
Kurt Zeilenga
46053f84a6 Clean up LDAP Sync result codes 2003-12-17 21:09:28 +00:00
Kurt Zeilenga
271fff13de Sync with HEAD 2003-12-17 17:55:27 +00:00
Kurt Zeilenga
a736f237f8 Deprecate +objectClass in favor of @objectClass per IETF discussions 2003-12-16 05:55:52 +00:00
Kurt Zeilenga
d9ad3bcc50 Rework last commit 2003-12-15 23:32:52 +00:00
Kurt Zeilenga
ba783f89bf Rev the API version number 2003-12-15 23:27:28 +00:00