/PHP-8.2/ext/ldap/ |
H A D | ldap.stub.php | 618 function ldap_unbind(LDAP\Connection $ldap): bool {} 621 function ldap_close(LDAP\Connection $ldap): bool {} 642 function ldap_count_entries(LDAP\Connection $ldap, LDAP\Result $result): int {} 652 function ldap_get_entries(LDAP\Connection $ldap, LDAP\Result $result): array|false {} 712 function ldap_errno(LDAP\Connection $ldap): int {} 714 function ldap_error(LDAP\Connection $ldap): string {} 729 function ldap_set_option(?LDAP\Connection $ldap, int $option, $value): bool {} 731 function ldap_count_references(LDAP\Connection $ldap, LDAP\Result $result): int {} 755 function ldap_set_rebind_proc(LDAP\Connection $ldap, ?callable $callback): bool {} 759 function ldap_start_tls(LDAP\Connection $ldap): bool {} [all …]
|
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.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) > 0 && 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"); 29 WARNING("ldap not enabled; libraries and headers not found");
|
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 27 if test -f $OCISDKRPMINC/ldap.h; then 32 elif test -f $1/sdk/include/ldap.h; then 40 PHP_ARG_WITH([ldap], 42 [AS_HELP_STRING([[--with-ldap[=DIR]]], 45 PHP_ARG_WITH([ldap-sasl], 47 [AS_HELP_STRING([--with-ldap-sasl], 54 PHP_NEW_EXTENSION(ldap, ldap.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) [all …]
|
H A D | ldap_arginfo.h | 22 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0) 28 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0) 34 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0) 42 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0) 54 ZEND_ARG_INFO(0, ldap) 74 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0) 79 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0) 84 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0) 89 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0) 94 ZEND_ARG_OBJ_INFO(0, ldap, LDAP\\Connection, 0) [all …]
|
/PHP-8.2/.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 62 olcTLSCACertificateFile: /etc/ldap/ssl/server.crt 65 olcTLSCertificateFile: /etc/ldap/ssl/server.crt 68 olcTLSCertificateKeyFile: /etc/ldap/ssl/server.key [all …]
|
/PHP-8.2/ext/ldap/tests/ |
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('127.0.0.1', 3333); 10 ldap_mod_replace($ldap, '', array( 14 ldap_modify_batch($ldap, '', array( [ 21 ldap_close($ldap);
|
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 | 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 | 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_connect_error.phpt | 7 ldap.max_links=1 9 ldap 15 var_dump(ldap_connect("ldap://$host:$port/$base"));
|
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
|
H A D | ldap_set_option_crlcheck_error.phpt | 2 ldap_set_option() - Error test for TLS CRL check ldap option 6 ldap
|
H A D | ldap_set_option_ciphersuite_basic.phpt | 2 ldap_set_option() - Basic test for TLS cipher suite ldap option 6 ldap
|
H A D | ldap_connect_ldap_conf.phpt | 2 ldap_connect() - Connection using default host from openldap's ldap.conf 6 ldap
|
H A D | ldap_search_error.phpt | 7 ldap 62 ldap_search(): Argument #1 ($ldap) cannot be empty 65 ldap_search(): Argument #2 ($base) must be of type string when argument #1 ($ldap) is an LDAP insta… 66 ldap_search(): Argument #3 ($filter) must be of type string when argument #1 ($ldap) is an LDAP ins…
|
H A D | ldap_set_option_keepalive_basic.phpt | 2 ldap_set_option() - Basic test for TCP keepalive ldap options 6 ldap
|
H A D | ldap_get_option_package_basic.phpt | 2 ldap_get_option() - Basic test for getting the TLS package ldap option 6 ldap
|
H A D | ldap_option_reqcert_error.phpt | 2 ldap_option_reqcert_error() - A test to check if ldap can't connect to a LDAP server with a invalid… 6 ldap
|
H A D | ldap_set_option_reqcert_basic.phpt | 2 ldap_option_reqcert_basic() - Error test for TLS require cert ldap option 4 ldap
|
H A D | ldap_set_option_tls_protocol_min_basic.phpt | 2 ldap_set_option() - Basic test for TLS protocol min ldap option 6 ldap
|