array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'ldap.constants.php', 1 => '预定义常量', ), 'up' => array ( 0 => 'book.ldap.php', 1 => 'LDAP', ), 'prev' => array ( 0 => 'ldap.resources.php', 1 => '资源类型', ), 'next' => array ( 0 => 'ldap.using.php', 1 => 'Using the PHP LDAP calls', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ldap/constants.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。
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.
注意: 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)
注意: 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
.
注意: This option is only valid for OpenSSL.
LDAP_OPT_X_TLS_CRLFILE
(int)
注意: This option is only valid for GnuTLS.
LDAP_OPT_X_TLS_DHFILE
(int)
注意: 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)