Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LDAP] add new option implemented in php 7.1 #32447

Merged
merged 1 commit into from
Jul 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/Symfony/Component/Ldap/Adapter/ExtLdap/ConnectionOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,27 @@ final class ConnectionOptions
const DEBUG_LEVEL = 0x5001;
const TIMEOUT = 0x5002;
const NETWORK_TIMEOUT = 0x5005;
const X_TLS_CACERTDIR = 0x6003;
const X_TLS_CERTFILE = 0x6004;
const X_TLS_CRL_ALL = 0x02;
const X_TLS_CRL_NONE = 0x00;
const X_TLS_CRL_PEER = 0x01;
const X_TLS_KEYFILE = 0x6005;
const X_TLS_REQUIRE_CERT = 0x6006;
const X_TLS_PROTOCOL_MIN = 0x6007;
const X_TLS_CIPHER_SUITE = 0x6008;
const X_TLS_RANDOM_FILE = 0x6009;
const X_TLS_CRLFILE = 0x6010;
const X_TLS_PACKAGE = 0x6011;
const X_TLS_CRLCHECK = 0x600b;
const X_TLS_DHFILE = 0x600e;
const X_SASL_MECH = 0x6100;
const X_SASL_REALM = 0x6101;
const X_SASL_AUTHCID = 0x6102;
const X_SASL_AUTHZID = 0x6103;
const X_KEEPALIVE_IDLE = 0x6300;
const X_KEEPALIVE_PROBES = 0x6301;
const X_KEEPALIVE_INTERVAL = 0x6302;

public static function getOptionName($name)
{
Expand Down