/php-src/ext/ldap/ |
H A D | ldap.stub.php | 635 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 D | config.w32 | 3 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 D | php_ldap.h | 35 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 D | config.m4 | 2 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 D | ldap_arginfo.h | 31 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 D | setup-slapd.sh | 5 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 D | gh16389.phpt | 2 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 D | gh16101.phpt | 4 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 D | bug73933.phpt | 4 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 D | ldap_list_read_search_programming_errors.phpt | 4 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 D | ldap_get_set_invalid_option_error.phpt | 4 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 D | ldap_modify_batch_programming_error.phpt | 4 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 D | ldap_add_modify_delete_programming_errors.phpt | 4 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 D | ldap_modify_batch_modifications_with_references.phpt | 4 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 D | gh16032-2.phpt | 4 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 D | gh16032-1.phpt | 4 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 D | ldap_list_read_search_parallel_references.phpt | 4 ldap 10 $ldap = ldap_connect('ldap://127.0.0.1:3333'); 14 $ldaps = [&$ldap, $ldap];
|
H A D | gh16132-1.phpt | 4 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 D | gh16132-2.phpt | 4 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 D | gh16136.phpt | 4 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 D | ldap_add_modify_delete_references_programming_errors.phpt | 4 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 D | ldap_connect_error.phpt | 7 ldap.max_links=1 9 ldap 15 var_dump(ldap_connect("ldap://$host:$port/$base"));
|
H A D | ldap_list_read_search_parallel_programming_errors.phpt | 4 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 D | ldap_connect_variation.phpt | 7 ldap 21 $link = ldap_connect("ldap://$host:$port"); 25 $link = ldap_connect("ldap://$host");
|
H A D | ldap_set_option_reqcert_error.phpt | 2 ldap_option_reqcert_basic() - Error test for TLS require cert ldap option 6 ldap
|