/PHP-8.0/ext/ldap/tests/ |
H A D | ldap_set_option_error.phpt | 2 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 D | ldap_set_option_variation.phpt | 2 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 D | ldap_get_option_variation.phpt | 20 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 D | ldap_set_option_basic.phpt | 2 ldap_set_option() - Basic ldap_set_option() operation 15 var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version));
|
H A D | ldap_set_option_crlcheck_error.phpt | 2 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 D | ldap_set_option_ciphersuite_basic.phpt | 2 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 D | ldap_set_option_keepalive_basic.phpt | 2 ldap_set_option() - Basic test for TCP keepalive ldap options 17 $result = ldap_set_option($link, $option, 5);
|
H A D | ldap_get_option_controls.phpt | 2 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 D | ldap_option_reqcert_basic.phpt | 14 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 D | ldap_option_reqcert_error.phpt | 14 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 D | ldap_set_option_tls_protocol_min_basic.phpt | 2 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 D | ldap_set_option_crlcheck_basic.phpt | 2 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 D | ldap_set_option_cafiles_basic.phpt | 2 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 D | ldap_search_overrides.phpt | 16 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 D | ldap_parse_reference_basic.phpt | 19 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 D | skipifbindfailure.inc | 7 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
|
H A D | ldap_set_option_reqcert_error.phpt | 11 $result = ldap_set_option($link, LDAP_OPT_X_TLS_REQUIRE_CERT, 9001);
|
H A D | ldap_bind_variation.phpt | 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
|
H A D | ldap_start_tls_basic.phpt | 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
|
H A D | ldap_bind_basic.phpt | 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
|
H A D | ldap_get_option_basic.phpt | 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
|
H A D | ldap_get_option_package_basic.phpt | 15 var_dump(ldap_set_option($link, LDAP_OPT_X_TLS_PACKAGE, 'foo'));
|
H A D | ldap_set_option_reqcert_basic.phpt | 19 $result = ldap_set_option($link, LDAP_OPT_X_TLS_REQUIRE_CERT, $option);
|
H A D | ldap_set_rebind_proc_basic.phpt | 19 ldap_set_option($a, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
|
H A D | ldap_unbind_variation.phpt | 19 ldap_set_option($a, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
|