Back to index

openldap  2.4.31
Classes | Defines | Typedefs | Enumerations | Functions
ldap.h File Reference
#include <lber.h>
#include <ldap_features.h>

Go to the source code of this file.

Classes

struct  ldapapiinfo
struct  ldap_apifeature_info
struct  ldapcontrol
struct  ldapmod
union  ldapmod::mod_vals_u
struct  ldap_url_desc
struct  ldap_sync_t
struct  ldap_conncb
struct  ldap_ava
struct  ldapsortkey
struct  ldapvlvinfo
struct  LDAPDerefSpec
struct  LDAPDerefVal
struct  LDAPDerefRes

Defines

#define LDAP_VERSION1   1
#define LDAP_VERSION2   2
#define LDAP_VERSION3   3
#define LDAP_VERSION_MIN   LDAP_VERSION2
#define LDAP_VERSION   LDAP_VERSION2
#define LDAP_VERSION_MAX   LDAP_VERSION3
#define LDAP_API_VERSION   3001
#define LDAP_VENDOR_NAME   "OpenLDAP"
#define LDAP_API_FEATURE_X_OPENLDAP   LDAP_VENDOR_VERSION
#define LDAP_PORT   389 /* ldap:/// default LDAP port */
#define LDAPS_PORT   636 /* ldaps:/// default LDAP over TLS port */
#define LDAP_ROOT_DSE   ""
#define LDAP_NO_ATTRS   "1.1"
#define LDAP_ALL_USER_ATTRIBUTES   "*"
#define LDAP_ALL_OPERATIONAL_ATTRIBUTES   "+" /* RFC 3673 */
#define LDAP_MAXINT   (2147483647)
#define LDAP_OPT_API_INFO   0x0000
#define LDAP_OPT_DESC   0x0001 /* historic */
#define LDAP_OPT_DEREF   0x0002
#define LDAP_OPT_SIZELIMIT   0x0003
#define LDAP_OPT_TIMELIMIT   0x0004
#define LDAP_OPT_REFERRALS   0x0008
#define LDAP_OPT_RESTART   0x0009
#define LDAP_OPT_PROTOCOL_VERSION   0x0011
#define LDAP_OPT_SERVER_CONTROLS   0x0012
#define LDAP_OPT_CLIENT_CONTROLS   0x0013
#define LDAP_OPT_API_FEATURE_INFO   0x0015
#define LDAP_OPT_HOST_NAME   0x0030
#define LDAP_OPT_RESULT_CODE   0x0031
#define LDAP_OPT_ERROR_NUMBER   LDAP_OPT_RESULT_CODE
#define LDAP_OPT_DIAGNOSTIC_MESSAGE   0x0032
#define LDAP_OPT_ERROR_STRING   LDAP_OPT_DIAGNOSTIC_MESSAGE
#define LDAP_OPT_MATCHED_DN   0x0033
#define LDAP_OPT_SSPI_FLAGS   0x0092
#define LDAP_OPT_SIGN   0x0095
#define LDAP_OPT_ENCRYPT   0x0096
#define LDAP_OPT_SASL_METHOD   0x0097
#define LDAP_OPT_SECURITY_CONTEXT   0x0099
#define LDAP_OPT_API_EXTENSION_BASE   0x4000 /* API extensions */
#define LDAP_OPT_DEBUG_LEVEL   0x5001 /* debug level */
#define LDAP_OPT_TIMEOUT   0x5002 /* default timeout */
#define LDAP_OPT_REFHOPLIMIT   0x5003 /* ref hop limit */
#define LDAP_OPT_NETWORK_TIMEOUT   0x5005 /* socket level timeout */
#define LDAP_OPT_URI   0x5006
#define LDAP_OPT_REFERRAL_URLS   0x5007 /* Referral URLs */
#define LDAP_OPT_SOCKBUF   0x5008 /* sockbuf */
#define LDAP_OPT_DEFBASE   0x5009 /* searchbase */
#define LDAP_OPT_CONNECT_ASYNC   0x5010 /* create connections asynchronously */
#define LDAP_OPT_CONNECT_CB   0x5011 /* connection callbacks */
#define LDAP_OPT_SESSION_REFCNT   0x5012 /* session reference count */
#define LDAP_OPT_X_TLS   0x6000
#define LDAP_OPT_X_TLS_CTX   0x6001 /* OpenSSL CTX* */
#define LDAP_OPT_X_TLS_CACERTFILE   0x6002
#define LDAP_OPT_X_TLS_CACERTDIR   0x6003
#define LDAP_OPT_X_TLS_CERTFILE   0x6004
#define LDAP_OPT_X_TLS_KEYFILE   0x6005
#define LDAP_OPT_X_TLS_REQUIRE_CERT   0x6006
#define LDAP_OPT_X_TLS_PROTOCOL_MIN   0x6007
#define LDAP_OPT_X_TLS_CIPHER_SUITE   0x6008
#define LDAP_OPT_X_TLS_RANDOM_FILE   0x6009
#define LDAP_OPT_X_TLS_SSL_CTX   0x600a /* OpenSSL SSL* */
#define LDAP_OPT_X_TLS_CRLCHECK   0x600b
#define LDAP_OPT_X_TLS_CONNECT_CB   0x600c
#define LDAP_OPT_X_TLS_CONNECT_ARG   0x600d
#define LDAP_OPT_X_TLS_DHFILE   0x600e
#define LDAP_OPT_X_TLS_NEWCTX   0x600f
#define LDAP_OPT_X_TLS_CRLFILE   0x6010 /* GNUtls only */
#define LDAP_OPT_X_TLS_PACKAGE   0x6011
#define LDAP_OPT_X_TLS_NEVER   0
#define LDAP_OPT_X_TLS_HARD   1
#define LDAP_OPT_X_TLS_DEMAND   2
#define LDAP_OPT_X_TLS_ALLOW   3
#define LDAP_OPT_X_TLS_TRY   4
#define LDAP_OPT_X_TLS_CRL_NONE   0
#define LDAP_OPT_X_TLS_CRL_PEER   1
#define LDAP_OPT_X_TLS_CRL_ALL   2
#define LDAP_OPT_X_TLS_PROTOCOL(maj, min)   (((maj) << 8) + (min))
#define LDAP_OPT_X_TLS_PROTOCOL_SSL2   (2 << 8)
#define LDAP_OPT_X_TLS_PROTOCOL_SSL3   (3 << 8)
#define LDAP_OPT_X_TLS_PROTOCOL_TLS1_0   ((3 << 8) + 1)
#define LDAP_OPT_X_TLS_PROTOCOL_TLS1_1   ((3 << 8) + 2)
#define LDAP_OPT_X_TLS_PROTOCOL_TLS1_2   ((3 << 8) + 3)
#define LDAP_OPT_X_SASL_MECH   0x6100
#define LDAP_OPT_X_SASL_REALM   0x6101
#define LDAP_OPT_X_SASL_AUTHCID   0x6102
#define LDAP_OPT_X_SASL_AUTHZID   0x6103
#define LDAP_OPT_X_SASL_SSF   0x6104 /* read-only */
#define LDAP_OPT_X_SASL_SSF_EXTERNAL   0x6105 /* write-only */
#define LDAP_OPT_X_SASL_SECPROPS   0x6106 /* write-only */
#define LDAP_OPT_X_SASL_SSF_MIN   0x6107
#define LDAP_OPT_X_SASL_SSF_MAX   0x6108
#define LDAP_OPT_X_SASL_MAXBUFSIZE   0x6109
#define LDAP_OPT_X_SASL_MECHLIST   0x610a /* read-only */
#define LDAP_OPT_X_SASL_NOCANON   0x610b
#define LDAP_OPT_X_SASL_USERNAME   0x610c /* read-only */
#define LDAP_OPT_X_SASL_GSS_CREDS   0x610d
#define LDAP_OPT_X_GSSAPI_DO_NOT_FREE_CONTEXT   0x6200
#define LDAP_OPT_X_GSSAPI_ALLOW_REMOTE_PRINCIPAL   0x6201
#define LDAP_OPT_X_KEEPALIVE_IDLE   0x6300
#define LDAP_OPT_X_KEEPALIVE_PROBES   0x6301
#define LDAP_OPT_X_KEEPALIVE_INTERVAL   0x6302
#define LDAP_OPT_PRIVATE_EXTENSION_BASE   0x7000 /* Private API inclusive */
#define LDAP_OPT_SUCCESS   0
#define LDAP_OPT_ERROR   (-1)
#define LDAP_OPT_ON   ((void *) &ber_pvt_opt_on)
#define LDAP_OPT_OFF   ((void *) 0)
#define LDAP_API_INFO_VERSION   (1)
#define LDAP_FEATURE_INFO_VERSION   (1) /* apifeature_info struct version */
#define LDAP_CONTROL_MANAGEDSAIT   "2.16.840.1.113730.3.4.2" /* RFC 3296 */
#define LDAP_CONTROL_PROXY_AUTHZ   "2.16.840.1.113730.3.4.18" /* RFC 4370 */
#define LDAP_CONTROL_SUBENTRIES   "1.3.6.1.4.1.4203.1.10.1" /* RFC 3672 */
#define LDAP_CONTROL_VALUESRETURNFILTER   "1.2.826.0.1.3344810.2.3"/* RFC 3876 */
#define LDAP_CONTROL_ASSERT   "1.3.6.1.1.12" /* RFC 4528 */
#define LDAP_CONTROL_PRE_READ   "1.3.6.1.1.13.1" /* RFC 4527 */
#define LDAP_CONTROL_POST_READ   "1.3.6.1.1.13.2" /* RFC 4527 */
#define LDAP_CONTROL_SORTREQUEST   "1.2.840.113556.1.4.473" /* RFC 2891 */
#define LDAP_CONTROL_SORTRESPONSE   "1.2.840.113556.1.4.474" /* RFC 2891 */
#define LDAP_CONTROL_PAGEDRESULTS   "1.2.840.113556.1.4.319" /* RFC 2696 */
#define LDAP_SYNC_OID   "1.3.6.1.4.1.4203.1.9.1"
#define LDAP_CONTROL_SYNC   LDAP_SYNC_OID ".1"
#define LDAP_CONTROL_SYNC_STATE   LDAP_SYNC_OID ".2"
#define LDAP_CONTROL_SYNC_DONE   LDAP_SYNC_OID ".3"
#define LDAP_SYNC_INFO   LDAP_SYNC_OID ".4"
#define LDAP_SYNC_NONE   0x00
#define LDAP_SYNC_REFRESH_ONLY   0x01
#define LDAP_SYNC_RESERVED   0x02
#define LDAP_SYNC_REFRESH_AND_PERSIST   0x03
#define LDAP_SYNC_REFRESH_PRESENTS   0
#define LDAP_SYNC_REFRESH_DELETES   1
#define LDAP_TAG_SYNC_NEW_COOKIE   ((ber_tag_t) 0x80U)
#define LDAP_TAG_SYNC_REFRESH_DELETE   ((ber_tag_t) 0xa1U)
#define LDAP_TAG_SYNC_REFRESH_PRESENT   ((ber_tag_t) 0xa2U)
#define LDAP_TAG_SYNC_ID_SET   ((ber_tag_t) 0xa3U)
#define LDAP_TAG_SYNC_COOKIE   ((ber_tag_t) 0x04U)
#define LDAP_TAG_REFRESHDELETES   ((ber_tag_t) 0x01U)
#define LDAP_TAG_REFRESHDONE   ((ber_tag_t) 0x01U)
#define LDAP_TAG_RELOAD_HINT   ((ber_tag_t) 0x01U)
#define LDAP_SYNC_PRESENT   0
#define LDAP_SYNC_ADD   1
#define LDAP_SYNC_MODIFY   2
#define LDAP_SYNC_DELETE   3
#define LDAP_SYNC_NEW_COOKIE   4
#define LDAP_CONTROL_PASSWORDPOLICYREQUEST   "1.3.6.1.4.1.42.2.27.8.5.1"
#define LDAP_CONTROL_PASSWORDPOLICYRESPONSE   "1.3.6.1.4.1.42.2.27.8.5.1"
#define LDAP_CONTROL_NOOP   "1.3.6.1.4.1.4203.666.5.2"
#define LDAP_CONTROL_NO_SUBORDINATES   "1.3.6.1.4.1.4203.666.5.11"
#define LDAP_CONTROL_RELAX   "1.3.6.1.4.1.4203.666.5.12"
#define LDAP_CONTROL_MANAGEDIT   LDAP_CONTROL_RELAX
#define LDAP_CONTROL_SLURP   "1.3.6.1.4.1.4203.666.5.13"
#define LDAP_CONTROL_VALSORT   "1.3.6.1.4.1.4203.666.5.14"
#define LDAP_CONTROL_DONTUSECOPY   "1.3.6.1.4.1.4203.666.5.15"
#define LDAP_CONTROL_X_DEREF   "1.3.6.1.4.1.4203.666.5.16"
#define LDAP_CONTROL_X_WHATFAILED   "1.3.6.1.4.1.4203.666.5.17"
#define LDAP_CONTROL_X_CHAINING_BEHAVIOR   "1.3.6.1.4.1.4203.666.11.3"
#define LDAP_CHAINING_PREFERRED   0
#define LDAP_CHAINING_REQUIRED   1
#define LDAP_REFERRALS_PREFERRED   2
#define LDAP_REFERRALS_REQUIRED   3
#define LDAP_CONTROL_X_INCREMENTAL_VALUES   "1.2.840.113556.1.4.802"
#define LDAP_CONTROL_X_DOMAIN_SCOPE   "1.2.840.113556.1.4.1339"
#define LDAP_CONTROL_X_PERMISSIVE_MODIFY   "1.2.840.113556.1.4.1413"
#define LDAP_CONTROL_X_SEARCH_OPTIONS   "1.2.840.113556.1.4.1340"
#define LDAP_SEARCH_FLAG_DOMAIN_SCOPE   1 /* do not generate referrals */
#define LDAP_SEARCH_FLAG_PHANTOM_ROOT   2 /* search all subordinate NCs */
#define LDAP_CONTROL_X_TREE_DELETE   "1.2.840.113556.1.4.805"
#define LDAP_CONTROL_X_EXTENDED_DN   "1.2.840.113556.1.4.529"
#define LDAP_CONTROL_X_SESSION_TRACKING   "1.3.6.1.4.1.21008.108.63.1"
#define LDAP_CONTROL_X_SESSION_TRACKING_RADIUS_ACCT_SESSION_ID   LDAP_CONTROL_X_SESSION_TRACKING ".1"
#define LDAP_CONTROL_X_SESSION_TRACKING_RADIUS_ACCT_MULTI_SESSION_ID   LDAP_CONTROL_X_SESSION_TRACKING ".2"
#define LDAP_CONTROL_X_SESSION_TRACKING_USERNAME   LDAP_CONTROL_X_SESSION_TRACKING ".3"
#define LDAP_CONTROL_DUPENT_REQUEST   "2.16.840.1.113719.1.27.101.1"
#define LDAP_CONTROL_DUPENT_RESPONSE   "2.16.840.1.113719.1.27.101.2"
#define LDAP_CONTROL_DUPENT_ENTRY   "2.16.840.1.113719.1.27.101.3"
#define LDAP_CONTROL_DUPENT   LDAP_CONTROL_DUPENT_REQUEST
#define LDAP_CONTROL_PERSIST_REQUEST   "2.16.840.1.113730.3.4.3"
#define LDAP_CONTROL_PERSIST_ENTRY_CHANGE_NOTICE   "2.16.840.1.113730.3.4.7"
#define LDAP_CONTROL_PERSIST_ENTRY_CHANGE_ADD   0x1
#define LDAP_CONTROL_PERSIST_ENTRY_CHANGE_DELETE   0x2
#define LDAP_CONTROL_PERSIST_ENTRY_CHANGE_MODIFY   0x4
#define LDAP_CONTROL_PERSIST_ENTRY_CHANGE_RENAME   0x8
#define LDAP_CONTROL_VLVREQUEST   "2.16.840.1.113730.3.4.9"
#define LDAP_CONTROL_VLVRESPONSE   "2.16.840.1.113730.3.4.10"
#define LDAP_NOTICE_OF_DISCONNECTION   "1.3.6.1.4.1.1466.20036" /* RFC 4511 */
#define LDAP_NOTICE_DISCONNECT   LDAP_NOTICE_OF_DISCONNECTION
#define LDAP_EXOP_START_TLS   "1.3.6.1.4.1.1466.20037" /* RFC 4511 */
#define LDAP_EXOP_MODIFY_PASSWD   "1.3.6.1.4.1.4203.1.11.1" /* RFC 3062 */
#define LDAP_TAG_EXOP_MODIFY_PASSWD_ID   ((ber_tag_t) 0x80U)
#define LDAP_TAG_EXOP_MODIFY_PASSWD_OLD   ((ber_tag_t) 0x81U)
#define LDAP_TAG_EXOP_MODIFY_PASSWD_NEW   ((ber_tag_t) 0x82U)
#define LDAP_TAG_EXOP_MODIFY_PASSWD_GEN   ((ber_tag_t) 0x80U)
#define LDAP_EXOP_CANCEL   "1.3.6.1.1.8" /* RFC 3909 */
#define LDAP_EXOP_X_CANCEL   LDAP_EXOP_CANCEL
#define LDAP_EXOP_REFRESH   "1.3.6.1.4.1.1466.101.119.1" /* RFC 2589 */
#define LDAP_TAG_EXOP_REFRESH_REQ_DN   ((ber_tag_t) 0x80U)
#define LDAP_TAG_EXOP_REFRESH_REQ_TTL   ((ber_tag_t) 0x81U)
#define LDAP_TAG_EXOP_REFRESH_RES_TTL   ((ber_tag_t) 0x81U)
#define LDAP_EXOP_WHO_AM_I   "1.3.6.1.4.1.4203.1.11.3" /* RFC 4532 */
#define LDAP_EXOP_X_WHO_AM_I   LDAP_EXOP_WHO_AM_I
#define LDAP_EXOP_TURN   "1.3.6.1.1.19" /* RFC 4531 */
#define LDAP_EXOP_X_TURN   LDAP_EXOP_TURN
#define LDAP_X_DISTPROC_BASE   "1.3.6.1.4.1.4203.666.11.6"
#define LDAP_EXOP_X_CHAINEDREQUEST   LDAP_X_DISTPROC_BASE ".1"
#define LDAP_FEATURE_X_CANCHAINOPS   LDAP_X_DISTPROC_BASE ".2"
#define LDAP_CONTROL_X_RETURNCONTREF   LDAP_X_DISTPROC_BASE ".3"
#define LDAP_URLEXT_X_LOCALREFOID   LDAP_X_DISTPROC_BASE ".4"
#define LDAP_URLEXT_X_REFTYPEOID   LDAP_X_DISTPROC_BASE ".5"
#define LDAP_URLEXT_X_SEARCHEDSUBTREEOID   LDAP_X_DISTPROC_BASE ".6"
#define LDAP_URLEXT_X_FAILEDNAMEOID   LDAP_X_DISTPROC_BASE ".7"
#define LDAP_URLEXT_X_LOCALREF   "x-localReference"
#define LDAP_URLEXT_X_REFTYPE   "x-referenceType"
#define LDAP_URLEXT_X_SEARCHEDSUBTREE   "x-searchedSubtree"
#define LDAP_URLEXT_X_FAILEDNAME   "x-failedName"
#define LDAP_FEATURE_ALL_OP_ATTRS   "1.3.6.1.4.1.4203.1.5.1" /* RFC 3673 */
#define LDAP_FEATURE_OBJECTCLASS_ATTRS   "1.3.6.1.4.1.4203.1.5.2" /* @objectClass - new number to be assigned */
#define LDAP_FEATURE_ABSOLUTE_FILTERS   "1.3.6.1.4.1.4203.1.5.3" /* (&) (|) */
#define LDAP_FEATURE_LANGUAGE_TAG_OPTIONS   "1.3.6.1.4.1.4203.1.5.4"
#define LDAP_FEATURE_LANGUAGE_RANGE_OPTIONS   "1.3.6.1.4.1.4203.1.5.5"
#define LDAP_FEATURE_MODIFY_INCREMENT   "1.3.6.1.1.14"
#define LDAP_FEATURE_SUBORDINATE_SCOPE   "1.3.6.1.4.1.4203.666.8.1" /* "children" */
#define LDAP_FEATURE_CHILDREN_SCOPE   LDAP_FEATURE_SUBORDINATE_SCOPE
#define LDAP_TAG_MESSAGE   ((ber_tag_t) 0x30U) /* constructed + 16 */
#define LDAP_TAG_MSGID   ((ber_tag_t) 0x02U) /* integer */
#define LDAP_TAG_LDAPDN   ((ber_tag_t) 0x04U) /* octet string */
#define LDAP_TAG_LDAPCRED   ((ber_tag_t) 0x04U) /* octet string */
#define LDAP_TAG_CONTROLS   ((ber_tag_t) 0xa0U) /* context specific + constructed + 0 */
#define LDAP_TAG_REFERRAL   ((ber_tag_t) 0xa3U) /* context specific + constructed + 3 */
#define LDAP_TAG_NEWSUPERIOR   ((ber_tag_t) 0x80U) /* context-specific + primitive + 0 */
#define LDAP_TAG_EXOP_REQ_OID   ((ber_tag_t) 0x80U) /* context specific + primitive */
#define LDAP_TAG_EXOP_REQ_VALUE   ((ber_tag_t) 0x81U) /* context specific + primitive */
#define LDAP_TAG_EXOP_RES_OID   ((ber_tag_t) 0x8aU) /* context specific + primitive */
#define LDAP_TAG_EXOP_RES_VALUE   ((ber_tag_t) 0x8bU) /* context specific + primitive */
#define LDAP_TAG_IM_RES_OID   ((ber_tag_t) 0x80U) /* context specific + primitive */
#define LDAP_TAG_IM_RES_VALUE   ((ber_tag_t) 0x81U) /* context specific + primitive */
#define LDAP_TAG_SASL_RES_CREDS   ((ber_tag_t) 0x87U) /* context specific + primitive */
#define LDAP_REQ_BIND   ((ber_tag_t) 0x60U) /* application + constructed */
#define LDAP_REQ_UNBIND   ((ber_tag_t) 0x42U) /* application + primitive */
#define LDAP_REQ_SEARCH   ((ber_tag_t) 0x63U) /* application + constructed */
#define LDAP_REQ_MODIFY   ((ber_tag_t) 0x66U) /* application + constructed */
#define LDAP_REQ_ADD   ((ber_tag_t) 0x68U) /* application + constructed */
#define LDAP_REQ_DELETE   ((ber_tag_t) 0x4aU) /* application + primitive */
#define LDAP_REQ_MODDN   ((ber_tag_t) 0x6cU) /* application + constructed */
#define LDAP_REQ_MODRDN   LDAP_REQ_MODDN
#define LDAP_REQ_RENAME   LDAP_REQ_MODDN
#define LDAP_REQ_COMPARE   ((ber_tag_t) 0x6eU) /* application + constructed */
#define LDAP_REQ_ABANDON   ((ber_tag_t) 0x50U) /* application + primitive */
#define LDAP_REQ_EXTENDED   ((ber_tag_t) 0x77U) /* application + constructed */
#define LDAP_RES_BIND   ((ber_tag_t) 0x61U) /* application + constructed */
#define LDAP_RES_SEARCH_ENTRY   ((ber_tag_t) 0x64U) /* application + constructed */
#define LDAP_RES_SEARCH_REFERENCE   ((ber_tag_t) 0x73U) /* V3: application + constructed */
#define LDAP_RES_SEARCH_RESULT   ((ber_tag_t) 0x65U) /* application + constructed */
#define LDAP_RES_MODIFY   ((ber_tag_t) 0x67U) /* application + constructed */
#define LDAP_RES_ADD   ((ber_tag_t) 0x69U) /* application + constructed */
#define LDAP_RES_DELETE   ((ber_tag_t) 0x6bU) /* application + constructed */
#define LDAP_RES_MODDN   ((ber_tag_t) 0x6dU) /* application + constructed */
#define LDAP_RES_MODRDN   LDAP_RES_MODDN /* application + constructed */
#define LDAP_RES_RENAME   LDAP_RES_MODDN /* application + constructed */
#define LDAP_RES_COMPARE   ((ber_tag_t) 0x6fU) /* application + constructed */
#define LDAP_RES_EXTENDED   ((ber_tag_t) 0x78U) /* V3: application + constructed */
#define LDAP_RES_INTERMEDIATE   ((ber_tag_t) 0x79U) /* V3+: application + constructed */
#define LDAP_RES_ANY   (-1)
#define LDAP_RES_UNSOLICITED   (0)
#define LDAP_SASL_SIMPLE   ((char*)0)
#define LDAP_SASL_NULL   ("")
#define LDAP_AUTH_NONE   ((ber_tag_t) 0x00U) /* no authentication */
#define LDAP_AUTH_SIMPLE   ((ber_tag_t) 0x80U) /* context specific + primitive */
#define LDAP_AUTH_SASL   ((ber_tag_t) 0xa3U) /* context specific + constructed */
#define LDAP_AUTH_KRBV4   ((ber_tag_t) 0xffU) /* means do both of the following */
#define LDAP_AUTH_KRBV41   ((ber_tag_t) 0x81U) /* context specific + primitive */
#define LDAP_AUTH_KRBV42   ((ber_tag_t) 0x82U) /* context specific + primitive */
#define LDAP_AUTH_NEGOTIATE   ((ber_tag_t) 0x04FFU)
#define LDAP_FILTER_AND   ((ber_tag_t) 0xa0U) /* context specific + constructed */
#define LDAP_FILTER_OR   ((ber_tag_t) 0xa1U) /* context specific + constructed */
#define LDAP_FILTER_NOT   ((ber_tag_t) 0xa2U) /* context specific + constructed */
#define LDAP_FILTER_EQUALITY   ((ber_tag_t) 0xa3U) /* context specific + constructed */
#define LDAP_FILTER_SUBSTRINGS   ((ber_tag_t) 0xa4U) /* context specific + constructed */
#define LDAP_FILTER_GE   ((ber_tag_t) 0xa5U) /* context specific + constructed */
#define LDAP_FILTER_LE   ((ber_tag_t) 0xa6U) /* context specific + constructed */
#define LDAP_FILTER_PRESENT   ((ber_tag_t) 0x87U) /* context specific + primitive */
#define LDAP_FILTER_APPROX   ((ber_tag_t) 0xa8U) /* context specific + constructed */
#define LDAP_FILTER_EXT   ((ber_tag_t) 0xa9U) /* context specific + constructed */
#define LDAP_FILTER_EXT_OID   ((ber_tag_t) 0x81U) /* context specific */
#define LDAP_FILTER_EXT_TYPE   ((ber_tag_t) 0x82U) /* context specific */
#define LDAP_FILTER_EXT_VALUE   ((ber_tag_t) 0x83U) /* context specific */
#define LDAP_FILTER_EXT_DNATTRS   ((ber_tag_t) 0x84U) /* context specific */
#define LDAP_SUBSTRING_INITIAL   ((ber_tag_t) 0x80U) /* context specific */
#define LDAP_SUBSTRING_ANY   ((ber_tag_t) 0x81U) /* context specific */
#define LDAP_SUBSTRING_FINAL   ((ber_tag_t) 0x82U) /* context specific */
#define LDAP_SCOPE_BASE   ((ber_int_t) 0x0000)
#define LDAP_SCOPE_BASEOBJECT   LDAP_SCOPE_BASE
#define LDAP_SCOPE_ONELEVEL   ((ber_int_t) 0x0001)
#define LDAP_SCOPE_ONE   LDAP_SCOPE_ONELEVEL
#define LDAP_SCOPE_SUBTREE   ((ber_int_t) 0x0002)
#define LDAP_SCOPE_SUB   LDAP_SCOPE_SUBTREE
#define LDAP_SCOPE_SUBORDINATE   ((ber_int_t) 0x0003) /* OpenLDAP extension */
#define LDAP_SCOPE_CHILDREN   LDAP_SCOPE_SUBORDINATE
#define LDAP_SCOPE_DEFAULT   ((ber_int_t) -1) /* OpenLDAP extension */
#define LDAP_SUBSTRING_INITIAL   ((ber_tag_t) 0x80U) /* context specific */
#define LDAP_SUBSTRING_ANY   ((ber_tag_t) 0x81U) /* context specific */
#define LDAP_SUBSTRING_FINAL   ((ber_tag_t) 0x82U) /* context specific */
#define LDAP_SUCCESS   0x00
#define LDAP_RANGE(n, x, y)   (((x) <= (n)) && ((n) <= (y)))
#define LDAP_OPERATIONS_ERROR   0x01
#define LDAP_PROTOCOL_ERROR   0x02
#define LDAP_TIMELIMIT_EXCEEDED   0x03
#define LDAP_SIZELIMIT_EXCEEDED   0x04
#define LDAP_COMPARE_FALSE   0x05
#define LDAP_COMPARE_TRUE   0x06
#define LDAP_AUTH_METHOD_NOT_SUPPORTED   0x07
#define LDAP_STRONG_AUTH_NOT_SUPPORTED   LDAP_AUTH_METHOD_NOT_SUPPORTED
#define LDAP_STRONG_AUTH_REQUIRED   0x08
#define LDAP_STRONGER_AUTH_REQUIRED   LDAP_STRONG_AUTH_REQUIRED
#define LDAP_PARTIAL_RESULTS   0x09 /* LDAPv2+ (not LDAPv3) */
#define LDAP_REFERRAL   0x0a /* LDAPv3 */
#define LDAP_ADMINLIMIT_EXCEEDED   0x0b /* LDAPv3 */
#define LDAP_UNAVAILABLE_CRITICAL_EXTENSION   0x0c /* LDAPv3 */
#define LDAP_CONFIDENTIALITY_REQUIRED   0x0d /* LDAPv3 */
#define LDAP_SASL_BIND_IN_PROGRESS   0x0e /* LDAPv3 */
#define LDAP_ATTR_ERROR(n)   LDAP_RANGE((n),0x10,0x15) /* 16-21 */
#define LDAP_NO_SUCH_ATTRIBUTE   0x10
#define LDAP_UNDEFINED_TYPE   0x11
#define LDAP_INAPPROPRIATE_MATCHING   0x12
#define LDAP_CONSTRAINT_VIOLATION   0x13
#define LDAP_TYPE_OR_VALUE_EXISTS   0x14
#define LDAP_INVALID_SYNTAX   0x15
#define LDAP_NAME_ERROR(n)   LDAP_RANGE((n),0x20,0x24) /* 32-34,36 */
#define LDAP_NO_SUCH_OBJECT   0x20
#define LDAP_ALIAS_PROBLEM   0x21
#define LDAP_INVALID_DN_SYNTAX   0x22
#define LDAP_IS_LEAF   0x23 /* not LDAPv3 */
#define LDAP_ALIAS_DEREF_PROBLEM   0x24
#define LDAP_SECURITY_ERROR(n)   LDAP_RANGE((n),0x2F,0x32) /* 47-50 */
#define LDAP_X_PROXY_AUTHZ_FAILURE   0x2F /* LDAPv3 proxy authorization */
#define LDAP_INAPPROPRIATE_AUTH   0x30
#define LDAP_INVALID_CREDENTIALS   0x31
#define LDAP_INSUFFICIENT_ACCESS   0x32
#define LDAP_SERVICE_ERROR(n)   LDAP_RANGE((n),0x33,0x36) /* 51-54 */
#define LDAP_BUSY   0x33
#define LDAP_UNAVAILABLE   0x34
#define LDAP_UNWILLING_TO_PERFORM   0x35
#define LDAP_LOOP_DETECT   0x36
#define LDAP_UPDATE_ERROR(n)   LDAP_RANGE((n),0x40,0x47) /* 64-69,71 */
#define LDAP_NAMING_VIOLATION   0x40
#define LDAP_OBJECT_CLASS_VIOLATION   0x41
#define LDAP_NOT_ALLOWED_ON_NONLEAF   0x42
#define LDAP_NOT_ALLOWED_ON_RDN   0x43
#define LDAP_ALREADY_EXISTS   0x44
#define LDAP_NO_OBJECT_CLASS_MODS   0x45
#define LDAP_RESULTS_TOO_LARGE   0x46 /* CLDAP */
#define LDAP_AFFECTS_MULTIPLE_DSAS   0x47
#define LDAP_VLV_ERROR   0x4C
#define LDAP_OTHER   0x50
#define LDAP_CUP_RESOURCES_EXHAUSTED   0x71
#define LDAP_CUP_SECURITY_VIOLATION   0x72
#define LDAP_CUP_INVALID_DATA   0x73
#define LDAP_CUP_UNSUPPORTED_SCHEME   0x74
#define LDAP_CUP_RELOAD_REQUIRED   0x75
#define LDAP_CANCELLED   0x76
#define LDAP_NO_SUCH_OPERATION   0x77
#define LDAP_TOO_LATE   0x78
#define LDAP_CANNOT_CANCEL   0x79
#define LDAP_ASSERTION_FAILED   0x7A
#define LDAP_PROXIED_AUTHORIZATION_DENIED   0x7B
#define LDAP_E_ERROR(n)   LDAP_RANGE((n),0x1000,0x3FFF)
#define LDAP_SYNC_REFRESH_REQUIRED   0x1000
#define LDAP_X_ERROR(n)   LDAP_RANGE((n),0x4000,0xFFFF)
#define LDAP_X_SYNC_REFRESH_REQUIRED   0x4100 /* defunct */
#define LDAP_X_ASSERTION_FAILED   0x410f /* defunct */
#define LDAP_X_NO_OPERATION   0x410e
#define LDAP_X_NO_REFERRALS_FOUND   0x4110
#define LDAP_X_CANNOT_CHAIN   0x4111
#define LDAP_X_INVALIDREFERENCE   0x4112
#define LDAP_API_ERROR(n)   ((n)<0)
#define LDAP_API_RESULT(n)   ((n)<=0)
#define LDAP_SERVER_DOWN   (-1)
#define LDAP_LOCAL_ERROR   (-2)
#define LDAP_ENCODING_ERROR   (-3)
#define LDAP_DECODING_ERROR   (-4)
#define LDAP_TIMEOUT   (-5)
#define LDAP_AUTH_UNKNOWN   (-6)
#define LDAP_FILTER_ERROR   (-7)
#define LDAP_USER_CANCELLED   (-8)
#define LDAP_PARAM_ERROR   (-9)
#define LDAP_NO_MEMORY   (-10)
#define LDAP_CONNECT_ERROR   (-11)
#define LDAP_NOT_SUPPORTED   (-12)
#define LDAP_CONTROL_NOT_FOUND   (-13)
#define LDAP_NO_RESULTS_RETURNED   (-14)
#define LDAP_MORE_RESULTS_TO_RETURN   (-15) /* Obsolete */
#define LDAP_CLIENT_LOOP   (-16)
#define LDAP_REFERRAL_LIMIT_EXCEEDED   (-17)
#define LDAP_X_CONNECTING   (-18)
#define LDAP_MOD_OP   (0x0007)
#define LDAP_MOD_ADD   (0x0000)
#define LDAP_MOD_DELETE   (0x0001)
#define LDAP_MOD_REPLACE   (0x0002)
#define LDAP_MOD_INCREMENT   (0x0003) /* OpenLDAP extension */
#define LDAP_MOD_BVALUES   (0x0080)
#define mod_values   mod_vals.modv_strvals
#define mod_bvalues   mod_vals.modv_bvals
#define LDAP_DEREF_NEVER   0x00
#define LDAP_DEREF_SEARCHING   0x01
#define LDAP_DEREF_FINDING   0x02
#define LDAP_DEREF_ALWAYS   0x03
#define LDAP_NO_LIMIT   0
#define LDAP_MSG_ONE   0x00
#define LDAP_MSG_ALL   0x01
#define LDAP_MSG_RECEIVED   0x02
#define LDAP_URL_SUCCESS   0x00 /* Success */
#define LDAP_URL_ERR_MEM   0x01 /* can't allocate memory space */
#define LDAP_URL_ERR_PARAM   0x02 /* parameter is bad */
#define LDAP_URL_ERR_BADSCHEME   0x03 /* URL doesn't begin with "ldap[si]://" */
#define LDAP_URL_ERR_BADENCLOSURE   0x04 /* URL is missing trailing ">" */
#define LDAP_URL_ERR_BADURL   0x05 /* URL is bad */
#define LDAP_URL_ERR_BADHOST   0x06 /* host port is bad */
#define LDAP_URL_ERR_BADATTRS   0x07 /* bad (or missing) attributes */
#define LDAP_URL_ERR_BADSCOPE   0x08 /* scope string is invalid (or missing) */
#define LDAP_URL_ERR_BADFILTER   0x09 /* bad or missing filter */
#define LDAP_URL_ERR_BADEXTS   0x0a /* bad or missing extensions */
#define LDAP_SASL_AUTOMATIC   0U
#define LDAP_SASL_INTERACTIVE   1U
#define LDAP_SASL_QUIET   2U
#define LDAP_AVA_NULL   0x0000U
#define LDAP_AVA_STRING   0x0001U
#define LDAP_AVA_BINARY   0x0002U
#define LDAP_AVA_NONPRINTABLE   0x0004U
#define LDAP_AVA_FREE_ATTR   0x0010U
#define LDAP_AVA_FREE_VALUE   0x0020U
#define LDAP_DN_FORMAT_LDAP   0x0000U
#define LDAP_DN_FORMAT_LDAPV3   0x0010U
#define LDAP_DN_FORMAT_LDAPV2   0x0020U
#define LDAP_DN_FORMAT_DCE   0x0030U
#define LDAP_DN_FORMAT_UFN   0x0040U /* dn2str only */
#define LDAP_DN_FORMAT_AD_CANONICAL   0x0050U /* dn2str only */
#define LDAP_DN_FORMAT_LBER   0x00F0U /* for testing only */
#define LDAP_DN_FORMAT_MASK   0x00F0U
#define LDAP_DN_PRETTY   0x0100U
#define LDAP_DN_SKIP   0x0200U
#define LDAP_DN_P_NOLEADTRAILSPACES   0x1000U
#define LDAP_DN_P_NOSPACEAFTERRDN   0x2000U
#define LDAP_DN_PEDANTIC   0xF000U
#define LDAP_API_FEATURE_CANCEL   1000
#define LDAP_API_FEATURE_TURN   1000
#define LDAP_API_FEATURE_PAGED_RESULTS   2000
#define LDAP_API_FEATURE_SERVER_SIDE_SORT   2000
#define LDAP_API_FEATURE_VIRTUAL_LIST_VIEW   2000
#define LDAP_API_FEATURE_WHOAMI   1000
#define LDAP_API_FEATURE_PASSWD_MODIFY   1000
#define LDAP_API_FEATURE_PASSWORD_POLICY   1000
#define LDAP_API_FEATURE_REFRESH   1000

Typedefs

typedef struct ldapapiinfo LDAPAPIInfo
typedef struct ldap_apifeature_info LDAPAPIFeatureInfo
typedef struct ldapcontrol LDAPControl
typedef struct ldapmsg
typedef struct ldapmod LDAPMod
typedef struct ldap
typedef struct ldap_url_desc LDAPURLDesc
typedef struct ldap_sync_t
typedef int
ldap_sync_search_entry_f 
LDAP_P ((ldap_sync_t *ls, LDAPMessage *msg, struct berval *entryUUID, ldap_sync_refresh_tphase))
typedef Sockbuf * sb
typedef Sockbuf LDAPURLDescsrv
typedef Sockbuf LDAPURLDesc
struct sockaddr * 
addr
typedef Sockbuf LDAPURLDesc
struct sockaddr struct
ldap_conncb
ctx
typedef struct ldap_conncb ldap_conncb
typedef LDAP_CONST char * url
typedef LDAP_CONST char ber_tag_t request
typedef LDAP_CONST char
ber_tag_t ber_int_t 
msgid
typedef LDAP_CONST char
ber_tag_t ber_int_t void
params
typedef char *** refsp
typedef char intcntp
typedef LDAPURLDesc ** urllist
typedef unsigned flags
typedef unsigned voiddefaults
typedef unsigned void voidinteract
typedef struct ldap_ava LDAPAVA
typedef LDAPAVA ** LDAPRDN
typedef LDAPRDNLDAPDN
typedef struct ldapsortkey LDAPSortKey
typedef struct ldapvlvinfo LDAPVLVInfo
typedef enum passpolicyerror_enum LDAPPasswordPolicyError
typedef struct LDAPDerefSpec LDAPDerefSpec
typedef struct LDAPDerefVal LDAPDerefVal
typedef struct LDAPDerefRes LDAPDerefRes

Enumerations

enum  ldap_sync_refresh_t {
  LDAP_SYNC_CAPI_NONE = -1, LDAP_SYNC_CAPI_PHASE_FLAG = 0x10U, LDAP_SYNC_CAPI_IDSET_FLAG = 0x20U, LDAP_SYNC_CAPI_DONE_FLAG = 0x40U,
  LDAP_SYNC_CAPI_PRESENT = LDAP_SYNC_PRESENT, LDAP_SYNC_CAPI_ADD = LDAP_SYNC_ADD, LDAP_SYNC_CAPI_MODIFY = LDAP_SYNC_MODIFY, LDAP_SYNC_CAPI_DELETE = LDAP_SYNC_DELETE,
  LDAP_SYNC_CAPI_PRESENTS = ( LDAP_SYNC_CAPI_PHASE_FLAG | LDAP_SYNC_CAPI_PRESENT ), LDAP_SYNC_CAPI_DELETES = ( LDAP_SYNC_CAPI_PHASE_FLAG | LDAP_SYNC_CAPI_DELETE ), LDAP_SYNC_CAPI_PRESENTS_IDSET = ( LDAP_SYNC_CAPI_PRESENTS | LDAP_SYNC_CAPI_IDSET_FLAG ), LDAP_SYNC_CAPI_DELETES_IDSET = ( LDAP_SYNC_CAPI_DELETES | LDAP_SYNC_CAPI_IDSET_FLAG ),
  LDAP_SYNC_CAPI_DONE = ( LDAP_SYNC_CAPI_DONE_FLAG | LDAP_SYNC_CAPI_PRESENTS )
}
enum  passpolicyerror_enum {
  PP_passwordExpired = 0, PP_accountLocked = 1, PP_changeAfterReset = 2, PP_passwordModNotAllowed = 3,
  PP_mustSupplyOldPassword = 4, PP_insufficientPasswordQuality = 5, PP_passwordTooShort = 6, PP_passwordTooYoung = 7,
  PP_passwordInHistory = 8, PP_noError = 65535
}

Functions

typedef int (ldap_conn_add_f) LDAP_P((LDAP *ld
typedef void (ldap_conn_del_f) LDAP_P((LDAP *ld
ldap_get_option LDAP_P ((LDAP *ld, int option, void *outvalue))
ldap_set_option LDAP_P ((LDAP *ld, int option, LDAP_CONST void *invalue))
typedef int (LDAP_REBIND_PROC) LDAP_P((LDAP *ld
ldap_set_rebind_proc LDAP_P ((LDAP *ld, LDAP_REBIND_PROC *rebind_proc, void *params))
typedef int (LDAP_NEXTREF_PROC) LDAP_P((LDAP *ld
ldap_set_nextref_proc LDAP_P ((LDAP *ld, LDAP_NEXTREF_PROC *nextref_proc, void *params))
typedef int (LDAP_URLLIST_PROC) LDAP_P((LDAP *ld
ldap_set_urllist_proc LDAP_P ((LDAP *ld, LDAP_URLLIST_PROC *urllist_proc, void *params))
ldap_control_create LDAP_P ((LDAP_CONST char *requestOID, int iscritical, struct berval *value, int dupval, LDAPControl **ctrlp))
ldap_control_find LDAP_P ((LDAP_CONST char *oid, LDAPControl **ctrls, LDAPControl ***nextctrlp))
ldap_control_free LDAP_P ((LDAPControl *ctrl))
ldap_controls_free LDAP_P ((LDAPControl **ctrls))
ldap_controls_dup LDAP_P ((LDAPControl *LDAP_CONST *controls))
ldap_control_dup LDAP_P ((LDAP_CONST LDAPControl *c))
ldap_domain2dn LDAP_P ((LDAP_CONST char *domain, char **dn))
ldap_dn2domain LDAP_P ((LDAP_CONST char *dn, char **domain))
ldap_domain2hostlist LDAP_P ((LDAP_CONST char *domain, char **hostlist))
ldap_extended_operation LDAP_P ((LDAP *ld, LDAP_CONST char *reqoid, struct berval *reqdata, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp))
ldap_extended_operation_s LDAP_P ((LDAP *ld, LDAP_CONST char *reqoid, struct berval *reqdata, LDAPControl **serverctrls, LDAPControl **clientctrls, char **retoidp, struct berval **retdatap))
ldap_parse_extended_result LDAP_P ((LDAP *ld, LDAPMessage *res, char **retoidp, struct berval **retdatap, intfreeit))
ldap_parse_intermediate LDAP_P ((LDAP *ld, LDAPMessage *res, char **retoidp, struct berval **retdatap, LDAPControl ***serverctrls, intfreeit))
ldap_abandon_ext LDAP_P ((LDAP *ld, intmsgid, LDAPControl **serverctrls, LDAPControl **clientctrls))
ldap_add_ext LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp))
ldap_add_ext_s LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls))
ldap_sasl_bind LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *mechanism, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp))
typedef int (LDAP_SASL_INTERACT_PROC) LDAP_P((LDAP *ld
ldap_sasl_interactive_bind LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *saslMechanism, LDAPControl **serverControls, LDAPControl **clientControls, unsigned flags, LDAP_SASL_INTERACT_PROC *proc, void *defaults, LDAPMessage *result, const char **rmech, int *msgid))
ldap_sasl_interactive_bind_s LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *saslMechanism, LDAPControl **serverControls, LDAPControl **clientControls, unsigned flags, LDAP_SASL_INTERACT_PROC *proc, void *defaults))
ldap_sasl_bind_s LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *mechanism, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, struct berval **servercredp))
ldap_parse_sasl_bind_result LDAP_P ((LDAP *ld, LDAPMessage *res, struct berval **servercredp, intfreeit))
ldap_compare_ext LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *attr, struct berval *bvalue, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp))
ldap_compare_ext_s LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *attr, struct berval *bvalue, LDAPControl **serverctrls, LDAPControl **clientctrls))
ldap_delete_ext LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp))
ldap_delete_ext_s LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls))
ldap_parse_result LDAP_P ((LDAP *ld, LDAPMessage *res, int *errcodep, char **matcheddnp, char **errmsgp, char ***referralsp, LDAPControl ***serverctrls, intfreeit))
ldap_err2string LDAP_P ((int err))
ldap_gssapi_bind LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *creds))
ldap_modify_ext LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp))
ldap_modify_ext_s LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls))
ldap_rename LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *newrdn, LDAP_CONST char *newSuperior, int deleteoldrdn, LDAPControl **sctrls, LDAPControl **cctrls, int *msgidp))
ldap_rename_s LDAP_P ((LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *newrdn, LDAP_CONST char *newSuperior, int deleteoldrdn, LDAPControl **sctrls, LDAPControl **cctrls))
ldap_create LDAP_P ((LDAP **ldp))
ldap_initialize LDAP_P ((LDAP **ldp, LDAP_CONST char *url))
ldap_dup LDAP_P ((LDAP *old))
ldap_tls_inplace LDAP_P ((LDAP *ld))
ldap_start_tls LDAP_P ((LDAP *ld, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp))
ldap_start_tls_s LDAP_P ((LDAP *ld, LDAPControl **serverctrls, LDAPControl **clientctrls))
ldap_first_message LDAP_P ((LDAP *ld, LDAPMessage *chain))
ldap_next_message LDAP_P ((LDAP *ld, LDAPMessage *msg))
ldap_next_reference LDAP_P ((LDAP *ld, LDAPMessage *ref))
ldap_parse_reference LDAP_P ((LDAP *ld, LDAPMessage *ref, char ***referralsp, LDAPControl ***serverctrls, intfreeit))
ldap_next_entry LDAP_P ((LDAP *ld, LDAPMessage *entry))
ldap_get_entry_controls LDAP_P ((LDAP *ld, LDAPMessage *entry, LDAPControl ***serverctrls))
ldap_delete_result_entry LDAP_P ((LDAPMessage **list, LDAPMessage *e))
 LDAP_F (void) ldap_rdnfree LDAP_P((LDAPRDN rdn))
ldap_bv2dn LDAP_P ((struct berval *bv, LDAPDN *dn, unsigned flags))
ldap_str2dn LDAP_P ((LDAP_CONST char *str, LDAPDN *dn, unsigned flags))
ldap_dn2bv LDAP_P ((LDAPDN dn, struct berval *bv, unsigned flags))
ldap_dn2str LDAP_P ((LDAPDN dn, char **str, unsigned flags))
ldap_bv2rdn LDAP_P ((struct berval *bv, LDAPRDN *rdn, char **next, unsigned flags))
ldap_str2rdn LDAP_P ((LDAP_CONST char *str, LDAPRDN *rdn, char **next, unsigned flags))
ldap_rdn2bv LDAP_P ((LDAPRDN rdn, struct berval *bv, unsigned flags))
ldap_rdn2str LDAP_P ((LDAPRDN rdn, char **str, unsigned flags))
ldap_dn_normalize LDAP_P ((LDAP_CONST char *in, unsigned iflags, char **out, unsigned oflags))
ldap_dn2ufn LDAP_P ((LDAP_CONST char *dn))
ldap_explode_dn LDAP_P ((LDAP_CONST char *dn, int notypes))
ldap_explode_rdn LDAP_P ((LDAP_CONST char *rdn, int notypes))
ldap_X509dn2bv LDAP_P ((void *x509_name, struct berval *dn, LDAPDN_rewrite_func *func, unsigned flags))
ldap_dcedn2dn LDAP_P ((LDAP_CONST char *dce))
ldap_get_dn_ber LDAP_P ((LDAP *ld, LDAPMessage *e, BerElement **berout, struct berval *dn))
ldap_get_attribute_ber LDAP_P ((LDAP *ld, LDAPMessage *e, BerElement *ber, struct berval *attr, struct berval **vals))
ldap_first_attribute LDAP_P ((LDAP *ld, LDAPMessage *entry, BerElement **ber))
ldap_next_attribute LDAP_P ((LDAP *ld, LDAPMessage *entry, BerElement *ber))
ldap_get_values_len LDAP_P ((LDAP *ld, LDAPMessage *entry, LDAP_CONST char *target))
ldap_count_values_len LDAP_P ((struct berval **vals))
ldap_result LDAP_P ((LDAP *ld, int msgid, int all, struct timeval *timeout, LDAPMessage **result))
ldap_msgtype LDAP_P ((LDAPMessage *lm))
ldap_msgdelete LDAP_P ((LDAP *ld, int msgid))
ldap_bv2escaped_filter_value LDAP_P ((struct berval *in, struct berval *out))
ldap_search_ext LDAP_P ((LDAP *ld, LDAP_CONST char *base, intscope, LDAP_CONST char *filter, char **attrs, intattrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeout, intsizelimit, int *msgidp))
ldap_search_ext_s LDAP_P ((LDAP *ld, LDAP_CONST char *base, intscope, LDAP_CONST char *filter, char **attrs, intattrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeout, intsizelimit, LDAPMessage **res))
ldap_put_vrFilter LDAP_P ((BerElement *ber, const char *vrf))
ldap_memalloc LDAP_P ((ber_len_t s))
ldap_memrealloc LDAP_P ((void *p, ber_len_t s))
ldap_memcalloc LDAP_P ((ber_len_t n, ber_len_t s))
ldap_memfree LDAP_P ((void *p))
ldap_memvfree LDAP_P ((void **v))
ldap_strdup LDAP_P ((LDAP_CONST char *))
ldap_mods_free LDAP_P ((LDAPMod **mods, int freemods))
ldap_is_ldap_url LDAP_P ((LDAP_CONST char *url))
ldap_url_parse LDAP_P ((LDAP_CONST char *url, LDAPURLDesc **ludpp))
ldap_url_desc2str LDAP_P ((LDAPURLDesc *ludp))
ldap_cancel LDAP_P ((LDAP *ld, int cancelid, LDAPControl **sctrls, LDAPControl **cctrls, int *msgidp))
ldap_cancel_s LDAP_P ((LDAP *ld, int cancelid, LDAPControl **sctrl, LDAPControl **cctrl))
ldap_turn LDAP_P ((LDAP *ld, int mutual, LDAP_CONST char *identifier, LDAPControl **sctrls, LDAPControl **cctrls, int *msgidp))
ldap_turn_s LDAP_P ((LDAP *ld, int mutual, LDAP_CONST char *identifier, LDAPControl **sctrl, LDAPControl **cctrl))
ldap_create_page_control_value LDAP_P ((LDAP *ld, ber_int_t pagesize, struct berval *cookie, struct berval *value))
ldap_create_page_control LDAP_P ((LDAP *ld, ber_int_t pagesize, struct berval *cookie, int iscritical, LDAPControl **ctrlp))
ldap_parse_pageresponse_control LDAP_P ((LDAP *ld, LDAPControl *ctrl, ber_int_t *count, struct berval *cookie))
ldap_create_sort_keylist LDAP_P ((LDAPSortKey ***sortKeyList, char *keyString))
ldap_free_sort_keylist LDAP_P ((LDAPSortKey **sortkeylist))
ldap_create_sort_control_value LDAP_P ((LDAP *ld, LDAPSortKey **keyList, struct berval *value))
ldap_create_sort_control LDAP_P ((LDAP *ld, LDAPSortKey **keyList, int iscritical, LDAPControl **ctrlp))
ldap_parse_sortresponse_control LDAP_P ((LDAP *ld, LDAPControl *ctrl, ber_int_t *result, char **attribute))
ldap_create_vlv_control_value LDAP_P ((LDAP *ld, LDAPVLVInfo *ldvlistp, struct berval *value))
ldap_create_vlv_control LDAP_P ((LDAP *ld, LDAPVLVInfo *ldvlistp, LDAPControl **ctrlp))
ldap_parse_vlvresponse_control LDAP_P ((LDAP *ld, LDAPControl *ctrls, ber_int_t *target_posp, ber_int_t *list_countp, struct berval **contextp, int *errcodep))
ldap_parse_whoami LDAP_P ((LDAP *ld, LDAPMessage *res, struct berval **authzid))
ldap_whoami LDAP_P ((LDAP *ld, LDAPControl **sctrls, LDAPControl **cctrls, int *msgidp))
ldap_whoami_s LDAP_P ((LDAP *ld, struct berval **authzid, LDAPControl **sctrls, LDAPControl **cctrls))
ldap_parse_passwd LDAP_P ((LDAP *ld, LDAPMessage *res, struct berval *newpasswd))
ldap_passwd LDAP_P ((LDAP *ld, struct berval *user, struct berval *oldpw, struct berval *newpw, LDAPControl **sctrls, LDAPControl **cctrls, int *msgidp))
ldap_passwd_s LDAP_P ((LDAP *ld, struct berval *user, struct berval *oldpw, struct berval *newpw, struct berval *newpasswd, LDAPControl **sctrls, LDAPControl **cctrls))
ldap_create_passwordpolicy_control LDAP_P ((LDAP *ld, LDAPControl **ctrlp))
ldap_parse_passwordpolicy_control LDAP_P ((LDAP *ld, LDAPControl *ctrl, ber_int_t *expirep, ber_int_t *gracep, LDAPPasswordPolicyError *errorp))
ldap_passwordpolicy_err2txt LDAP_P ((LDAPPasswordPolicyError))
ldap_parse_refresh LDAP_P ((LDAP *ld, LDAPMessage *res, ber_int_t *newttl))
ldap_refresh LDAP_P ((LDAP *ld, struct berval *dn, ber_int_t ttl, LDAPControl **sctrls, LDAPControl **cctrls, int *msgidp))
ldap_refresh_s LDAP_P ((LDAP *ld, struct berval *dn, ber_int_t ttl, ber_int_t *newttl, LDAPControl **sctrls, LDAPControl **cctrls))
ldap_sync_initialize LDAP_P ((ldap_sync_t *ls))
ldap_sync_destroy LDAP_P ((ldap_sync_t *ls, intfreeit))
ldap_sync_init LDAP_P ((ldap_sync_t *ls, intmode))
ldap_create_session_tracking_value LDAP_P ((LDAP *ld, char *sessionSourceIp, char *sessionSourceName, char *formatOID, struct berval *sessionTrackingIdentifier, struct berval *value))
ldap_create_session_tracking LDAP_P ((LDAP *ld, char *sessionSourceIp, char *sessionSourceName, char *formatOID, struct berval *sessionTrackingIdentifier, LDAPControl **ctrlp))
ldap_parse_session_tracking_control LDAP_P ((LDAP *ld, LDAPControl *ctrl, struct berval *ip, struct berval *name, struct berval *oid, struct berval *id))
ldap_create_assertion_control_value LDAP_P ((LDAP *ld, char *assertion, struct berval *value))
ldap_create_assertion_control LDAP_P ((LDAP *ld, char *filter, intiscritical, LDAPControl **ctrlp))
ldap_create_deref_control_value LDAP_P ((LDAP *ld, LDAPDerefSpec *ds, struct berval *value))
ldap_create_deref_control LDAP_P ((LDAP *ld, LDAPDerefSpec *ds, intiscritical, LDAPControl **ctrlp))
ldap_derefresponse_free LDAP_P ((LDAPDerefRes *dr))
ldap_parse_derefresponse_control LDAP_P ((LDAP *ld, LDAPControl *ctrl, LDAPDerefRes **drp))
ldap_parse_deref_control LDAP_P ((LDAP *ld, LDAPControl **ctrls, LDAPDerefRes **drp))

Class Documentation

struct ldapapiinfo

Definition at line 224 of file ldap.h.

Class Members
int ldapai_api_version
char ** ldapai_extensions
int ldapai_info_version
int ldapai_protocol_version
char * ldapai_vendor_name
int ldapai_vendor_version
struct ldap_apifeature_info

Definition at line 234 of file ldap.h.

Class Members
int ldapaif_info_version
char * ldapaif_name
int ldapaif_version
struct ldapcontrol

Definition at line 244 of file ldap.h.

Class Members
char ldctl_iscritical
char * ldctl_oid
struct ldapmod

Definition at line 723 of file ldap.h.

Collaboration diagram for ldapmod:
Class Members
int mod_op
char * mod_type
union mod_vals_u mod_vals
union ldapmod::mod_vals_u

Definition at line 738 of file ldap.h.

Collaboration diagram for ldapmod::mod_vals_u:
Class Members
struct berval ** modv_bvals
char ** modv_strvals
struct ldap_url_desc

Definition at line 768 of file ldap.h.

Collaboration diagram for ldap_url_desc:
Class Members
char ** lud_attrs
int lud_crit_exts
char * lud_dn
char ** lud_exts
char * lud_filter
char * lud_host
struct ldap_url_desc * lud_next
int lud_port
char * lud_scheme
int lud_scope
struct ldap_sync_t

Definition at line 879 of file ldap.h.

Class Members
char ** ls_attrs
char * ls_base
char * ls_filter
ldap_sync_intermediate_f ls_intermediate
LDAP * ls_ld
int ls_msgid
void * ls_private
ldap_sync_refresh_t ls_refreshPhase
int ls_reloadHint
int ls_scope
ldap_sync_search_entry_f ls_search_entry
ldap_sync_search_reference_f ls_search_reference
ldap_sync_search_result_f ls_search_result
int ls_sizelimit
int ls_timelimit
int ls_timeout
struct ldap_conncb

Definition at line 941 of file ldap.h.

Class Members
ldap_conn_add_f * lc_add
void * lc_arg
ldap_conn_del_f * lc_del
struct ldap_ava

Definition at line 1645 of file ldap.h.

Class Members
unsigned la_flags
void * la_private
struct ldapsortkey

Definition at line 2142 of file ldap.h.

Class Members
char * attributeType
char * orderingRule
int reverseOrder
struct ldapvlvinfo

Definition at line 2184 of file ldap.h.

Collaboration diagram for ldapvlvinfo:
Class Members
ber_int_t ldvlv_after_count
struct berval * ldvlv_attrvalue
ber_int_t ldvlv_before_count
struct berval * ldvlv_context
ber_int_t ldvlv_count
void * ldvlv_extradata
ber_int_t ldvlv_offset
ber_int_t ldvlv_version
struct LDAPDerefSpec

Definition at line 2473 of file ldap.h.

Class Members
char ** attributes
char * derefAttr
struct LDAPDerefVal

Definition at line 2478 of file ldap.h.

Collaboration diagram for LDAPDerefVal:
Class Members
struct LDAPDerefVal * next
char * type
BerVarray vals
struct LDAPDerefRes

Definition at line 2484 of file ldap.h.

Collaboration diagram for LDAPDerefRes:
Class Members
LDAPDerefVal * attrVals
char * derefAttr
struct LDAPDerefRes * next

Define Documentation

#define LDAP_ADMINLIMIT_EXCEEDED   0x0b /* LDAPv3 */

Definition at line 583 of file ldap.h.

#define LDAP_AFFECTS_MULTIPLE_DSAS   0x47

Definition at line 628 of file ldap.h.

#define LDAP_ALIAS_DEREF_PROBLEM   0x24

Definition at line 603 of file ldap.h.

#define LDAP_ALIAS_PROBLEM   0x21

Definition at line 600 of file ldap.h.

#define LDAP_ALL_OPERATIONAL_ATTRIBUTES   "+" /* RFC 3673 */

Definition at line 79 of file ldap.h.

#define LDAP_ALL_USER_ATTRIBUTES   "*"

Definition at line 78 of file ldap.h.

#define LDAP_ALREADY_EXISTS   0x44

Definition at line 625 of file ldap.h.

#define LDAP_API_ERROR (   n)    ((n)<0)

Definition at line 691 of file ldap.h.

#define LDAP_API_FEATURE_CANCEL   1000

Definition at line 2061 of file ldap.h.

#define LDAP_API_FEATURE_PAGED_RESULTS   2000

Definition at line 2101 of file ldap.h.

#define LDAP_API_FEATURE_PASSWD_MODIFY   1000

Definition at line 2245 of file ldap.h.

Definition at line 2277 of file ldap.h.

#define LDAP_API_FEATURE_REFRESH   1000

Definition at line 2313 of file ldap.h.

Definition at line 2139 of file ldap.h.

#define LDAP_API_FEATURE_TURN   1000

Definition at line 2080 of file ldap.h.

Definition at line 2181 of file ldap.h.

#define LDAP_API_FEATURE_WHOAMI   1000

Definition at line 2220 of file ldap.h.

#define LDAP_API_FEATURE_X_OPENLDAP   LDAP_VENDOR_VERSION

Definition at line 55 of file ldap.h.

#define LDAP_API_INFO_VERSION   (1)

Definition at line 226 of file ldap.h.

#define LDAP_API_RESULT (   n)    ((n)<=0)

Definition at line 692 of file ldap.h.

#define LDAP_API_VERSION   3001

Definition at line 51 of file ldap.h.

#define LDAP_ASSERTION_FAILED   0x7A

Definition at line 648 of file ldap.h.

#define LDAP_ATTR_ERROR (   n)    LDAP_RANGE((n),0x10,0x15) /* 16-21 */

Definition at line 588 of file ldap.h.

#define LDAP_AUTH_KRBV4   ((ber_tag_t) 0xffU) /* means do both of the following */

Definition at line 517 of file ldap.h.

#define LDAP_AUTH_KRBV41   ((ber_tag_t) 0x81U) /* context specific + primitive */

Definition at line 518 of file ldap.h.

#define LDAP_AUTH_KRBV42   ((ber_tag_t) 0x82U) /* context specific + primitive */

Definition at line 519 of file ldap.h.

#define LDAP_AUTH_METHOD_NOT_SUPPORTED   0x07

Definition at line 576 of file ldap.h.

#define LDAP_AUTH_NEGOTIATE   ((ber_tag_t) 0x04FFU)

Definition at line 522 of file ldap.h.

#define LDAP_AUTH_NONE   ((ber_tag_t) 0x00U) /* no authentication */

Definition at line 514 of file ldap.h.

#define LDAP_AUTH_SASL   ((ber_tag_t) 0xa3U) /* context specific + constructed */

Definition at line 516 of file ldap.h.

#define LDAP_AUTH_SIMPLE   ((ber_tag_t) 0x80U) /* context specific + primitive */

Definition at line 515 of file ldap.h.

#define LDAP_AUTH_UNKNOWN   (-6)

Definition at line 699 of file ldap.h.

#define LDAP_AVA_BINARY   0x0002U

Definition at line 1651 of file ldap.h.

#define LDAP_AVA_FREE_ATTR   0x0010U

Definition at line 1653 of file ldap.h.

#define LDAP_AVA_FREE_VALUE   0x0020U

Definition at line 1654 of file ldap.h.

#define LDAP_AVA_NONPRINTABLE   0x0004U

Definition at line 1652 of file ldap.h.

#define LDAP_AVA_NULL   0x0000U

Definition at line 1649 of file ldap.h.

#define LDAP_AVA_STRING   0x0001U

Definition at line 1650 of file ldap.h.

#define LDAP_BUSY   0x33

Definition at line 614 of file ldap.h.

#define LDAP_CANCELLED   0x76

Definition at line 642 of file ldap.h.

#define LDAP_CANNOT_CANCEL   0x79

Definition at line 645 of file ldap.h.

#define LDAP_CHAINING_PREFERRED   0

Definition at line 321 of file ldap.h.

#define LDAP_CHAINING_REQUIRED   1

Definition at line 322 of file ldap.h.

#define LDAP_CLIENT_LOOP   (-16)

Definition at line 709 of file ldap.h.

#define LDAP_COMPARE_FALSE   0x05

Definition at line 574 of file ldap.h.

#define LDAP_COMPARE_TRUE   0x06

Definition at line 575 of file ldap.h.

#define LDAP_CONFIDENTIALITY_REQUIRED   0x0d /* LDAPv3 */

Definition at line 585 of file ldap.h.

#define LDAP_CONNECT_ERROR   (-11)

Definition at line 704 of file ldap.h.

#define LDAP_CONSTRAINT_VIOLATION   0x13

Definition at line 593 of file ldap.h.

#define LDAP_CONTROL_ASSERT   "1.3.6.1.1.12" /* RFC 4528 */

Definition at line 258 of file ldap.h.

#define LDAP_CONTROL_DONTUSECOPY   "1.3.6.1.4.1.4203.666.5.15"

Definition at line 312 of file ldap.h.

Definition at line 352 of file ldap.h.

#define LDAP_CONTROL_DUPENT_ENTRY   "2.16.840.1.113719.1.27.101.3"

Definition at line 351 of file ldap.h.

#define LDAP_CONTROL_DUPENT_REQUEST   "2.16.840.1.113719.1.27.101.1"

Definition at line 349 of file ldap.h.

#define LDAP_CONTROL_DUPENT_RESPONSE   "2.16.840.1.113719.1.27.101.2"

Definition at line 350 of file ldap.h.

Definition at line 309 of file ldap.h.

#define LDAP_CONTROL_MANAGEDSAIT   "2.16.840.1.113730.3.4.2" /* RFC 3296 */

Definition at line 252 of file ldap.h.

#define LDAP_CONTROL_NO_SUBORDINATES   "1.3.6.1.4.1.4203.666.5.11"

Definition at line 307 of file ldap.h.

#define LDAP_CONTROL_NOOP   "1.3.6.1.4.1.4203.666.5.2"

Definition at line 306 of file ldap.h.

#define LDAP_CONTROL_NOT_FOUND   (-13)

Definition at line 706 of file ldap.h.

#define LDAP_CONTROL_PAGEDRESULTS   "1.2.840.113556.1.4.319" /* RFC 2696 */

Definition at line 266 of file ldap.h.

#define LDAP_CONTROL_PASSWORDPOLICYREQUEST   "1.3.6.1.4.1.42.2.27.8.5.1"

Definition at line 302 of file ldap.h.

#define LDAP_CONTROL_PASSWORDPOLICYRESPONSE   "1.3.6.1.4.1.42.2.27.8.5.1"

Definition at line 303 of file ldap.h.

Definition at line 357 of file ldap.h.

Definition at line 358 of file ldap.h.

Definition at line 359 of file ldap.h.

#define LDAP_CONTROL_PERSIST_ENTRY_CHANGE_NOTICE   "2.16.840.1.113730.3.4.7"

Definition at line 356 of file ldap.h.

Definition at line 360 of file ldap.h.

#define LDAP_CONTROL_PERSIST_REQUEST   "2.16.840.1.113730.3.4.3"

Definition at line 355 of file ldap.h.

#define LDAP_CONTROL_POST_READ   "1.3.6.1.1.13.2" /* RFC 4527 */

Definition at line 260 of file ldap.h.

#define LDAP_CONTROL_PRE_READ   "1.3.6.1.1.13.1" /* RFC 4527 */

Definition at line 259 of file ldap.h.

#define LDAP_CONTROL_PROXY_AUTHZ   "2.16.840.1.113730.3.4.18" /* RFC 4370 */

Definition at line 253 of file ldap.h.

#define LDAP_CONTROL_RELAX   "1.3.6.1.4.1.4203.666.5.12"

Definition at line 308 of file ldap.h.

#define LDAP_CONTROL_SLURP   "1.3.6.1.4.1.4203.666.5.13"

Definition at line 310 of file ldap.h.

#define LDAP_CONTROL_SORTREQUEST   "1.2.840.113556.1.4.473" /* RFC 2891 */

Definition at line 262 of file ldap.h.

#define LDAP_CONTROL_SORTRESPONSE   "1.2.840.113556.1.4.474" /* RFC 2891 */

Definition at line 263 of file ldap.h.

#define LDAP_CONTROL_SUBENTRIES   "1.3.6.1.4.1.4203.1.10.1" /* RFC 3672 */

Definition at line 254 of file ldap.h.

#define LDAP_CONTROL_SYNC   LDAP_SYNC_OID ".1"

Definition at line 270 of file ldap.h.

Definition at line 272 of file ldap.h.

Definition at line 271 of file ldap.h.

#define LDAP_CONTROL_VALSORT   "1.3.6.1.4.1.4203.666.5.14"

Definition at line 311 of file ldap.h.

#define LDAP_CONTROL_VALUESRETURNFILTER   "1.2.826.0.1.3344810.2.3"/* RFC 3876 */

Definition at line 256 of file ldap.h.

#define LDAP_CONTROL_VLVREQUEST   "2.16.840.1.113730.3.4.9"

Definition at line 363 of file ldap.h.

#define LDAP_CONTROL_VLVRESPONSE   "2.16.840.1.113730.3.4.10"

Definition at line 364 of file ldap.h.

#define LDAP_CONTROL_X_CHAINING_BEHAVIOR   "1.3.6.1.4.1.4203.666.11.3"

Definition at line 319 of file ldap.h.

#define LDAP_CONTROL_X_DEREF   "1.3.6.1.4.1.4203.666.5.16"

Definition at line 313 of file ldap.h.

#define LDAP_CONTROL_X_DOMAIN_SCOPE   "1.2.840.113556.1.4.1339"

Definition at line 328 of file ldap.h.

#define LDAP_CONTROL_X_EXTENDED_DN   "1.2.840.113556.1.4.529"

Definition at line 336 of file ldap.h.

#define LDAP_CONTROL_X_INCREMENTAL_VALUES   "1.2.840.113556.1.4.802"

Definition at line 327 of file ldap.h.

#define LDAP_CONTROL_X_PERMISSIVE_MODIFY   "1.2.840.113556.1.4.1413"

Definition at line 329 of file ldap.h.

Definition at line 399 of file ldap.h.

#define LDAP_CONTROL_X_SEARCH_OPTIONS   "1.2.840.113556.1.4.1340"

Definition at line 330 of file ldap.h.

#define LDAP_CONTROL_X_SESSION_TRACKING   "1.3.6.1.4.1.21008.108.63.1"

Definition at line 339 of file ldap.h.

Definition at line 342 of file ldap.h.

Definition at line 340 of file ldap.h.

Definition at line 344 of file ldap.h.

#define LDAP_CONTROL_X_TREE_DELETE   "1.2.840.113556.1.4.805"

Definition at line 333 of file ldap.h.

#define LDAP_CONTROL_X_WHATFAILED   "1.3.6.1.4.1.4203.666.5.17"

Definition at line 314 of file ldap.h.

#define LDAP_CUP_INVALID_DATA   0x73

Definition at line 637 of file ldap.h.

#define LDAP_CUP_RELOAD_REQUIRED   0x75

Definition at line 639 of file ldap.h.

#define LDAP_CUP_RESOURCES_EXHAUSTED   0x71

Definition at line 635 of file ldap.h.

#define LDAP_CUP_SECURITY_VIOLATION   0x72

Definition at line 636 of file ldap.h.

#define LDAP_CUP_UNSUPPORTED_SCHEME   0x74

Definition at line 638 of file ldap.h.

#define LDAP_DECODING_ERROR   (-4)

Definition at line 697 of file ldap.h.

#define LDAP_DEREF_ALWAYS   0x03

Definition at line 756 of file ldap.h.

#define LDAP_DEREF_FINDING   0x02

Definition at line 755 of file ldap.h.

#define LDAP_DEREF_NEVER   0x00

Definition at line 753 of file ldap.h.

#define LDAP_DEREF_SEARCHING   0x01

Definition at line 754 of file ldap.h.

#define LDAP_DN_FORMAT_AD_CANONICAL   0x0050U /* dn2str only */

Definition at line 1668 of file ldap.h.

#define LDAP_DN_FORMAT_DCE   0x0030U

Definition at line 1666 of file ldap.h.

#define LDAP_DN_FORMAT_LBER   0x00F0U /* for testing only */

Definition at line 1669 of file ldap.h.

#define LDAP_DN_FORMAT_LDAP   0x0000U

Definition at line 1663 of file ldap.h.

#define LDAP_DN_FORMAT_LDAPV2   0x0020U

Definition at line 1665 of file ldap.h.

#define LDAP_DN_FORMAT_LDAPV3   0x0010U

Definition at line 1664 of file ldap.h.

#define LDAP_DN_FORMAT_MASK   0x00F0U

Definition at line 1670 of file ldap.h.

#define LDAP_DN_FORMAT_UFN   0x0040U /* dn2str only */

Definition at line 1667 of file ldap.h.

#define LDAP_DN_P_NOLEADTRAILSPACES   0x1000U

Definition at line 1675 of file ldap.h.

#define LDAP_DN_P_NOSPACEAFTERRDN   0x2000U

Definition at line 1676 of file ldap.h.

#define LDAP_DN_PEDANTIC   0xF000U

Definition at line 1677 of file ldap.h.

#define LDAP_DN_PRETTY   0x0100U

Definition at line 1673 of file ldap.h.

#define LDAP_DN_SKIP   0x0200U

Definition at line 1674 of file ldap.h.

#define LDAP_E_ERROR (   n)    LDAP_RANGE((n),0x1000,0x3FFF)

Definition at line 654 of file ldap.h.

#define LDAP_ENCODING_ERROR   (-3)

Definition at line 696 of file ldap.h.

#define LDAP_EXOP_CANCEL   "1.3.6.1.1.8" /* RFC 3909 */

Definition at line 379 of file ldap.h.

#define LDAP_EXOP_MODIFY_PASSWD   "1.3.6.1.4.1.4203.1.11.1" /* RFC 3062 */

Definition at line 373 of file ldap.h.

#define LDAP_EXOP_REFRESH   "1.3.6.1.4.1.1466.101.119.1" /* RFC 2589 */

Definition at line 382 of file ldap.h.

#define LDAP_EXOP_START_TLS   "1.3.6.1.4.1.1466.20037" /* RFC 4511 */

Definition at line 371 of file ldap.h.

#define LDAP_EXOP_TURN   "1.3.6.1.1.19" /* RFC 4531 */

Definition at line 391 of file ldap.h.

#define LDAP_EXOP_WHO_AM_I   "1.3.6.1.4.1.4203.1.11.3" /* RFC 4532 */

Definition at line 387 of file ldap.h.

Definition at line 380 of file ldap.h.

Definition at line 397 of file ldap.h.

Definition at line 392 of file ldap.h.

Definition at line 388 of file ldap.h.

#define LDAP_FEATURE_ABSOLUTE_FILTERS   "1.3.6.1.4.1.4203.1.5.3" /* (&) (|) */

Definition at line 422 of file ldap.h.

#define LDAP_FEATURE_ALL_OP_ATTRS   "1.3.6.1.4.1.4203.1.5.1" /* RFC 3673 */

Definition at line 419 of file ldap.h.

Definition at line 430 of file ldap.h.

#define LDAP_FEATURE_INFO_VERSION   (1) /* apifeature_info struct version */

Definition at line 236 of file ldap.h.

#define LDAP_FEATURE_LANGUAGE_RANGE_OPTIONS   "1.3.6.1.4.1.4203.1.5.5"

Definition at line 424 of file ldap.h.

#define LDAP_FEATURE_LANGUAGE_TAG_OPTIONS   "1.3.6.1.4.1.4203.1.5.4"

Definition at line 423 of file ldap.h.

#define LDAP_FEATURE_MODIFY_INCREMENT   "1.3.6.1.1.14"

Definition at line 425 of file ldap.h.

#define LDAP_FEATURE_OBJECTCLASS_ATTRS   "1.3.6.1.4.1.4203.1.5.2" /* @objectClass - new number to be assigned */

Definition at line 420 of file ldap.h.

#define LDAP_FEATURE_SUBORDINATE_SCOPE   "1.3.6.1.4.1.4203.666.8.1" /* "children" */

Definition at line 428 of file ldap.h.

Definition at line 398 of file ldap.h.

#define LDAP_FILTER_AND   ((ber_tag_t) 0xa0U) /* context specific + constructed */

Definition at line 525 of file ldap.h.

#define LDAP_FILTER_APPROX   ((ber_tag_t) 0xa8U) /* context specific + constructed */

Definition at line 533 of file ldap.h.

#define LDAP_FILTER_EQUALITY   ((ber_tag_t) 0xa3U) /* context specific + constructed */

Definition at line 528 of file ldap.h.

#define LDAP_FILTER_ERROR   (-7)

Definition at line 700 of file ldap.h.

#define LDAP_FILTER_EXT   ((ber_tag_t) 0xa9U) /* context specific + constructed */

Definition at line 534 of file ldap.h.

#define LDAP_FILTER_EXT_DNATTRS   ((ber_tag_t) 0x84U) /* context specific */

Definition at line 540 of file ldap.h.

#define LDAP_FILTER_EXT_OID   ((ber_tag_t) 0x81U) /* context specific */

Definition at line 537 of file ldap.h.

#define LDAP_FILTER_EXT_TYPE   ((ber_tag_t) 0x82U) /* context specific */

Definition at line 538 of file ldap.h.

#define LDAP_FILTER_EXT_VALUE   ((ber_tag_t) 0x83U) /* context specific */

Definition at line 539 of file ldap.h.

#define LDAP_FILTER_GE   ((ber_tag_t) 0xa5U) /* context specific + constructed */

Definition at line 530 of file ldap.h.

#define LDAP_FILTER_LE   ((ber_tag_t) 0xa6U) /* context specific + constructed */

Definition at line 531 of file ldap.h.

#define LDAP_FILTER_NOT   ((ber_tag_t) 0xa2U) /* context specific + constructed */

Definition at line 527 of file ldap.h.

#define LDAP_FILTER_OR   ((ber_tag_t) 0xa1U) /* context specific + constructed */

Definition at line 526 of file ldap.h.

#define LDAP_FILTER_PRESENT   ((ber_tag_t) 0x87U) /* context specific + primitive */

Definition at line 532 of file ldap.h.

#define LDAP_FILTER_SUBSTRINGS   ((ber_tag_t) 0xa4U) /* context specific + constructed */

Definition at line 529 of file ldap.h.

#define LDAP_INAPPROPRIATE_AUTH   0x30

Definition at line 608 of file ldap.h.

#define LDAP_INAPPROPRIATE_MATCHING   0x12

Definition at line 592 of file ldap.h.

#define LDAP_INSUFFICIENT_ACCESS   0x32

Definition at line 610 of file ldap.h.

#define LDAP_INVALID_CREDENTIALS   0x31

Definition at line 609 of file ldap.h.

#define LDAP_INVALID_DN_SYNTAX   0x22

Definition at line 601 of file ldap.h.

#define LDAP_INVALID_SYNTAX   0x15

Definition at line 595 of file ldap.h.

#define LDAP_IS_LEAF   0x23 /* not LDAPv3 */

Definition at line 602 of file ldap.h.

#define LDAP_LOCAL_ERROR   (-2)

Definition at line 695 of file ldap.h.

#define LDAP_LOOP_DETECT   0x36

Definition at line 617 of file ldap.h.

#define LDAP_MAXINT   (2147483647)

Definition at line 82 of file ldap.h.

#define LDAP_MOD_ADD   (0x0000)

Definition at line 727 of file ldap.h.

#define LDAP_MOD_BVALUES   (0x0080)

Definition at line 731 of file ldap.h.

#define LDAP_MOD_DELETE   (0x0001)

Definition at line 728 of file ldap.h.

#define LDAP_MOD_INCREMENT   (0x0003) /* OpenLDAP extension */

Definition at line 730 of file ldap.h.

#define LDAP_MOD_OP   (0x0007)

Definition at line 726 of file ldap.h.

#define LDAP_MOD_REPLACE   (0x0002)

Definition at line 729 of file ldap.h.

#define LDAP_MORE_RESULTS_TO_RETURN   (-15) /* Obsolete */

Definition at line 708 of file ldap.h.

#define LDAP_MSG_ALL   0x01

Definition at line 762 of file ldap.h.

#define LDAP_MSG_ONE   0x00

Definition at line 761 of file ldap.h.

#define LDAP_MSG_RECEIVED   0x02

Definition at line 763 of file ldap.h.

#define LDAP_NAME_ERROR (   n)    LDAP_RANGE((n),0x20,0x24) /* 32-34,36 */

Definition at line 597 of file ldap.h.

#define LDAP_NAMING_VIOLATION   0x40

Definition at line 621 of file ldap.h.

#define LDAP_NO_ATTRS   "1.1"

Definition at line 77 of file ldap.h.

#define LDAP_NO_LIMIT   0

Definition at line 758 of file ldap.h.

#define LDAP_NO_MEMORY   (-10)

Definition at line 703 of file ldap.h.

#define LDAP_NO_OBJECT_CLASS_MODS   0x45

Definition at line 626 of file ldap.h.

#define LDAP_NO_RESULTS_RETURNED   (-14)

Definition at line 707 of file ldap.h.

#define LDAP_NO_SUCH_ATTRIBUTE   0x10

Definition at line 590 of file ldap.h.

#define LDAP_NO_SUCH_OBJECT   0x20

Definition at line 599 of file ldap.h.

#define LDAP_NO_SUCH_OPERATION   0x77

Definition at line 643 of file ldap.h.

#define LDAP_NOT_ALLOWED_ON_NONLEAF   0x42

Definition at line 623 of file ldap.h.

#define LDAP_NOT_ALLOWED_ON_RDN   0x43

Definition at line 624 of file ldap.h.

#define LDAP_NOT_SUPPORTED   (-12)

Definition at line 705 of file ldap.h.

Definition at line 368 of file ldap.h.

#define LDAP_NOTICE_OF_DISCONNECTION   "1.3.6.1.4.1.1466.20036" /* RFC 4511 */

Definition at line 367 of file ldap.h.

#define LDAP_OBJECT_CLASS_VIOLATION   0x41

Definition at line 622 of file ldap.h.

#define LDAP_OPERATIONS_ERROR   0x01

Definition at line 570 of file ldap.h.

#define LDAP_OPT_API_EXTENSION_BASE   0x4000 /* API extensions */

Definition at line 126 of file ldap.h.

#define LDAP_OPT_API_FEATURE_INFO   0x0015

Definition at line 104 of file ldap.h.

#define LDAP_OPT_API_INFO   0x0000

Definition at line 91 of file ldap.h.

#define LDAP_OPT_CLIENT_CONTROLS   0x0013

Definition at line 102 of file ldap.h.

#define LDAP_OPT_CONNECT_ASYNC   0x5010 /* create connections asynchronously */

Definition at line 138 of file ldap.h.

#define LDAP_OPT_CONNECT_CB   0x5011 /* connection callbacks */

Definition at line 139 of file ldap.h.

#define LDAP_OPT_DEBUG_LEVEL   0x5001 /* debug level */

Definition at line 130 of file ldap.h.

#define LDAP_OPT_DEFBASE   0x5009 /* searchbase */

Definition at line 137 of file ldap.h.

#define LDAP_OPT_DEREF   0x0002

Definition at line 93 of file ldap.h.

#define LDAP_OPT_DESC   0x0001 /* historic */

Definition at line 92 of file ldap.h.

#define LDAP_OPT_DIAGNOSTIC_MESSAGE   0x0032

Definition at line 109 of file ldap.h.

#define LDAP_OPT_ENCRYPT   0x0096

Definition at line 118 of file ldap.h.

#define LDAP_OPT_ERROR   (-1)

Definition at line 218 of file ldap.h.

Definition at line 108 of file ldap.h.

Definition at line 110 of file ldap.h.

#define LDAP_OPT_HOST_NAME   0x0030

Definition at line 106 of file ldap.h.

#define LDAP_OPT_MATCHED_DN   0x0033

Definition at line 111 of file ldap.h.

#define LDAP_OPT_NETWORK_TIMEOUT   0x5005 /* socket level timeout */

Definition at line 133 of file ldap.h.

#define LDAP_OPT_OFF   ((void *) 0)

Definition at line 222 of file ldap.h.

#define LDAP_OPT_ON   ((void *) &ber_pvt_opt_on)

Definition at line 221 of file ldap.h.

#define LDAP_OPT_PRIVATE_EXTENSION_BASE   0x7000 /* Private API inclusive */

Definition at line 209 of file ldap.h.

#define LDAP_OPT_PROTOCOL_VERSION   0x0011

Definition at line 100 of file ldap.h.

#define LDAP_OPT_REFERRAL_URLS   0x5007 /* Referral URLs */

Definition at line 135 of file ldap.h.

#define LDAP_OPT_REFERRALS   0x0008

Definition at line 97 of file ldap.h.

#define LDAP_OPT_REFHOPLIMIT   0x5003 /* ref hop limit */

Definition at line 132 of file ldap.h.

#define LDAP_OPT_RESTART   0x0009

Definition at line 98 of file ldap.h.

#define LDAP_OPT_RESULT_CODE   0x0031

Definition at line 107 of file ldap.h.

#define LDAP_OPT_SASL_METHOD   0x0097

Definition at line 119 of file ldap.h.

#define LDAP_OPT_SECURITY_CONTEXT   0x0099

Definition at line 121 of file ldap.h.

#define LDAP_OPT_SERVER_CONTROLS   0x0012

Definition at line 101 of file ldap.h.

#define LDAP_OPT_SESSION_REFCNT   0x5012 /* session reference count */

Definition at line 140 of file ldap.h.

#define LDAP_OPT_SIGN   0x0095

Definition at line 117 of file ldap.h.

#define LDAP_OPT_SIZELIMIT   0x0003

Definition at line 94 of file ldap.h.

#define LDAP_OPT_SOCKBUF   0x5008 /* sockbuf */

Definition at line 136 of file ldap.h.

#define LDAP_OPT_SSPI_FLAGS   0x0092

Definition at line 114 of file ldap.h.

#define LDAP_OPT_SUCCESS   0

Definition at line 217 of file ldap.h.

#define LDAP_OPT_TIMELIMIT   0x0004

Definition at line 95 of file ldap.h.

#define LDAP_OPT_TIMEOUT   0x5002 /* default timeout */

Definition at line 131 of file ldap.h.

#define LDAP_OPT_URI   0x5006

Definition at line 134 of file ldap.h.

Definition at line 198 of file ldap.h.

Definition at line 197 of file ldap.h.

#define LDAP_OPT_X_KEEPALIVE_IDLE   0x6300

Definition at line 204 of file ldap.h.

#define LDAP_OPT_X_KEEPALIVE_INTERVAL   0x6302

Definition at line 206 of file ldap.h.

#define LDAP_OPT_X_KEEPALIVE_PROBES   0x6301

Definition at line 205 of file ldap.h.

#define LDAP_OPT_X_SASL_AUTHCID   0x6102

Definition at line 183 of file ldap.h.

#define LDAP_OPT_X_SASL_AUTHZID   0x6103

Definition at line 184 of file ldap.h.

#define LDAP_OPT_X_SASL_GSS_CREDS   0x610d

Definition at line 194 of file ldap.h.

#define LDAP_OPT_X_SASL_MAXBUFSIZE   0x6109

Definition at line 190 of file ldap.h.

#define LDAP_OPT_X_SASL_MECH   0x6100

Definition at line 181 of file ldap.h.

#define LDAP_OPT_X_SASL_MECHLIST   0x610a /* read-only */

Definition at line 191 of file ldap.h.

#define LDAP_OPT_X_SASL_NOCANON   0x610b

Definition at line 192 of file ldap.h.

#define LDAP_OPT_X_SASL_REALM   0x6101

Definition at line 182 of file ldap.h.

#define LDAP_OPT_X_SASL_SECPROPS   0x6106 /* write-only */

Definition at line 187 of file ldap.h.

#define LDAP_OPT_X_SASL_SSF   0x6104 /* read-only */

Definition at line 185 of file ldap.h.

#define LDAP_OPT_X_SASL_SSF_EXTERNAL   0x6105 /* write-only */

Definition at line 186 of file ldap.h.

#define LDAP_OPT_X_SASL_SSF_MAX   0x6108

Definition at line 189 of file ldap.h.

#define LDAP_OPT_X_SASL_SSF_MIN   0x6107

Definition at line 188 of file ldap.h.

#define LDAP_OPT_X_SASL_USERNAME   0x610c /* read-only */

Definition at line 193 of file ldap.h.

#define LDAP_OPT_X_TLS   0x6000

Definition at line 143 of file ldap.h.

#define LDAP_OPT_X_TLS_ALLOW   3

Definition at line 165 of file ldap.h.

#define LDAP_OPT_X_TLS_CACERTDIR   0x6003

Definition at line 146 of file ldap.h.

#define LDAP_OPT_X_TLS_CACERTFILE   0x6002

Definition at line 145 of file ldap.h.

#define LDAP_OPT_X_TLS_CERTFILE   0x6004

Definition at line 147 of file ldap.h.

#define LDAP_OPT_X_TLS_CIPHER_SUITE   0x6008

Definition at line 151 of file ldap.h.

#define LDAP_OPT_X_TLS_CONNECT_ARG   0x600d

Definition at line 156 of file ldap.h.

#define LDAP_OPT_X_TLS_CONNECT_CB   0x600c

Definition at line 155 of file ldap.h.

#define LDAP_OPT_X_TLS_CRL_ALL   2

Definition at line 170 of file ldap.h.

#define LDAP_OPT_X_TLS_CRL_NONE   0

Definition at line 168 of file ldap.h.

#define LDAP_OPT_X_TLS_CRL_PEER   1

Definition at line 169 of file ldap.h.

#define LDAP_OPT_X_TLS_CRLCHECK   0x600b

Definition at line 154 of file ldap.h.

#define LDAP_OPT_X_TLS_CRLFILE   0x6010 /* GNUtls only */

Definition at line 159 of file ldap.h.

#define LDAP_OPT_X_TLS_CTX   0x6001 /* OpenSSL CTX* */

Definition at line 144 of file ldap.h.

#define LDAP_OPT_X_TLS_DEMAND   2

Definition at line 164 of file ldap.h.

#define LDAP_OPT_X_TLS_DHFILE   0x600e

Definition at line 157 of file ldap.h.

#define LDAP_OPT_X_TLS_HARD   1

Definition at line 163 of file ldap.h.

#define LDAP_OPT_X_TLS_KEYFILE   0x6005

Definition at line 148 of file ldap.h.

#define LDAP_OPT_X_TLS_NEVER   0

Definition at line 162 of file ldap.h.

#define LDAP_OPT_X_TLS_NEWCTX   0x600f

Definition at line 158 of file ldap.h.

#define LDAP_OPT_X_TLS_PACKAGE   0x6011

Definition at line 160 of file ldap.h.

#define LDAP_OPT_X_TLS_PROTOCOL (   maj,
  min 
)    (((maj) << 8) + (min))

Definition at line 173 of file ldap.h.

#define LDAP_OPT_X_TLS_PROTOCOL_MIN   0x6007

Definition at line 150 of file ldap.h.

#define LDAP_OPT_X_TLS_PROTOCOL_SSL2   (2 << 8)

Definition at line 174 of file ldap.h.

#define LDAP_OPT_X_TLS_PROTOCOL_SSL3   (3 << 8)

Definition at line 175 of file ldap.h.

#define LDAP_OPT_X_TLS_PROTOCOL_TLS1_0   ((3 << 8) + 1)

Definition at line 176 of file ldap.h.

#define LDAP_OPT_X_TLS_PROTOCOL_TLS1_1   ((3 << 8) + 2)

Definition at line 177 of file ldap.h.

#define LDAP_OPT_X_TLS_PROTOCOL_TLS1_2   ((3 << 8) + 3)

Definition at line 178 of file ldap.h.

#define LDAP_OPT_X_TLS_RANDOM_FILE   0x6009

Definition at line 152 of file ldap.h.

#define LDAP_OPT_X_TLS_REQUIRE_CERT   0x6006

Definition at line 149 of file ldap.h.

#define LDAP_OPT_X_TLS_SSL_CTX   0x600a /* OpenSSL SSL* */

Definition at line 153 of file ldap.h.

#define LDAP_OPT_X_TLS_TRY   4

Definition at line 166 of file ldap.h.

#define LDAP_OTHER   0x50

Definition at line 632 of file ldap.h.

#define LDAP_PARAM_ERROR   (-9)

Definition at line 702 of file ldap.h.

#define LDAP_PARTIAL_RESULTS   0x09 /* LDAPv2+ (not LDAPv3) */

Definition at line 580 of file ldap.h.

#define LDAP_PORT   389 /* ldap:/// default LDAP port */

Definition at line 73 of file ldap.h.

#define LDAP_PROTOCOL_ERROR   0x02

Definition at line 571 of file ldap.h.

Definition at line 651 of file ldap.h.

#define LDAP_RANGE (   n,
  x,
 
)    (((x) <= (n)) && ((n) <= (y)))

Definition at line 568 of file ldap.h.

#define LDAP_REFERRAL   0x0a /* LDAPv3 */

Definition at line 582 of file ldap.h.

#define LDAP_REFERRAL_LIMIT_EXCEEDED   (-17)

Definition at line 710 of file ldap.h.

#define LDAP_REFERRALS_PREFERRED   2

Definition at line 323 of file ldap.h.

#define LDAP_REFERRALS_REQUIRED   3

Definition at line 324 of file ldap.h.

#define LDAP_REQ_ABANDON   ((ber_tag_t) 0x50U) /* application + primitive */

Definition at line 486 of file ldap.h.

#define LDAP_REQ_ADD   ((ber_tag_t) 0x68U) /* application + constructed */

Definition at line 480 of file ldap.h.

#define LDAP_REQ_BIND   ((ber_tag_t) 0x60U) /* application + constructed */

Definition at line 476 of file ldap.h.

#define LDAP_REQ_COMPARE   ((ber_tag_t) 0x6eU) /* application + constructed */

Definition at line 485 of file ldap.h.

#define LDAP_REQ_DELETE   ((ber_tag_t) 0x4aU) /* application + primitive */

Definition at line 481 of file ldap.h.

#define LDAP_REQ_EXTENDED   ((ber_tag_t) 0x77U) /* application + constructed */

Definition at line 487 of file ldap.h.

#define LDAP_REQ_MODDN   ((ber_tag_t) 0x6cU) /* application + constructed */

Definition at line 482 of file ldap.h.

#define LDAP_REQ_MODIFY   ((ber_tag_t) 0x66U) /* application + constructed */

Definition at line 479 of file ldap.h.

Definition at line 483 of file ldap.h.

Definition at line 484 of file ldap.h.

#define LDAP_REQ_SEARCH   ((ber_tag_t) 0x63U) /* application + constructed */

Definition at line 478 of file ldap.h.

#define LDAP_REQ_UNBIND   ((ber_tag_t) 0x42U) /* application + primitive */

Definition at line 477 of file ldap.h.

#define LDAP_RES_ADD   ((ber_tag_t) 0x69U) /* application + constructed */

Definition at line 495 of file ldap.h.

#define LDAP_RES_ANY   (-1)

Definition at line 504 of file ldap.h.

#define LDAP_RES_BIND   ((ber_tag_t) 0x61U) /* application + constructed */

Definition at line 490 of file ldap.h.

#define LDAP_RES_COMPARE   ((ber_tag_t) 0x6fU) /* application + constructed */

Definition at line 500 of file ldap.h.

#define LDAP_RES_DELETE   ((ber_tag_t) 0x6bU) /* application + constructed */

Definition at line 496 of file ldap.h.

#define LDAP_RES_EXTENDED   ((ber_tag_t) 0x78U) /* V3: application + constructed */

Definition at line 501 of file ldap.h.

#define LDAP_RES_INTERMEDIATE   ((ber_tag_t) 0x79U) /* V3+: application + constructed */

Definition at line 502 of file ldap.h.

#define LDAP_RES_MODDN   ((ber_tag_t) 0x6dU) /* application + constructed */

Definition at line 497 of file ldap.h.

#define LDAP_RES_MODIFY   ((ber_tag_t) 0x67U) /* application + constructed */

Definition at line 494 of file ldap.h.

#define LDAP_RES_MODRDN   LDAP_RES_MODDN /* application + constructed */

Definition at line 498 of file ldap.h.

#define LDAP_RES_RENAME   LDAP_RES_MODDN /* application + constructed */

Definition at line 499 of file ldap.h.

#define LDAP_RES_SEARCH_ENTRY   ((ber_tag_t) 0x64U) /* application + constructed */

Definition at line 491 of file ldap.h.

#define LDAP_RES_SEARCH_REFERENCE   ((ber_tag_t) 0x73U) /* V3: application + constructed */

Definition at line 492 of file ldap.h.

#define LDAP_RES_SEARCH_RESULT   ((ber_tag_t) 0x65U) /* application + constructed */

Definition at line 493 of file ldap.h.

#define LDAP_RES_UNSOLICITED   (0)

Definition at line 505 of file ldap.h.

#define LDAP_RESULTS_TOO_LARGE   0x46 /* CLDAP */

Definition at line 627 of file ldap.h.

#define LDAP_ROOT_DSE   ""

Definition at line 76 of file ldap.h.

#define LDAP_SASL_AUTOMATIC   0U

Definition at line 1179 of file ldap.h.

#define LDAP_SASL_BIND_IN_PROGRESS   0x0e /* LDAPv3 */

Definition at line 586 of file ldap.h.

#define LDAP_SASL_INTERACTIVE   1U

Definition at line 1180 of file ldap.h.

#define LDAP_SASL_NULL   ("")

Definition at line 510 of file ldap.h.

#define LDAP_SASL_QUIET   2U

Definition at line 1181 of file ldap.h.

#define LDAP_SASL_SIMPLE   ((char*)0)

Definition at line 509 of file ldap.h.

#define LDAP_SCOPE_BASE   ((ber_int_t) 0x0000)

Definition at line 548 of file ldap.h.

Definition at line 549 of file ldap.h.

Definition at line 555 of file ldap.h.

#define LDAP_SCOPE_DEFAULT   ((ber_int_t) -1) /* OpenLDAP extension */

Definition at line 556 of file ldap.h.

Definition at line 551 of file ldap.h.

#define LDAP_SCOPE_ONELEVEL   ((ber_int_t) 0x0001)

Definition at line 550 of file ldap.h.

Definition at line 553 of file ldap.h.

#define LDAP_SCOPE_SUBORDINATE   ((ber_int_t) 0x0003) /* OpenLDAP extension */

Definition at line 554 of file ldap.h.

#define LDAP_SCOPE_SUBTREE   ((ber_int_t) 0x0002)

Definition at line 552 of file ldap.h.

#define LDAP_SEARCH_FLAG_DOMAIN_SCOPE   1 /* do not generate referrals */

Definition at line 331 of file ldap.h.

#define LDAP_SEARCH_FLAG_PHANTOM_ROOT   2 /* search all subordinate NCs */

Definition at line 332 of file ldap.h.

#define LDAP_SECURITY_ERROR (   n)    LDAP_RANGE((n),0x2F,0x32) /* 47-50 */

Definition at line 605 of file ldap.h.

#define LDAP_SERVER_DOWN   (-1)

Definition at line 694 of file ldap.h.

#define LDAP_SERVICE_ERROR (   n)    LDAP_RANGE((n),0x33,0x36) /* 51-54 */

Definition at line 612 of file ldap.h.

#define LDAP_SIZELIMIT_EXCEEDED   0x04

Definition at line 573 of file ldap.h.

Definition at line 577 of file ldap.h.

#define LDAP_STRONG_AUTH_REQUIRED   0x08

Definition at line 578 of file ldap.h.

Definition at line 579 of file ldap.h.

#define LDAP_SUBSTRING_ANY   ((ber_tag_t) 0x81U) /* context specific */

Definition at line 560 of file ldap.h.

#define LDAP_SUBSTRING_ANY   ((ber_tag_t) 0x81U) /* context specific */

Definition at line 560 of file ldap.h.

#define LDAP_SUBSTRING_FINAL   ((ber_tag_t) 0x82U) /* context specific */

Definition at line 561 of file ldap.h.

#define LDAP_SUBSTRING_FINAL   ((ber_tag_t) 0x82U) /* context specific */

Definition at line 561 of file ldap.h.

#define LDAP_SUBSTRING_INITIAL   ((ber_tag_t) 0x80U) /* context specific */

Definition at line 559 of file ldap.h.

#define LDAP_SUBSTRING_INITIAL   ((ber_tag_t) 0x80U) /* context specific */

Definition at line 559 of file ldap.h.

#define LDAP_SUCCESS   0x00

Definition at line 566 of file ldap.h.

#define LDAP_SYNC_ADD   1

Definition at line 294 of file ldap.h.

#define LDAP_SYNC_DELETE   3

Definition at line 296 of file ldap.h.

#define LDAP_SYNC_INFO   LDAP_SYNC_OID ".4"

Definition at line 273 of file ldap.h.

#define LDAP_SYNC_MODIFY   2

Definition at line 295 of file ldap.h.

#define LDAP_SYNC_NEW_COOKIE   4

Definition at line 297 of file ldap.h.

#define LDAP_SYNC_NONE   0x00

Definition at line 275 of file ldap.h.

#define LDAP_SYNC_OID   "1.3.6.1.4.1.4203.1.9.1"

Definition at line 269 of file ldap.h.

#define LDAP_SYNC_PRESENT   0

Definition at line 293 of file ldap.h.

#define LDAP_SYNC_REFRESH_AND_PERSIST   0x03

Definition at line 278 of file ldap.h.

#define LDAP_SYNC_REFRESH_DELETES   1

Definition at line 281 of file ldap.h.

#define LDAP_SYNC_REFRESH_ONLY   0x01

Definition at line 276 of file ldap.h.

Definition at line 280 of file ldap.h.

#define LDAP_SYNC_REFRESH_REQUIRED   0x1000

Definition at line 657 of file ldap.h.

#define LDAP_SYNC_RESERVED   0x02

Definition at line 277 of file ldap.h.

#define LDAP_TAG_CONTROLS   ((ber_tag_t) 0xa0U) /* context specific + constructed + 0 */

Definition at line 460 of file ldap.h.

#define LDAP_TAG_EXOP_MODIFY_PASSWD_GEN   ((ber_tag_t) 0x80U)

Definition at line 377 of file ldap.h.

#define LDAP_TAG_EXOP_MODIFY_PASSWD_ID   ((ber_tag_t) 0x80U)

Definition at line 374 of file ldap.h.

#define LDAP_TAG_EXOP_MODIFY_PASSWD_NEW   ((ber_tag_t) 0x82U)

Definition at line 376 of file ldap.h.

#define LDAP_TAG_EXOP_MODIFY_PASSWD_OLD   ((ber_tag_t) 0x81U)

Definition at line 375 of file ldap.h.

#define LDAP_TAG_EXOP_REFRESH_REQ_DN   ((ber_tag_t) 0x80U)

Definition at line 383 of file ldap.h.

#define LDAP_TAG_EXOP_REFRESH_REQ_TTL   ((ber_tag_t) 0x81U)

Definition at line 384 of file ldap.h.

#define LDAP_TAG_EXOP_REFRESH_RES_TTL   ((ber_tag_t) 0x81U)

Definition at line 385 of file ldap.h.

#define LDAP_TAG_EXOP_REQ_OID   ((ber_tag_t) 0x80U) /* context specific + primitive */

Definition at line 465 of file ldap.h.

#define LDAP_TAG_EXOP_REQ_VALUE   ((ber_tag_t) 0x81U) /* context specific + primitive */

Definition at line 466 of file ldap.h.

#define LDAP_TAG_EXOP_RES_OID   ((ber_tag_t) 0x8aU) /* context specific + primitive */

Definition at line 467 of file ldap.h.

#define LDAP_TAG_EXOP_RES_VALUE   ((ber_tag_t) 0x8bU) /* context specific + primitive */

Definition at line 468 of file ldap.h.

#define LDAP_TAG_IM_RES_OID   ((ber_tag_t) 0x80U) /* context specific + primitive */

Definition at line 470 of file ldap.h.

#define LDAP_TAG_IM_RES_VALUE   ((ber_tag_t) 0x81U) /* context specific + primitive */

Definition at line 471 of file ldap.h.

#define LDAP_TAG_LDAPCRED   ((ber_tag_t) 0x04U) /* octet string */

Definition at line 458 of file ldap.h.

#define LDAP_TAG_LDAPDN   ((ber_tag_t) 0x04U) /* octet string */

Definition at line 457 of file ldap.h.

#define LDAP_TAG_MESSAGE   ((ber_tag_t) 0x30U) /* constructed + 16 */

Definition at line 454 of file ldap.h.

#define LDAP_TAG_MSGID   ((ber_tag_t) 0x02U) /* integer */

Definition at line 455 of file ldap.h.

#define LDAP_TAG_NEWSUPERIOR   ((ber_tag_t) 0x80U) /* context-specific + primitive + 0 */

Definition at line 463 of file ldap.h.

#define LDAP_TAG_REFERRAL   ((ber_tag_t) 0xa3U) /* context specific + constructed + 3 */

Definition at line 461 of file ldap.h.

#define LDAP_TAG_REFRESHDELETES   ((ber_tag_t) 0x01U)

Definition at line 289 of file ldap.h.

#define LDAP_TAG_REFRESHDONE   ((ber_tag_t) 0x01U)

Definition at line 290 of file ldap.h.

#define LDAP_TAG_RELOAD_HINT   ((ber_tag_t) 0x01U)

Definition at line 291 of file ldap.h.

#define LDAP_TAG_SASL_RES_CREDS   ((ber_tag_t) 0x87U) /* context specific + primitive */

Definition at line 473 of file ldap.h.

#define LDAP_TAG_SYNC_COOKIE   ((ber_tag_t) 0x04U)

Definition at line 288 of file ldap.h.

#define LDAP_TAG_SYNC_ID_SET   ((ber_tag_t) 0xa3U)

Definition at line 286 of file ldap.h.

#define LDAP_TAG_SYNC_NEW_COOKIE   ((ber_tag_t) 0x80U)

Definition at line 283 of file ldap.h.

#define LDAP_TAG_SYNC_REFRESH_DELETE   ((ber_tag_t) 0xa1U)

Definition at line 284 of file ldap.h.

#define LDAP_TAG_SYNC_REFRESH_PRESENT   ((ber_tag_t) 0xa2U)

Definition at line 285 of file ldap.h.

#define LDAP_TIMELIMIT_EXCEEDED   0x03

Definition at line 572 of file ldap.h.

#define LDAP_TIMEOUT   (-5)

Definition at line 698 of file ldap.h.

#define LDAP_TOO_LATE   0x78

Definition at line 644 of file ldap.h.

#define LDAP_TYPE_OR_VALUE_EXISTS   0x14

Definition at line 594 of file ldap.h.

#define LDAP_UNAVAILABLE   0x34

Definition at line 615 of file ldap.h.

#define LDAP_UNAVAILABLE_CRITICAL_EXTENSION   0x0c /* LDAPv3 */

Definition at line 584 of file ldap.h.

#define LDAP_UNDEFINED_TYPE   0x11

Definition at line 591 of file ldap.h.

#define LDAP_UNWILLING_TO_PERFORM   0x35

Definition at line 616 of file ldap.h.

#define LDAP_UPDATE_ERROR (   n)    LDAP_RANGE((n),0x40,0x47) /* 64-69,71 */

Definition at line 619 of file ldap.h.

#define LDAP_URL_ERR_BADATTRS   0x07 /* bad (or missing) attributes */

Definition at line 789 of file ldap.h.

#define LDAP_URL_ERR_BADENCLOSURE   0x04 /* URL is missing trailing ">" */

Definition at line 786 of file ldap.h.

#define LDAP_URL_ERR_BADEXTS   0x0a /* bad or missing extensions */

Definition at line 792 of file ldap.h.

#define LDAP_URL_ERR_BADFILTER   0x09 /* bad or missing filter */

Definition at line 791 of file ldap.h.

#define LDAP_URL_ERR_BADHOST   0x06 /* host port is bad */

Definition at line 788 of file ldap.h.

#define LDAP_URL_ERR_BADSCHEME   0x03 /* URL doesn't begin with "ldap[si]://" */

Definition at line 785 of file ldap.h.

#define LDAP_URL_ERR_BADSCOPE   0x08 /* scope string is invalid (or missing) */

Definition at line 790 of file ldap.h.

#define LDAP_URL_ERR_BADURL   0x05 /* URL is bad */

Definition at line 787 of file ldap.h.

#define LDAP_URL_ERR_MEM   0x01 /* can't allocate memory space */

Definition at line 782 of file ldap.h.

#define LDAP_URL_ERR_PARAM   0x02 /* parameter is bad */

Definition at line 783 of file ldap.h.

#define LDAP_URL_SUCCESS   0x00 /* Success */

Definition at line 781 of file ldap.h.

#define LDAP_URLEXT_X_FAILEDNAME   "x-failedName"

Definition at line 408 of file ldap.h.

Definition at line 404 of file ldap.h.

#define LDAP_URLEXT_X_LOCALREF   "x-localReference"

Definition at line 405 of file ldap.h.

Definition at line 400 of file ldap.h.

#define LDAP_URLEXT_X_REFTYPE   "x-referenceType"

Definition at line 406 of file ldap.h.

Definition at line 401 of file ldap.h.

#define LDAP_URLEXT_X_SEARCHEDSUBTREE   "x-searchedSubtree"

Definition at line 407 of file ldap.h.

Definition at line 402 of file ldap.h.

#define LDAP_USER_CANCELLED   (-8)

Definition at line 701 of file ldap.h.

#define LDAP_VENDOR_NAME   "OpenLDAP"

Definition at line 52 of file ldap.h.

Definition at line 42 of file ldap.h.

#define LDAP_VERSION1   1

Definition at line 37 of file ldap.h.

#define LDAP_VERSION2   2

Definition at line 38 of file ldap.h.

#define LDAP_VERSION3   3

Definition at line 39 of file ldap.h.

Definition at line 43 of file ldap.h.

Definition at line 41 of file ldap.h.

#define LDAP_VLV_ERROR   0x4C

Definition at line 630 of file ldap.h.

#define LDAP_X_ASSERTION_FAILED   0x410f /* defunct */

Definition at line 664 of file ldap.h.

#define LDAP_X_CANNOT_CHAIN   0x4111

Definition at line 673 of file ldap.h.

#define LDAP_X_CONNECTING   (-18)

Definition at line 711 of file ldap.h.

#define LDAP_X_DISTPROC_BASE   "1.3.6.1.4.1.4203.666.11.6"

Definition at line 396 of file ldap.h.

#define LDAP_X_ERROR (   n)    LDAP_RANGE((n),0x4000,0xFFFF)

Definition at line 661 of file ldap.h.

#define LDAP_X_INVALIDREFERENCE   0x4112

Definition at line 678 of file ldap.h.

#define LDAP_X_NO_OPERATION   0x410e

Definition at line 667 of file ldap.h.

#define LDAP_X_NO_REFERRALS_FOUND   0x4110

Definition at line 672 of file ldap.h.

#define LDAP_X_PROXY_AUTHZ_FAILURE   0x2F /* LDAPv3 proxy authorization */

Definition at line 607 of file ldap.h.

#define LDAP_X_SYNC_REFRESH_REQUIRED   0x4100 /* defunct */

Definition at line 663 of file ldap.h.

#define LDAPS_PORT   636 /* ldaps:/// default LDAP over TLS port */

Definition at line 74 of file ldap.h.

#define mod_bvalues   mod_vals.modv_bvals

Definition at line 743 of file ldap.h.

#define mod_values   mod_vals.modv_strvals

Definition at line 742 of file ldap.h.


Typedef Documentation

typedef Sockbuf LDAPURLDesc struct sockaddr* addr

Definition at line 933 of file ldap.h.

typedef char int* cntp

Definition at line 982 of file ldap.h.

typedef Sockbuf struct ldap_conncb* ctx

Definition at line 934 of file ldap.h.

Definition at line 1189 of file ldap.h.

Definition at line 1189 of file ldap.h.

Definition at line 1189 of file ldap.h.

typedef struct ldap

Definition at line 751 of file ldap.h.

typedef struct ldap_conncb ldap_conncb
typedef int LDAPDN_rewrite_func LDAP_P((LDAPDN dn, unsigned flags, void *ctx))

Definition at line 832 of file ldap.h.

typedef struct ldap_sync_t

Definition at line 798 of file ldap.h.

typedef struct ldapapiinfo LDAPAPIInfo
typedef struct ldap_ava LDAPAVA
typedef struct ldapcontrol LDAPControl
typedef struct LDAPDerefRes LDAPDerefRes
typedef struct LDAPDerefSpec LDAPDerefSpec
typedef struct LDAPDerefVal LDAPDerefVal
typedef LDAPRDN* LDAPDN

Definition at line 1660 of file ldap.h.

typedef struct ldapmod LDAPMod
typedef struct ldapmsg

Definition at line 720 of file ldap.h.

typedef LDAPAVA** LDAPRDN

Definition at line 1659 of file ldap.h.

typedef struct ldapsortkey LDAPSortKey
typedef struct ldap_url_desc LDAPURLDesc
typedef struct ldapvlvinfo LDAPVLVInfo
const char const char LDAPControl LDAPControl unsigned LDAP_SASL_INTERACT_PROC void LDAPMessage const char int * msgid

Definition at line 970 of file ldap.h.

Definition at line 970 of file ldap.h.

typedef char*** refsp

Definition at line 982 of file ldap.h.

ber_tag_t BerElement * request

Definition at line 970 of file ldap.h.

Sockbuf * sb

Definition at line 933 of file ldap.h.

Definition at line 933 of file ldap.h.

int LDAP_CONST char * url

Definition at line 970 of file ldap.h.

typedef LDAPURLDesc** urllist

Definition at line 994 of file ldap.h.


Enumeration Type Documentation

Enumerator:
LDAP_SYNC_CAPI_NONE 
LDAP_SYNC_CAPI_PHASE_FLAG 
LDAP_SYNC_CAPI_IDSET_FLAG 
LDAP_SYNC_CAPI_DONE_FLAG 
LDAP_SYNC_CAPI_PRESENT 
LDAP_SYNC_CAPI_ADD 
LDAP_SYNC_CAPI_MODIFY 
LDAP_SYNC_CAPI_DELETE 
LDAP_SYNC_CAPI_PRESENTS 
LDAP_SYNC_CAPI_DELETES 
LDAP_SYNC_CAPI_PRESENTS_IDSET 
LDAP_SYNC_CAPI_DELETES_IDSET 
LDAP_SYNC_CAPI_DONE 

Definition at line 800 of file ldap.h.

             {
       /* these are private - the client should never see them */
       LDAP_SYNC_CAPI_NONE         = -1,

       LDAP_SYNC_CAPI_PHASE_FLAG   = 0x10U,
       LDAP_SYNC_CAPI_IDSET_FLAG   = 0x20U,
       LDAP_SYNC_CAPI_DONE_FLAG    = 0x40U,

       /* these are passed to ls_search_entry() */
       LDAP_SYNC_CAPI_PRESENT             = LDAP_SYNC_PRESENT,
       LDAP_SYNC_CAPI_ADD          = LDAP_SYNC_ADD,
       LDAP_SYNC_CAPI_MODIFY              = LDAP_SYNC_MODIFY,
       LDAP_SYNC_CAPI_DELETE              = LDAP_SYNC_DELETE,

       /* these are passed to ls_intermediate() */
       LDAP_SYNC_CAPI_PRESENTS            = ( LDAP_SYNC_CAPI_PHASE_FLAG | LDAP_SYNC_CAPI_PRESENT ),
       LDAP_SYNC_CAPI_DELETES             = ( LDAP_SYNC_CAPI_PHASE_FLAG | LDAP_SYNC_CAPI_DELETE ),

       LDAP_SYNC_CAPI_PRESENTS_IDSET      = ( LDAP_SYNC_CAPI_PRESENTS | LDAP_SYNC_CAPI_IDSET_FLAG ),
       LDAP_SYNC_CAPI_DELETES_IDSET       = ( LDAP_SYNC_CAPI_DELETES | LDAP_SYNC_CAPI_IDSET_FLAG ),

       LDAP_SYNC_CAPI_DONE         = ( LDAP_SYNC_CAPI_DONE_FLAG | LDAP_SYNC_CAPI_PRESENTS )
} ldap_sync_refresh_t;
Enumerator:
PP_passwordExpired 
PP_accountLocked 
PP_changeAfterReset 
PP_passwordModNotAllowed 
PP_mustSupplyOldPassword 
PP_insufficientPasswordQuality 
PP_passwordTooShort 
PP_passwordTooYoung 
PP_passwordInHistory 
PP_noError 

Definition at line 2279 of file ldap.h.


Function Documentation

typedef int ( ldap_conn_add_f  )
typedef int ( LDAP_REBIND_PROC  )
typedef int ( LDAP_NEXTREF_PROC  )
typedef int ( LDAP_URLLIST_PROC  )
typedef int ( LDAP_SASL_INTERACT_PROC  )
LDAP_F ( void  )
ldap_get_option LDAP_P ( (LDAP *ld, int option, void *outvalue)  )
ldap_set_option LDAP_P ( (LDAP *ld, int option, LDAP_CONST void *invalue)  )
ldap_set_rebind_proc LDAP_P ( (LDAP *ld, LDAP_REBIND_PROC *rebind_proc, void *params )
ldap_set_nextref_proc LDAP_P ( (LDAP *ld, LDAP_NEXTREF_PROC *nextref_proc, void *params )
ldap_set_urllist_proc LDAP_P ( (LDAP *ld, LDAP_URLLIST_PROC *urllist_proc, void *params )
ldap_control_create LDAP_P ( (LDAP_CONST char *requestOID, int iscritical, struct berval *value, int dupval, LDAPControl **ctrlp )
ldap_domain2dn LDAP_P ( (LDAP_CONST char *domain, char **dn )
ldap_dn2domain LDAP_P ( (LDAP_CONST char *dn, char **domain)  )
ldap_domain2hostlist LDAP_P ( (LDAP_CONST char *domain, char **hostlist)  )
ldap_extended_operation LDAP_P ( (LDAP *ld, LDAP_CONST char *reqoid, struct berval *reqdata, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp )
ldap_extended_operation_s LDAP_P ( (LDAP *ld, LDAP_CONST char *reqoid, struct berval *reqdata, LDAPControl **serverctrls, LDAPControl **clientctrls, char **retoidp, struct berval **retdatap)  )
ldap_parse_extended_result LDAP_P ( (LDAP *ld, LDAPMessage *res, char **retoidp, struct berval **retdatap, intfreeit)  )
ldap_parse_intermediate LDAP_P ( (LDAP *ld, LDAPMessage *res, char **retoidp, struct berval **retdatap, LDAPControl ***serverctrls, intfreeit)  )
ldap_abandon_ext LDAP_P ( (LDAP *ld, intmsgid, LDAPControl **serverctrls, LDAPControl **clientctrls)  )
ldap_add_ext LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp )
ldap_add_ext_s LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls)  )
ldap_sasl_bind LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *mechanism, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp )
ldap_sasl_interactive_bind LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *saslMechanism, LDAPControl **serverControls, LDAPControl **clientControls, unsigned flags, LDAP_SASL_INTERACT_PROC *proc, void *defaults, LDAPMessage *result, const char **rmech, int *msgid )
ldap_sasl_interactive_bind_s LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *saslMechanism, LDAPControl **serverControls, LDAPControl **clientControls, unsigned flags, LDAP_SASL_INTERACT_PROC *proc, void *defaults )
ldap_sasl_bind_s LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *mechanism, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, struct berval **servercredp)  )
ldap_parse_sasl_bind_result LDAP_P ( (LDAP *ld, LDAPMessage *res, struct berval **servercredp, intfreeit)  )
ldap_compare_ext LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *attr, struct berval *bvalue, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp )
ldap_compare_ext_s LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *attr, struct berval *bvalue, LDAPControl **serverctrls, LDAPControl **clientctrls)  )
ldap_delete_ext LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp )
ldap_delete_ext_s LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls)  )
ldap_parse_result LDAP_P ( (LDAP *ld, LDAPMessage *res, int *errcodep, char **matcheddnp, char **errmsgp, char ***referralsp, LDAPControl ***serverctrls, intfreeit)  )
ldap_gssapi_bind LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *creds)  )
ldap_modify_ext LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp )
ldap_modify_ext_s LDAP_P ( (LDAP *ld, LDAP_CONST char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls)  )
ldap_create LDAP_P ( (LDAP **ldp )
ldap_initialize LDAP_P ( (LDAP **ldp, LDAP_CONST char *url )
ldap_dup LDAP_P ( (LDAP *old )
ldap_tls_inplace LDAP_P ( (LDAP *ld )
ldap_start_tls LDAP_P ( (LDAP *ld, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp )
ldap_start_tls_s LDAP_P ( (LDAP *ld, LDAPControl **serverctrls, LDAPControl **clientctrls)  )
ldap_first_message LDAP_P ( (LDAP *ld, LDAPMessage *chain)  )
ldap_next_message LDAP_P ( (LDAP *ld, LDAPMessage *msg)  )
ldap_next_reference LDAP_P ( (LDAP *ld, LDAPMessage *ref)  )
ldap_parse_reference LDAP_P ( (LDAP *ld, LDAPMessage *ref, char ***referralsp, LDAPControl ***serverctrls, intfreeit)  )
ldap_next_entry LDAP_P ( (LDAP *ld, LDAPMessage *entry )
ldap_get_entry_controls LDAP_P ( (LDAP *ld, LDAPMessage *entry, LDAPControl ***serverctrls)  )
ldap_delete_result_entry LDAP_P ( (LDAPMessage **list, LDAPMessage *e )
ldap_bv2rdn LDAP_P ( (struct berval *bv, LDAPRDN *rdn, char **next, unsigned flags )
ldap_str2rdn LDAP_P ( (LDAP_CONST char *str, LDAPRDN *rdn, char **next, unsigned flags )
ldap_dn_normalize LDAP_P ( (LDAP_CONST char *in, unsigned iflags, char **out, unsigned oflags)  )
ldap_explode_dn LDAP_P ( (LDAP_CONST char *dn, int notypes)  )
ldap_explode_rdn LDAP_P ( (LDAP_CONST char *rdn, int notypes)  )
ldap_X509dn2bv LDAP_P ( (void *x509_name, struct berval *dn, LDAPDN_rewrite_func *func, unsigned flags )
ldap_dcedn2dn LDAP_P ( (LDAP_CONST char *dce)  )
ldap_get_dn_ber LDAP_P ( (LDAP *ld, LDAPMessage *e, BerElement **berout, struct berval *dn )
ldap_get_attribute_ber LDAP_P ( (LDAP *ld, LDAPMessage *e, BerElement *ber, struct berval *attr, struct berval **vals )
ldap_first_attribute LDAP_P ( (LDAP *ld, LDAPMessage *entry, BerElement **ber )
ldap_next_attribute LDAP_P ( (LDAP *ld, LDAPMessage *entry, BerElement *ber )
ldap_get_values_len LDAP_P ( (LDAP *ld, LDAPMessage *entry, LDAP_CONST char *target )
ldap_result LDAP_P ( (LDAP *ld, int msgid, int all, struct timeval *timeout, LDAPMessage **result )
ldap_msgtype LDAP_P ( (LDAPMessage *lm)  )
ldap_msgdelete LDAP_P ( (LDAP *ld, int msgid )
ldap_search_ext LDAP_P ( (LDAP *ld, LDAP_CONST char *base, intscope, LDAP_CONST char *filter, char **attrs, intattrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeout, intsizelimit, int *msgidp )
ldap_search_ext_s LDAP_P ( (LDAP *ld, LDAP_CONST char *base, intscope, LDAP_CONST char *filter, char **attrs, intattrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeout, intsizelimit, LDAPMessage **res )
ldap_put_vrFilter LDAP_P ( (BerElement *ber, const char *vrf)  )
ldap_memfree LDAP_P ( (void *p)  )
ldap_strdup LDAP_P ( (LDAP_CONST char *)  )
ldap_mods_free LDAP_P ( (LDAPMod **mods, int freemods)  )
ldap_cancel_s LDAP_P ( (LDAP *ld, int cancelid, LDAPControl **sctrl, LDAPControl **cctrl)  )
ldap_turn LDAP_P ( (LDAP *ld, int mutual, LDAP_CONST char *identifier, LDAPControl **sctrls, LDAPControl **cctrls, int *msgidp )
ldap_turn_s LDAP_P ( (LDAP *ld, int mutual, LDAP_CONST char *identifier, LDAPControl **sctrl, LDAPControl **cctrl)  )
ldap_create_page_control_value LDAP_P ( (LDAP *ld, ber_int_t pagesize, struct berval *cookie, struct berval *value )
ldap_create_page_control LDAP_P ( (LDAP *ld, ber_int_t pagesize, struct berval *cookie, int iscritical, LDAPControl **ctrlp )
ldap_create_sort_keylist LDAP_P ( (LDAPSortKey ***sortKeyList, char *keyString)  )
ldap_free_sort_keylist LDAP_P ( (LDAPSortKey **sortkeylist)  )
ldap_create_sort_control_value LDAP_P ( (LDAP *ld, LDAPSortKey **keyList, struct berval *value )
ldap_create_sort_control LDAP_P ( (LDAP *ld, LDAPSortKey **keyList, int iscritical, LDAPControl **ctrlp )
ldap_parse_sortresponse_control LDAP_P ( (LDAP *ld, LDAPControl *ctrl, ber_int_t *result, char **attribute)  )
ldap_create_vlv_control_value LDAP_P ( (LDAP *ld, LDAPVLVInfo *ldvlistp, struct berval *value )
ldap_parse_vlvresponse_control LDAP_P ( (LDAP *ld, LDAPControl *ctrls, ber_int_t *target_posp, ber_int_t *list_countp, struct berval **contextp, int *errcodep)  )
ldap_parse_whoami LDAP_P ( (LDAP *ld, LDAPMessage *res, struct berval **authzid )
ldap_parse_passwd LDAP_P ( (LDAP *ld, LDAPMessage *res, struct berval *newpasswd)  )
ldap_passwd LDAP_P ( (LDAP *ld, struct berval *user, struct berval *oldpw, struct berval *newpw, LDAPControl **sctrls, LDAPControl **cctrls, int *msgidp )
ldap_passwd_s LDAP_P ( (LDAP *ld, struct berval *user, struct berval *oldpw, struct berval *newpw, struct berval *newpasswd, LDAPControl **sctrls, LDAPControl **cctrls )
ldap_create_passwordpolicy_control LDAP_P ( (LDAP *ld, LDAPControl **ctrlp )
ldap_parse_passwordpolicy_control LDAP_P ( (LDAP *ld, LDAPControl *ctrl, ber_int_t *expirep, ber_int_t *gracep, LDAPPasswordPolicyError *errorp)  )
ldap_passwordpolicy_err2txt LDAP_P ( (LDAPPasswordPolicyError )
ldap_parse_refresh LDAP_P ( (LDAP *ld, LDAPMessage *res, ber_int_t *newttl)  )
ldap_refresh LDAP_P ( (LDAP *ld, struct berval *dn, ber_int_t ttl, LDAPControl **sctrls, LDAPControl **cctrls, int *msgidp )
ldap_refresh_s LDAP_P ( (LDAP *ld, struct berval *dn, ber_int_t ttl, ber_int_t *newttl, LDAPControl **sctrls, LDAPControl **cctrls )
ldap_sync_destroy LDAP_P ( (ldap_sync_t *ls, intfreeit)  )
ldap_sync_init LDAP_P ( (ldap_sync_t *ls, intmode)  )
ldap_create_session_tracking_value LDAP_P ( (LDAP *ld, char *sessionSourceIp, char *sessionSourceName, char *formatOID, struct berval *sessionTrackingIdentifier, struct berval *value )
ldap_create_session_tracking LDAP_P ( (LDAP *ld, char *sessionSourceIp, char *sessionSourceName, char *formatOID, struct berval *sessionTrackingIdentifier, LDAPControl **ctrlp )
ldap_parse_session_tracking_control LDAP_P ( (LDAP *ld, LDAPControl *ctrl, struct berval *ip, struct berval *name, struct berval *oid, struct berval *id )
ldap_create_assertion_control LDAP_P ( (LDAP *ld, char *filter, intiscritical, LDAPControl **ctrlp )
ldap_create_deref_control LDAP_P ( (LDAP *ld, LDAPDerefSpec *ds, intiscritical, LDAPControl **ctrlp )
typedef void ( ldap_conn_del_f  )