Home | History | Annotate | Download | only in lib

Lines Matching refs:ldap

31  * compiled is the code from ldap.c.
38 #ifdef USE_WIN32_LDAP /* Use Windows LDAP implementation. */
41 # error Your Platform SDK is NOT sufficient for LDAP support! \
42 Update your Platform SDK, or disable LDAP support!
51 # include <ldap.h>
135 * LDAP protocol handler.
139 "LDAP", /* scheme */
189 static int ldap_win_bind_auth(LDAP *server, const char *user,
236 static int ldap_win_bind(struct connectdata *conn, LDAP *server,
267 LDAP *server = NULL;
290 infof(data, "LDAP local: LDAP Vendor = %s ; LDAP Version = %d\n",
292 infof(data, "LDAP local: %s\n", data->change.url);
300 failf(data, "LDAP local: %s", ldap_err2string(rc));
305 /* Get the URL scheme (either ldap or ldaps) */
308 infof(data, "LDAP local: trying to establish %s connection\n",
335 /* Win32 LDAP SDK doesn't support insecure mode without CA! */
344 failf(data, "LDAP local: ldapssl_client_init %s", ldap_err2string(rc));
355 failf(data, "LDAP local: ERROR %s CA cert not set!",
360 infof(data, "LDAP local: using %s CA cert '%s'\n",
365 failf(data, "LDAP local: ERROR setting %s CA cert: %s",
377 failf(data, "LDAP local: ERROR setting cert verify mode: %s",
384 failf(data, "LDAP local: Cannot connect to %s:%ld",
394 failf(data, "LDAP local: ERROR OpenLDAP only supports PEM cert-type!");
399 failf(data, "LDAP local: ERROR PEM CA cert not set!");
403 infof(data, "LDAP local: using PEM CA cert: %s\n", ldap_ca);
406 failf(data, "LDAP local: ERROR setting PEM CA cert: %s",
418 failf(data, "LDAP local: ERROR setting cert verify mode: %s",
425 failf(data, "LDAP local: Cannot connect to %s:%ld",
433 failf(data, "LDAP local: ERROR setting SSL/TLS mode: %s",
441 failf(data, "LDAP local: ERROR starting SSL/TLS mode: %s",
449 should check in first place if we can support LDAP SSL/TLS */
450 failf(data, "LDAP local: SSL/TLS not supported with this version "
461 failf(data, "LDAP local: Cannot connect to %s:%ld",
486 failf(data, "LDAP local: ldap_simple_bind_s %s", ldap_err2string(rc));
495 failf(data, "LDAP remote: %s", ldap_err2string(rc));
751 connclose(conn, "LDAP connection always disable re-use");
828 * Break apart the pieces of an LDAP URL.
830 * ldap://<hostname>:<port>/<base_dn>?<attributes>?<scope>?<filter>?<ext>
836 * ldap://<hostname>:<port>/?<attributes>?<scope>?<filter>
852 !checkprefix("LDAP", conn->data->change.url))