Home
last modified time | relevance | path

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

123456

/PHP-8.4/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-8.4/.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-8.4/ext/ldap/tests/
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 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 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 Dgh17280.phpt4 ldap
9 $ldap = ldap_connect('ldap://127.0.0.1:3333');
13 var_dump(ldap_search($ldap, 'ou=people,dc=example,dc=com', 'uid=admin', $attr));
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_connect_error.phpt7 ldap.max_links=1
9 ldap
15 var_dump(ldap_connect("ldap://$host:$port/$base"));
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
H A Dldap_set_option_crlcheck_error.phpt2 ldap_set_option() - Error test for TLS CRL check ldap option
6 ldap
H A Dldap_set_option_ciphersuite_basic.phpt2 ldap_set_option() - Basic test for TLS cipher suite ldap option
6 ldap
H A Dldap_connect_ldap_conf.phpt2 ldap_connect() - Connection using default host from openldap's ldap.conf
6 ldap
H A Dldap_get_option_package_basic.phpt2 ldap_get_option() - Basic test for getting the TLS package ldap option
6 ldap
H A Dldap_set_option_keepalive_basic.phpt2 ldap_set_option() - Basic test for TCP keepalive ldap options
6 ldap
H A Dldap_option_reqcert_error.phpt2 ldap_option_reqcert_error() - A test to check if ldap can't connect to a LDAP server with a invalid…
6 ldap
H A Dldap_set_option_reqcert_basic.phpt2 ldap_option_reqcert_basic() - Error test for TLS require cert ldap option
4 ldap
H A Dldap_search_error.phpt7 ldap
62 ldap_search(): Argument #1 ($ldap) must not 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…

Completed in 40 milliseconds

123456