下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。
LDAP_DEREF_NEVER
(integer)
LDAP_DEREF_SEARCHING
(integer)
LDAP_DEREF_FINDING
(integer)
LDAP_DEREF_ALWAYS
(integer)
LDAP_OPT_DEREF
(integer)
LDAP_OPT_SIZELIMIT
(integer)
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
(integer)
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
(integer)
LDAP_OPT_PROTOCOL_VERSION
(integer)
LDAP_OPT_ERROR_NUMBER
(integer)
LDAP_OPT_REFERRALS
(integer)
LDAP_OPT_RESTART
(integer)
LDAP_OPT_HOST_NAME
(integer)
LDAP_OPT_ERROR_STRING
(integer)
LDAP_OPT_DIAGNOSTIC_MESSAGE
.
LDAP_OPT_DIAGNOSTIC_MESSAGE
(integer)
LDAP_OPT_MATCHED_DN
(integer)
LDAP_OPT_SERVER_CONTROLS
(integer)
LDAP_OPT_CLIENT_CONTROLS
(integer)
LDAP_OPT_DEBUG_LEVEL
(integer)
LDAP_OPT_X_KEEPALIVE_IDLE
(integer)
LDAP_OPT_X_KEEPALIVE_PROBES
(integer)
LDAP_OPT_X_KEEPALIVE_INTERVAL
(integer)
LDAP_OPT_X_TLS_CACERTDIR
(string)
LDAP_OPT_X_TLS_CACERTFILE
(string)
LDAP_OPT_X_TLS_CERTFILE
(string)
LDAP_OPT_X_TLS_CIPHER_SUITE
(string)
LDAP_OPT_X_TLS_CRLCHECK
(integer)
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
(string)
Note: This option is only valid for GnuTLS.
LDAP_OPT_X_TLS_DHFILE
(string)
Note: This option is ignored by GnuTLS and Mozilla NSS.
LDAP_OPT_X_TLS_KEYFILE
(string)
LDAP_OPT_X_TLS_PROTOCOL_MIN
(integer)
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
(string)
LDAP_OPT_X_TLS_REQUIRE_CERT
(integer)
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
(integer)
GSLC_SSL_ONEWAY_AUTH
(integer)
GSLC_SSL_TWOWAY_AUTH
(integer)
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)