Home
last modified time | relevance | path

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

123

/PHP-8.0/ext/ldap/
H A Dldap.stub.php13 /** @param resource $ldap */
17 * @param resource $ldap
22 /** @param resource $ldap */
26 * @param resource $ldap
59 * @param resource $ldap
65 * @param resource $ldap
72 * @param resource $ldap
79 * @param resource $ldap
85 * @param resource $ldap
91 * @param resource $ldap
[all …]
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.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) > 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 Dldap_arginfo.h22 ZEND_ARG_INFO(0, ldap)
28 ZEND_ARG_INFO(0, ldap)
34 ZEND_ARG_INFO(0, ldap)
42 ZEND_ARG_INFO(0, ldap)
54 ZEND_ARG_INFO(0, ldap)
72 ZEND_ARG_INFO(0, ldap)
77 ZEND_ARG_INFO(0, ldap)
82 ZEND_ARG_INFO(0, ldap)
87 ZEND_ARG_INFO(0, ldap)
92 ZEND_ARG_INFO(0, ldap)
[all …]
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
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 Dldap.c95 ZEND_GET_MODULE(ldap) in ZEND_GET_MODULE() argument
997 LDAP *ldap = NULL; in PHP_FUNCTION() local
1079 ld->link = ldap; in PHP_FUNCTION()
1816 LDAP *ldap; in PHP_FUNCTION() local
1835 ldap = ld->link; in PHP_FUNCTION()
3121 LDAP *ldap; in PHP_FUNCTION() local
3129 ldap = NULL; in PHP_FUNCTION()
3134 ldap = ld->link; in PHP_FUNCTION()
4163 PHP_MINIT(ldap),
4167 PHP_MINFO(ldap),
[all …]
/PHP-8.0/.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.0/ext/ldap/tests/
H A Dldap_connect_variation.phpt21 $link = ldap_connect("ldap://$host:$port");
25 $link = ldap_connect("ldap://$host");
33 resource(%d) of type (ldap link)
34 resource(%d) of type (ldap link)
35 resource(%d) of type (ldap link)
36 resource(%d) of type (ldap link)
37 resource(%d) of type (ldap link)
H A Dbug73933.phpt10 $ldap = ldap_connect('127.0.0.1', 3333);
12 ldap_mod_replace($ldap, null, array(
16 ldap_modify_batch($ldap, null, array( [
24 ldap_close($ldap);
H A Dskipif.inc2 if (!extension_loaded('ldap')){
3 die('skip ldap extension not available');
H A Dldap_bind_ext.phpt47 resource(%d) of type (ldap result)
53 resource(%d) of type (ldap result)
59 resource(%d) of type (ldap result)
65 resource(%d) of type (ldap result)
H A Dldap_read_variation1.phpt5 if (!extension_loaded('ldap')) die('skip ldap extension not available');
H A Dldap_search_variation6.phpt48 resource(%d) of type (ldap result)
50 resource(%d) of type (ldap result)
215 resource(%d) of type (ldap result)
217 resource(%d) of type (ldap result)
229 resource(%d) of type (ldap result)
231 resource(%d) of type (ldap result)
H A Dldap_connect_ldap_conf.phpt2 ldap_connect() - Connection using default host from openldap's ldap.conf
15 $conf=tempnam("/tmp","ldap.conf");
H A Dldap_connect_error.phpt7 ldap.max_links=1
15 var_dump(ldap_connect("ldap://$host:$port/$base"));
H A DCONFLICTS1 ldap
H A Dldap_search_variation5.phpt43 resource(%d) of type (ldap result)
64 resource(%d) of type (ldap result)
85 resource(%d) of type (ldap result)
H A Dldap_search_error.phpt61 ldap_search(): Argument #1 ($ldap) cannot be empty
64 ldap_search(): Argument #2 ($base) must be of type string when argument #1 ($ldap) is a resource
65 ldap_search(): Argument #3 ($filter) must be of type string when argument #1 ($ldap) is a resource
H A Dldap_controls.phpt68 resource(%d) of type (ldap result)
91 resource(%d) of type (ldap result)
113 resource(%d) of type (ldap result)
141 resource(%d) of type (ldap result)
152 resource(%d) of type (ldap result)
H A DREADME.md1 # 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 Dbug48441.phpt41 resource(%d) of type (ldap result)
96 resource(%d) of type (ldap result)
115 resource(%d) of type (ldap result)
H A Dldap_connect_basic.phpt16 resource(%d) of type (ldap link)
H A Dldap_set_option_crlcheck_error.phpt2 ldap_set_option() - Error test for TLS CRL check ldap option
H A Dldap_set_option_reqcert_error.phpt2 ldap_option_reqcert_basic() - Error test for TLS require cert ldap option
H A Dldap_search_paged_result_controls.phpt39 resource(%d) of type (ldap result)
77 resource(%d) of type (ldap result)

Completed in 32 milliseconds

123