定義済み定数
以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。
-
LDAP_DEREF_NEVER(integer) - Alias dereferencing rule - Never.
-
LDAP_DEREF_SEARCHING(integer) - Alias dereferencing rule - Searching.
-
LDAP_DEREF_FINDING(integer) - Alias dereferencing rule - Finding.
-
LDAP_DEREF_ALWAYS(integer) - Alias dereferencing rule - Always.
-
LDAP_OPT_DEREF(integer) - サーバーでエイリアスをたどるときの、別の規則を指定します。
-
LDAP_OPT_SIZELIMIT(integer) -
検索操作で返すことができるエントリの最大数を指定します。
注意: 実際のサイズ制限は、サーバー側で設定されている最大エントリ数にも影響を受けます。 これらふたつの設定のうち小さい方が実際のサイズ制限となります。
-
LDAP_OPT_TIMELIMIT(integer) -
検索結果を待ち続ける秒数を指定します。
注意: 実際の時間制限は、サーバー側で設定されている最大時間にも影響を受けます。 これらふたつの設定のうち小さい方が実際の時間制限となります。
-
LDAP_OPT_NETWORK_TIMEOUT(integer) - ldap_set_option() 用のオプションで、 ネットワークのタイムアウトを設定します (PHP 5.3.0 以降で利用可能です)。
-
LDAP_OPT_PROTOCOL_VERSION(integer) - 使用する LDAP プロトコルのバージョン (V2 あるいは V3) を指定します。
-
LDAP_OPT_ERROR_NUMBER(integer) - Latest session error number.
-
LDAP_OPT_REFERRALS(integer) - LDAP サーバーから返される参照を自動的にたどるかどうかを指定します。
-
LDAP_OPT_RESTART(integer) - Determines whether or not the connection should be implicitly restarted.
-
LDAP_OPT_HOST_NAME(integer) - Sets/gets a space-separated of hosts when trying to connect.
-
LDAP_OPT_ERROR_STRING(integer) -
Alias of
LDAP_OPT_DIAGNOSTIC_MESSAGE. -
LDAP_OPT_DIAGNOSTIC_MESSAGE(integer) - Gets the latest session error message.
-
LDAP_OPT_MATCHED_DN(integer) - Sets/gets the matched DN associated with the connection.
-
LDAP_OPT_SERVER_CONTROLS(integer) - リクエストごとに送信するサーバーコントロールのデフォルトリストを指定します。
-
LDAP_OPT_CLIENT_CONTROLS(integer) - リクエストごとに処理するクライアントコントロールのデフォルトリストを指定します。
-
LDAP_OPT_DEBUG_LEVEL(integer) - デバッグトレース用のビットレベルを指定します。
-
LDAP_OPT_X_KEEPALIVE_IDLE(integer) - Specifies the number of seconds a connection needs to remain idle before TCP starts sending keepalive probes.
-
LDAP_OPT_X_KEEPALIVE_PROBES(integer) - Specifies the maximum number of keepalive probes TCP should send before dropping the connection.
-
LDAP_OPT_X_KEEPALIVE_INTERVAL(integer) - Specifies the interval in seconds between individual keepalive probes.
-
LDAP_OPT_X_TLS_CACERTDIR(string) - Specifies the path of the directory containing CA certificates.
-
LDAP_OPT_X_TLS_CACERTFILE(string) - Specifies the full-path of the CA certificate file.
-
LDAP_OPT_X_TLS_CERTFILE(string) - Specifies the full-path of the certificate file.
-
LDAP_OPT_X_TLS_CIPHER_SUITE(string) - Specifies the allowed cipher suite.
-
LDAP_OPT_X_TLS_CRLCHECK(integer) -
Specifies the CRL evaluation strategy. This must be one of:
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(string) -
Specifies the full-path of the CRL file.
注意: This option is only valid for GnuTLS.
-
LDAP_OPT_X_TLS_DHFILE(string) -
Specifies the full-path of the file containing the parameters for Diffie-Hellman ephemeral key exchange.
注意: This option is ignored by GnuTLS and Mozilla NSS.
-
LDAP_OPT_X_TLS_KEYFILE(string) - Specifies the full-path of the certificate key file.
-
LDAP_OPT_X_TLS_PROTOCOL_MIN(integer) -
Specifies the minimum protocol version. This can be one of:
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) - Sets/gets the random file when one of the system default ones are not available.
-
LDAP_OPT_X_TLS_REQUIRE_CERT(integer) -
Specifies the certificate checking checking strategy. This must be one of:
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. (PHP 7.0.0 以降で利用可能) -
GSLC_SSL_NO_AUTH(integer) - SSL Authentication Mode - No authentication required. (Only for Oracle LDAP)
-
GSLC_SSL_ONEWAY_AUTH(integer) - SSL Authentication Mode - Only server authentication required. (Only for Oracle LDAP)
-
GSLC_SSL_TWOWAY_AUTH(integer) - SSL Authentication Mode - Both server and client authentication required. (Only for Oracle LDAP)
-
LDAP_EXOP_START_TLS(integer) - Extended Operation constant - Start TLS (RFC 4511).
-
LDAP_EXOP_MODIFY_PASSWD(integer) - Extended Operation constant - Modify password (RFC 3062).
-
LDAP_EXOP_REFRESH(integer) - Extended Operation Constant - Refresh (RFC 2589).
-
LDAP_EXOP_WHO_AM_I(integer) - Extended Operation Constant - WHOAMI (RFC 4532).
-
LDAP_EXOP_TURN(integer) - Extended Operation Constant - Turn (RFC 4531).