The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
LDAP_DEREF_NEVER
(int)
LDAP_DEREF_SEARCHING
(int)
LDAP_DEREF_FINDING
(int)
LDAP_DEREF_ALWAYS
(int)
LDAP_OPT_DEREF
(int)
LDAP_OPT_SIZELIMIT
(int)
Specifies the maximum number of entries that can be returned on a search operation.
Note: The actual size limit for operations is also bounded by the server's configured maximum number of return entries. The lesser of these two settings is the actual size limit.
LDAP_OPT_TIMELIMIT
(int)
Note: The actual time limit for operations is also bounded by the server's configured maximum time. The lesser of these two settings is the actual time limit.
LDAP_OPT_NETWORK_TIMEOUT
(int)
LDAP_OPT_PROTOCOL_VERSION
(int)
LDAP_OPT_ERROR_NUMBER
(int)
LDAP_OPT_REFERRALS
(int)
LDAP_OPT_RESTART
(int)
LDAP_OPT_HOST_NAME
(int)
LDAP_OPT_ERROR_STRING
(int)
LDAP_OPT_DIAGNOSTIC_MESSAGE
.
LDAP_OPT_DIAGNOSTIC_MESSAGE
(int)
LDAP_OPT_MATCHED_DN
(int)
LDAP_OPT_SERVER_CONTROLS
(int)
LDAP_OPT_CLIENT_CONTROLS
(int)
LDAP_OPT_DEBUG_LEVEL
(int)
LDAP_OPT_X_KEEPALIVE_IDLE
(int)
LDAP_OPT_X_KEEPALIVE_PROBES
(int)
LDAP_OPT_X_KEEPALIVE_INTERVAL
(int)
LDAP_OPT_X_TLS_CACERTDIR
(int)
LDAP_OPT_X_TLS_CACERTFILE
(int)
LDAP_OPT_X_TLS_CERTFILE
(int)
LDAP_OPT_X_TLS_CIPHER_SUITE
(int)
LDAP_OPT_X_TLS_CRLCHECK
(int)
LDAP_OPT_X_TLS_CRL_NONE
,LDAP_OPT_X_TLS_CRL_PEER
, LDAP_OPT_X_TLS_CRL_ALL
.
Note: This option is only valid for OpenSSL.
LDAP_OPT_X_TLS_CRLFILE
(int)
Note: This option is only valid for GnuTLS.
LDAP_OPT_X_TLS_DHFILE
(int)
Note: This option is ignored by GnuTLS and Mozilla NSS.
LDAP_OPT_X_TLS_KEYFILE
(int)
LDAP_OPT_X_TLS_PROTOCOL_MIN
(int)
LDAP_OPT_X_TLS_PROTOCOL_SSL2
,LDAP_OPT_X_TLS_PROTOCOL_SSL3
, LDAP_OPT_X_TLS_PROTOCOL_TLS1_0
, LDAP_OPT_X_TLS_PROTOCOL_TLS1_1
, LDAP_OPT_X_TLS_PROTOCOL_TLS1_2
LDAP_OPT_X_TLS_RANDOM_FILE
(int)
LDAP_OPT_X_TLS_REQUIRE_CERT
(int)
LDAP_OPT_X_TLS_NEVER
,LDAP_OPT_X_TLS_HARD
, LDAP_OPT_X_TLS_DEMAND
,
LDAP_OPT_X_TLS_ALLOW
, LDAP_OPT_X_TLS_TRY
.
(Available as of PHP 7.0.0)
GSLC_SSL_NO_AUTH
(int)
GSLC_SSL_ONEWAY_AUTH
(int)
GSLC_SSL_TWOWAY_AUTH
(int)
LDAP_EXOP_START_TLS
(string)
LDAP_EXOP_MODIFY_PASSWD
(string)
LDAP_EXOP_REFRESH
(string)
LDAP_EXOP_WHO_AM_I
(string)
LDAP_EXOP_TURN
(string)
LDAP_CONTROL_MANAGEDSAIT
(string)
LDAP_CONTROL_PROXY_AUTHZ
(string)
LDAP_CONTROL_SUBENTRIES
(string)
LDAP_CONTROL_VALUESRETURNFILTER
(string)
LDAP_CONTROL_ASSERT
(string)
LDAP_CONTROL_PRE_READ
(string)
LDAP_CONTROL_POST_READ
(string)
LDAP_CONTROL_SORTREQUEST
(string)
LDAP_CONTROL_SORTRESPONSE
(string)
LDAP_CONTROL_PAGEDRESULTS
(string)
LDAP_CONTROL_AUTHZID_REQUEST
(string)
LDAP_CONTROL_AUTHZID_RESPONSE
(string)
LDAP_CONTROL_SYNC
(string)
LDAP_CONTROL_SYNC_STATE
(string)
LDAP_CONTROL_SYNC_DONE
(string)
LDAP_CONTROL_DONTUSECOPY
(string)
LDAP_CONTROL_PASSWORDPOLICYREQUEST
(string)
LDAP_CONTROL_PASSWORDPOLICYRESPONSE
(string)
LDAP_CONTROL_X_INCREMENTAL_VALUES
(string)
LDAP_CONTROL_X_DOMAIN_SCOPE
(string)
LDAP_CONTROL_X_PERMISSIVE_MODIFY
(string)
LDAP_CONTROL_X_SEARCH_OPTIONS
(string)
LDAP_CONTROL_X_TREE_DELETE
(string)
LDAP_CONTROL_X_EXTENDED_DN
(string)
LDAP_CONTROL_VLVREQUEST
(string)
LDAP_CONTROL_VLVRESPONSE
(string)
LDAP_ESCAPE_DN
(int)
LDAP_ESCAPE_FILTER
(int)
LDAP_MODIFY_BATCH_ATTRIB
(string)
attrib
.
LDAP_MODIFY_BATCH_MODTYPE
(string)
modtype
.
LDAP_MODIFY_BATCH_VALUES
(string)
values
.
LDAP_MODIFY_BATCH_ADD
(int)
LDAP_MODIFY_BATCH_REMOVE
(int)
LDAP_MODIFY_BATCH_REMOVE_ALL
(int)
LDAP_MODIFY_BATCH_REPLACE
(int)
LDAP_OPT_TIMEOUT
(int)
LDAP_OPT_X_SASL_AUTHCID
(int)
LDAP_OPT_X_SASL_AUTHZID
(int)
LDAP_OPT_X_SASL_MECH
(int)
LDAP_OPT_X_SASL_NOCANON
(int)
NOCANON
flag.
When unset, the hostname is canonicalized.
LDAP_OPT_X_SASL_REALM
(int)
LDAP_OPT_X_SASL_USERNAME
(int)
LDAP_OPT_X_TLS_ALLOW
(int)
LDAP_OPT_X_TLS_DEMAND
(int)
LDAP_OPT_X_TLS_HARD
(int)
LDAP_OPT_X_TLS_DEMAND
.
LDAP_OPT_X_TLS_NEVER
(int)
LDAP_OPT_X_TLS_TRY
(int)
LDAP_OPT_X_TLS_CRL_ALL
(int)
LDAP_OPT_X_TLS_CRL_NONE
(int)
LDAP_OPT_X_TLS_CRL_PEER
(int)
LDAP_OPT_X_TLS_PACKAGE
(int)
LDAP_OPT_X_TLS_PROTOCOL_SSL2
(int)
LDAP_OPT_X_TLS_PROTOCOL_SSL3
(int)
LDAP_OPT_X_TLS_PROTOCOL_TLS1_0
(int)
LDAP_OPT_X_TLS_PROTOCOL_TLS1_1
(int)
LDAP_OPT_X_TLS_PROTOCOL_TLS1_2
(int)