/PHP-8.1/ext/ldap/ |
H A D | ldap.stub.php | 41 function ldap_unbind(LDAP\Connection $ldap): bool {} argument 44 function ldap_close(LDAP\Connection $ldap): bool {} argument 65 function ldap_count_entries(LDAP\Connection $ldap, LDAP\Result $result): int {} argument 75 function ldap_get_entries(LDAP\Connection $ldap, LDAP\Result $result): array|false {} argument 135 function ldap_errno(LDAP\Connection $ldap): int {} argument 137 function ldap_error(LDAP\Connection $ldap): string {} argument 152 function ldap_set_option(?LDAP\Connection $ldap, int $option, $value): bool {} argument 154 function ldap_count_references(LDAP\Connection $ldap, LDAP\Result $result): int {} argument 178 function ldap_set_rebind_proc(LDAP\Connection $ldap, ?callable $callback): bool {} argument 182 function ldap_start_tls(LDAP\Connection $ldap): bool {} argument [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 …]
|
H A D | ldap.c | 102 ZEND_GET_MODULE(ldap) in ZEND_GET_MODULE() argument 1127 LDAP *ldap = NULL; in PHP_FUNCTION() local 1209 ld->link = ldap; in PHP_FUNCTION() 1961 LDAP *ldap; in PHP_FUNCTION() local 1979 ldap = ld->link; in PHP_FUNCTION() 3252 LDAP *ldap; in PHP_FUNCTION() local 3260 ldap = NULL; in PHP_FUNCTION() 3264 ldap = ld->link; in PHP_FUNCTION() 4287 PHP_MINIT(ldap), 4291 PHP_MINFO(ldap), [all …]
|
/PHP-8.1/.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.1/ext/ldap/tests/ |
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 | 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
|
H A D | ldap_set_option_crlcheck_basic.phpt | 2 ldap_set_option() - Basic test for TLS CRL check ldap option 6 ldap
|
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 6 ldap
|
H A D | CONFLICTS | 1 ldap
|
H A D | README.md | 1 # The ldap extension tests 20 DEBIAN_FRONTEND=noninteractive aptitude install -q -y slapd ldap-utils 43 ou: extldap" | ldapadd -c -x -H ldap://localhost:389 -D "dc=admin,dc=nodomain" -w password 70 LDAP-Tests, run `make test TESTS=ext/ldap`. 121 #### (/etc/openldap/)ldap.conf 134 LDAP_TEST_BASE (default: dc=my-domain,dc=com) Base to use. May be the ldap root or a s…
|
H A D | ldap_escape_dn.phpt | 4 ldap
|