Home
last modified time | relevance | path

Searched refs:ldap_set_option (Results 1 – 25 of 37) sorted by relevance

12

/PHP-8.0/ext/ldap/tests/
H A Dldap_set_option_error.phpt2 ldap_set_option() - ldap_set_option() operation that should fail
26 var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, 10));
30 var_dump(ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, $control));
36 var_dump(ldap_set_option($link, 999999, 999999));
40 ValueError: ldap_set_option(): Control must have an "oid" key
41 TypeError: ldap_set_option(): Argument #3 ($value) must contain only arrays, where each array is a …
42 TypeError: ldap_set_option(): Argument #3 ($value) must be of type array for the LDAP_OPT_CLIENT_CO…
H A Dldap_set_option_variation.phpt2 ldap_set_option() - More ldap_set_option() operations
20 var_dump(ldap_set_option($link, LDAP_OPT_DEREF, LDAP_DEREF_ALWAYS));
24 ldap_set_option($link, LDAP_OPT_SIZELIMIT, 123)
29 ldap_set_option($link, LDAP_OPT_TIMELIMIT, 33)
34 ldap_set_option($link, LDAP_OPT_NETWORK_TIMEOUT, 44)
39 ldap_set_option($link, LDAP_OPT_REFERRALS, true)
44 ldap_set_option($link, LDAP_OPT_RESTART, false)
49 ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, $controls)
54 ldap_set_option($link, LDAP_OPT_CLIENT_CONTROLS, $controls)
59 ldap_set_option($link, LDAP_OPT_MATCHED_DN, "dc=test,dc=com")
H A Dldap_get_option_variation.phpt20 ldap_set_option($link, LDAP_OPT_DEREF, LDAP_DEREF_NEVER);
21 ldap_set_option($link, LDAP_OPT_SIZELIMIT, 123);
22 ldap_set_option($link, LDAP_OPT_TIMELIMIT, 33);
23 ldap_set_option($link, LDAP_OPT_NETWORK_TIMEOUT, 44);
24 ldap_set_option($link, LDAP_OPT_TIMEOUT, 55);
25 ldap_set_option($link, LDAP_OPT_REFERRALS, false);
26 ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, $controls);
27 ldap_set_option($link, LDAP_OPT_CLIENT_CONTROLS, $controls);
28 ldap_set_option($link, LDAP_OPT_RESTART, false);
H A Dldap_set_option_basic.phpt2 ldap_set_option() - Basic ldap_set_option() operation
15 var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version));
H A Dldap_set_option_crlcheck_error.phpt2 ldap_set_option() - Error test for TLS CRL check ldap option
11 $result = ldap_set_option($link, LDAP_OPT_X_TLS_CRLCHECK, 9001);
H A Dldap_set_option_ciphersuite_basic.phpt2 ldap_set_option() - Basic test for TLS cipher suite ldap option
12 $result = ldap_set_option($link, LDAP_OPT_X_TLS_CIPHER_SUITE, '3DES');
H A Dldap_set_option_keepalive_basic.phpt2 ldap_set_option() - Basic test for TCP keepalive ldap options
17 $result = ldap_set_option($link, $option, 5);
H A Dldap_get_option_controls.phpt2 ldap_get_option() and ldap_set_option() tests related to ldap controls
49 ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, $controls_set),
52 ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, $controls_set2),
57 ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, array()),
H A Dldap_option_reqcert_basic.phpt14 ldap_set_option(null, LDAP_OPT_X_TLS_REQUIRE_CERT, LDAP_OPT_X_TLS_NEVER);
17 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dldap_option_reqcert_error.phpt14 ldap_set_option(null, LDAP_OPT_X_TLS_REQUIRE_CERT, LDAP_OPT_X_TLS_HARD);
17 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dldap_set_option_tls_protocol_min_basic.phpt2 ldap_set_option() - Basic test for TLS protocol min ldap option
19 $result = ldap_set_option($link, LDAP_OPT_X_TLS_PROTOCOL_MIN, $option);
H A Dldap_set_option_crlcheck_basic.phpt2 ldap_set_option() - Basic test for TLS CRL check ldap option
25 $result = ldap_set_option($link, LDAP_OPT_X_TLS_CRLCHECK, $option);
H A Dldap_set_option_cafiles_basic.phpt2 ldap_set_option() - Basic test for TLS CA/Cert/CRL/DH/Key file ldap options
20 $result = ldap_set_option($link, $option, '/foo/bar');
H A Dldap_search_overrides.phpt16 ldap_set_option($link, LDAP_OPT_DEREF, LDAP_DEREF_SEARCHING);
17 ldap_set_option($link, LDAP_OPT_SIZELIMIT, 123);
18 ldap_set_option($link, LDAP_OPT_TIMELIMIT, 33);
19 ldap_set_option($link, LDAP_OPT_NETWORK_TIMEOUT, 44);
H A Dldap_parse_reference_basic.phpt19 ldap_set_option($link, LDAP_OPT_DEREF, LDAP_DEREF_NEVER);
34 ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, array(array("oid" => "2.16.840.1.113730.3.4.2")));
H A Dskipifbindfailure.inc7 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dldap_set_option_reqcert_error.phpt11 $result = ldap_set_option($link, LDAP_OPT_X_TLS_REQUIRE_CERT, 9001);
H A Dldap_bind_variation.phpt14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dldap_start_tls_basic.phpt14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dldap_bind_basic.phpt14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dldap_get_option_basic.phpt14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dldap_get_option_package_basic.phpt15 var_dump(ldap_set_option($link, LDAP_OPT_X_TLS_PACKAGE, 'foo'));
H A Dldap_set_option_reqcert_basic.phpt19 $result = ldap_set_option($link, LDAP_OPT_X_TLS_REQUIRE_CERT, $option);
H A Dldap_set_rebind_proc_basic.phpt19 ldap_set_option($a, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dldap_unbind_variation.phpt19 ldap_set_option($a, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);

Completed in 17 milliseconds

12