Home
last modified time | relevance | path

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

/PHP-5.6/ext/ldap/tests/
H A Dldap_set_option_error.phpt2 ldap_set_option() - ldap_set_option() operation that should fail
28 var_dump(ldap_set_option());
29 var_dump(ldap_set_option($link));
30 var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION));
33 var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, 3, "Additional data"));
35 var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, 10));
38 var_dump(ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, $control));
40 var_dump(ldap_set_option($link, 999999, 999999));
44 Warning: ldap_set_option() expects exactly 3 parameters, 0 given in %s on line %d
47 Warning: ldap_set_option() expects exactly 3 parameters, 1 given in %s on line %d
[all …]
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_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);
35 ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, array(array("oid" => "2.16.840.1.113730.3.4.2")));
H A Dldap_first_reference_basic.phpt19 ldap_set_option($link, LDAP_OPT_DEREF, LDAP_DEREF_NEVER);
33 ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, array(array("oid" => "2.16.840.1.113730.3.4.2")));
H A Dldap_next_reference_basic.phpt24 ldap_set_option($link, LDAP_OPT_DEREF, LDAP_DEREF_NEVER);
38 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_get_option_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_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_start_tls_error.phpt14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dldap_sasl_bind_basic.phpt21 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
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);
H A Dbug76248.phpt21 ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3);
H A Dldap_bind_error.phpt14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dldap_parse_result_basic.phpt34 ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, array(array("oid" => "2.16.840.1.113730.3.4.2")));
H A Dldap_set_rebind_proc_error.phpt28 ldap_set_option($a, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dldap_sasl_bind_error.phpt15 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
H A Dconnect.inc19 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
/PHP-5.6/ext/ldap/
H A Dldap.c457 ldap_set_option(ldap, LDAP_OPT_ERROR_NUMBER, &lderr); in _set_lderrno()
629 ldap_set_option(ld->link, LDAP_OPT_X_SASL_SECPROPS, props); in PHP_FUNCTION()
670 ldap_set_option(ldap, LDAP_OPT_SIZELIMIT, &sizelimit); in php_set_opts()
681 ldap_set_option(ldap, LDAP_OPT_TIMELIMIT, &timelimit); in php_set_opts()
692 ldap_set_option(ldap, LDAP_OPT_DEREF, &deref); in php_set_opts()
2147 PHP_FUNCTION(ldap_set_option) in PHP_FUNCTION() argument
2180 if (ldap_set_option(ldap, option, &val)) { in PHP_FUNCTION()
2239 if (ldap_set_option(ldap, option, val)) { in PHP_FUNCTION()
2253 if (ldap_set_option(ldap, option, val)) { in PHP_FUNCTION()
2308 error = ldap_set_option(ldap, option, ctrls); in PHP_FUNCTION()
[all …]
/PHP-5.6/
H A DNEWS7584 - Added LDAP_OPT_NETWORK_TIMEOUT option for ldap_set_option() to allow

Completed in 68 milliseconds