Home
last modified time | relevance | path

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

123456

/php-src/ext/ldap/
H A Dldap.stub.php635 function ldap_unbind(LDAP\Connection $ldap): bool {}
638 function ldap_close(LDAP\Connection $ldap): bool {}
659 function ldap_count_entries(LDAP\Connection $ldap, LDAP\Result $result): int {}
669 function ldap_get_entries(LDAP\Connection $ldap, LDAP\Result $result): array|false {}
729 function ldap_errno(LDAP\Connection $ldap): int {}
731 function ldap_error(LDAP\Connection $ldap): string {}
746 function ldap_set_option(?LDAP\Connection $ldap, int $option, $value): bool {}
748 function ldap_count_references(LDAP\Connection $ldap, LDAP\Result $result): int {}
772 function ldap_set_rebind_proc(LDAP\Connection $ldap, ?callable $callback): bool {}
776 function ldap_start_tls(LDAP\Connection $ldap): bool {}
[all …]
H A Dconfig.w323 ARG_WITH("ldap", "LDAP support", "no");
7 …if (CHECK_HEADER_ADD_INCLUDE("ldap.h", "CFLAGS_LDAP", PHP_PHP_BUILD + "\\include\\openldap;" + PHP…
9 SETUP_OPENSSL("ldap", PHP_LDAP) >= 2 &&
10 CHECK_LIB("oldap32_a.lib", "ldap", PHP_LDAP) &&
11 CHECK_LIB("olber32_a.lib", "ldap", PHP_LDAP)&&
12 CHECK_LIB("libsasl.lib", "ldap", PHP_LDAP)) {
13 EXTENSION('ldap', 'ldap.c', null, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
18 AC_DEFINE('HAVE_LDAP', 1, "Define to 1 if the PHP extension 'ldap' is available.");
19 AC_DEFINE('HAVE_LDAP_SASL', 1, 'Define to 1 if the ldap extension has SASL support enabled.');
29 WARNING("ldap not enabled; libraries and headers not found");
H A Dphp_ldap.h35 PHP_MINIT_FUNCTION(ldap);
36 PHP_MSHUTDOWN_FUNCTION(ldap);
37 PHP_MINFO_FUNCTION(ldap);
39 ZEND_BEGIN_MODULE_GLOBALS(ldap)
42 ZEND_END_MODULE_GLOBALS(ldap)
48 ZEND_EXTERN_MODULE_GLOBALS(ldap)
49 #define LDAPG(v) ZEND_MODULE_GLOBALS_ACCESSOR(ldap, v)
H A Dconfig.m42 if test -f $1/include/ldap.h; then
6 elif test -f $1/ldap/public/ldap.h; then
8 LDAP_INCDIR=$1/ldap/public
30 if test -f $OCISDKRPMINC/ldap.h; then
35 elif test -f $1/sdk/include/ldap.h; then
43 PHP_ARG_WITH([ldap],
45 [AS_HELP_STRING([[--with-ldap[=DIR]]],
48 PHP_ARG_WITH([ldap-sasl],
50 [AS_HELP_STRING([--with-ldap-sasl],
56 PHP_NEW_EXTENSION([ldap],
[all …]
H A Dldap_arginfo.h31 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0)
37 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0)
43 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0)
51 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0)
63 ZEND_ARG_INFO(0, ldap)
83 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0)
88 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0)
93 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0)
98 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0)
103 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0)
[all …]
/php-src/.github/scripts/
H A Dsetup-slapd.sh5 sudo mkdir -p /etc/ldap/ssl
24 -out /etc/ldap/ssl/server.crt -keyout /etc/ldap/ssl/server.key \
28 sudo chown -R openldap:openldap /etc/ldap/ssl
31 openssl x509 -noout -text -in /etc/ldap/ssl/server.crt
34 if ! grep -q 'TLS_CACERT \/etc\/ldap\/ssl\/server.crt' /etc/ldap/ldap.conf; then
35 sudo sed -e 's|^\s*TLS_CACERT|# TLS_CACERT|' -i /etc/ldap/ldap.conf
36 echo 'TLS_CACERT /etc/ldap/ssl/server.crt' | sudo tee -a /etc/ldap/ldap.conf
64 olcTLSCACertificateFile: /etc/ldap/ssl/server.crt
67 olcTLSCertificateFile: /etc/ldap/ssl/server.crt
70 olcTLSCertificateKeyFile: /etc/ldap/ssl/server.key
[all …]
/php-src/ext/ldap/tests/
H A Dgh16389.phpt2 GH-16389 (Assertion failure in ext/ldap/ldap.c:2718)
4 ldap
10 $ldap = ldap_connect('ldap://127.0.0.1:3333');
18 var_dump(ldap_modify_batch($ldap, "", $modification_attrib_reference_string));
H A Dgh16101.phpt4 ldap
9 $ldap = ldap_connect('ldap://127.0.0.1:3333');
14 "hello" => $ldap,
15 "world" => $ldap,
25 ValueError: ldap_list(): Argument #1 ($ldap) must be a list
H A Dbug73933.phpt4 ldap
8 $ldap = ldap_connect('ldap://127.0.0.1:3333');
10 ldap_mod_replace($ldap, '', array(
14 ldap_modify_batch($ldap, '', array( [
21 ldap_close($ldap);
H A Dldap_list_read_search_programming_errors.phpt4 ldap
10 $ldap = ldap_connect('ldap://127.0.0.1:3333');
21 var_dump(ldap_list($ldap, [$valid_dn], $valid_filter));
27 var_dump(ldap_list($ldap, $valid_dn, [$valid_filter]));
38 var_dump(ldap_list($ldap, $valid_dn, $valid_filter, $not_list));
49 var_dump(ldap_list($ldap, $valid_dn, $valid_filter, $not_list_of_strings));
60 var_dump(ldap_list($ldap, $valid_dn, $valid_filter, $list_of_strings_with_null_byte));
73 var_dump(ldap_list($ldap, $valid_dn, $valid_filter, $list_with_ref_nul_byte));
80 TypeError: ldap_list(): Argument #1 ($ldap) must be of type LDAP\Connection|array, int given
81 TypeError: ldap_list(): Argument #2 ($base) must be of type string when argument #1 ($ldap) is an L…
[all …]
H A Dldap_get_set_invalid_option_error.phpt4 ldap
8 $ldap = ldap_connect('ldap://127.0.0.1:3333');
10 var_dump(ldap_set_option($ldap, 999999, "bogus"));
15 var_dump(ldap_get_option($ldap, 999999, $value));
H A Dldap_modify_batch_programming_error.phpt4 ldap
9 $ldap = ldap_connect('ldap://127.0.0.1:3333');
15 var_dump(ldap_modify_batch($ldap, $dn, []));
22 var_dump(ldap_modify_batch($ldap, $valid_dn, $empty_list));
32 var_dump(ldap_modify_batch($ldap, $valid_dn, $not_list1));
46 var_dump(ldap_modify_batch($ldap, $valid_dn, $not_list2));
61 var_dump(ldap_modify_batch($ldap, $valid_dn, $not_list_of_arrays));
84 var_dump(ldap_modify_batch($ldap, $valid_dn, $modifications_not_all_dicts));
98 var_dump(ldap_modify_batch($ldap, $valid_dn, $modification_has_invalid_key));
111 var_dump(ldap_modify_batch($ldap, $valid_dn, $modification_attrib_not_string));
[all …]
H A Dldap_add_modify_delete_programming_errors.phpt4 ldap
10 $ldap = ldap_connect('ldap://127.0.0.1:3333');
24 var_dump(ldap_add($ldap, $valid_dn, $empty_dict));
38 var_dump(ldap_add($ldap, $valid_dn, $not_dict_of_attributes));
51 var_dump(ldap_add($ldap, $valid_dn, $dict_key_with_empty_key));
64 var_dump(ldap_add($ldap, $valid_dn, $dict_key_with_nul_bytes));
77 var_dump(ldap_add($ldap, $valid_dn, $dict_key_value_not_string));
87 var_dump(ldap_add($ldap, $valid_dn, $dict_key_multi_value_empty_list));
101 var_dump(ldap_add($ldap, $valid_dn, $dict_key_multi_value_not_list));
114 var_dump(ldap_add($ldap, $valid_dn, $dict_key_multi_value_not_list_of_strings));
[all …]
H A Dldap_modify_batch_modifications_with_references.phpt4 ldap
9 $ldap = ldap_connect('ldap://127.0.0.1:3333');
17 var_dump(ldap_modify_batch($ldap, $valid_dn, $modification_reference));
31 var_dump(ldap_modify_batch($ldap, $valid_dn, $modification_attrib_reference_string));
45 var_dump(ldap_modify_batch($ldap, $valid_dn, $modification_modtype_reference_int));
60 var_dump(ldap_modify_batch($ldap, $valid_dn, $modification_values_reference_array));
H A Dgh16032-2.phpt4 ldap
9 $ldap = ldap_connect('ldap://127.0.0.1:3333');
19 var_dump(ldap_modify_batch($ldap, $valid_dn, $modification_missing_modtype_key));
H A Dgh16032-1.phpt4 ldap
9 $ldap = ldap_connect('ldap://127.0.0.1:3333');
19 var_dump(ldap_modify_batch($ldap, $valid_dn, $modification_missing_attrib_key));
H A Dldap_list_read_search_parallel_references.phpt4 ldap
10 $ldap = ldap_connect('ldap://127.0.0.1:3333');
14 $ldaps = [&$ldap, $ldap];
H A Dgh16132-1.phpt4 ldap
10 $ldap = ldap_connect('ldap://127.0.0.1:3333');
21 var_dump(ldap_add($ldap, $valid_dn, $dict_key_value_not_string));
H A Dgh16132-2.phpt4 ldap
10 $ldap = ldap_connect('ldap://127.0.0.1:3333');
21 var_dump(ldap_add($ldap, $valid_dn, $dict_key_multi_value_not_list_of_strings2));
H A Dgh16136.phpt4 ldap
10 $ldap = ldap_connect('ldap://127.0.0.1:3333');
22 var_dump(ldap_add($ldap, $valid_dn, $not_dict_of_attributes));
H A Dldap_add_modify_delete_references_programming_errors.phpt4 ldap
10 $ldap = ldap_connect('ldap://127.0.0.1:3333');
31 var_dump(ldap_add($ldap, $valid_dn, $dict_key_value_not_string));
42 var_dump(ldap_add($ldap, $valid_dn, $dict_key_multi_value_empty_list));
56 var_dump(ldap_add($ldap, $valid_dn, $dict_key_multi_value_not_list_of_strings));
70 var_dump(ldap_add($ldap, $valid_dn, $dict_key_multi_value_not_list_of_strings2));
H A Dldap_connect_error.phpt7 ldap.max_links=1
9 ldap
15 var_dump(ldap_connect("ldap://$host:$port/$base"));
H A Dldap_list_read_search_parallel_programming_errors.phpt4 ldap
10 $ldap = ldap_connect('ldap://127.0.0.1:3333');
14 $ldaps = [$ldap, $ldap];
18 $ldap,
103 ValueError: ldap_list(): Argument #1 ($ldap) must be a list of LDAP\Connection
H A Dldap_connect_variation.phpt7 ldap
21 $link = ldap_connect("ldap://$host:$port");
25 $link = ldap_connect("ldap://$host");
H A Dldap_set_option_reqcert_error.phpt2 ldap_option_reqcert_basic() - Error test for TLS require cert ldap option
6 ldap

Completed in 28 milliseconds

123456