Home
last modified time | relevance | path

Searched refs:cn (Results 1 – 25 of 44) sorted by relevance

12

/PHP-7.2/ext/ldap/tests/
H A Dldap_rename_basic.phpt16 ldap_rename($link, "cn=userA,$base", "cn=userZ", "$base", true)
18 $result = ldap_search($link, "$base", "(cn=userA)", array("cn", "sn"));
19 $result = ldap_search($link, "$base", "(cn=userZ)", array("cn", "sn"));
28 ldap_rename($link, "cn=userZ,$base", "cn=userA", "$base", true);
47 ["cn"]=>
55 string(2) "cn"
59 string(%d) "cn=userZ,%s"
H A Dldap_control_paged_results_variation3.phpt18 $filter = "(cn=user*)";
22 $result = ldap_search($link, $dn, $filter, array('cn')),
46 ["cn"]=>
54 string(2) "cn"
58 string(%d) "cn=userA,%s"
62 ["cn"]=>
70 string(2) "cn"
74 string(%d) "cn=userB,%s"
85 ["cn"]=>
93 string(2) "cn"
[all …]
H A Dldap_sort_basic.phpt15 ldap_add($link, "cn=userC,$base", array(
17 "cn" => "userC",
24 "cn" => "userD",
31 "cn" => "userE",
48 ldap_delete($link, "cn=userC,$base");
82 string(%d) "cn=userE,%s"
107 string(%d) "cn=userD,%s"
132 string(%d) "cn=userA,%s"
157 string(%d) "cn=userB,%s"
173 string(%d) "cn=userC,cn=userB,%s"
[all …]
H A Dldap_sort_variation.phpt15 ldap_add($link, "cn=userC,$base", array(
17 "cn" => "userC",
24 "cn" => "userD",
31 "cn" => "userE",
48 ldap_delete($link, "cn=userC,$base");
73 string(%d) "cn=userC,cn=userB,%s"
98 string(%d) "cn=userC,%s"
123 string(%d) "cn=userD,%s"
148 string(%d) "cn=userA,%s"
173 string(%d) "cn=userB,%s"
[all …]
H A Dldap_next_reference_basic.phpt14 ldap_add($link, "cn=userref,$base", array(
16 "cn" => "userref",
17 "ref" => "cn=userA,$base",
19 ldap_add($link, "cn=userref2,$base", array(
21 "cn" => "userref2",
22 "ref" => "cn=userB,$base",
25 $result = ldap_search($link, "$base", "(cn=*)");
39 ldap_delete($link, "cn=userref,$base");
40 ldap_delete($link, "cn=userref2,$base");
47 string(%d) "cn=userB,%s"
H A Dconnect.inc4 Default values are "localhost", "cn=Manager,dc=my-domain,dc=com", and password "secret".
11 $user = getenv("LDAP_TEST_USER") ? getenv("LDAP_TEST_USER") : "cn=Manager,$base";
51 ldap_add($link, "cn=userA,$base", array(
53 "cn" => "userA",
59 ldap_add($link, "cn=userB,$base", array(
61 "cn" => "userB",
66 ldap_add($link, "cn=userC,cn=userB,$base", array(
68 "cn" => "userC",
75 ldap_delete($link, "cn=userC,cn=userB,$base");
76 ldap_delete($link, "cn=userA,$base");
[all …]
H A Dldap_control_paged_results_variation2.phpt18 $filter = "(cn=user*)";
21 $result = ldap_search($link, $dn, $filter, array('cn')),
41 ["cn"]=>
49 string(2) "cn"
53 string(%d) "cn=userA,%s"
57 ["cn"]=>
65 string(2) "cn"
69 string(%d) "cn=userB,%s"
H A Dldap_parse_result_basic.phpt15 ldap_add($link, "cn=userref,$base", array(
17 "cn" => "userref",
18 "ref" => "cn=userA,$base",
20 $result = ldap_search($link, "cn=userref,$base", "(cn=user*)");
35 ldap_delete($link, "cn=userref,$base");
41 string(%d) "cn=userref,%s"
45 string(%d) "cn=userA,%s"
H A Dldap_explode_dn.phpt9 var_dump(ldap_explode_dn("cn=bob,dc=example,dc=com", 0));
12 var_dump(ldap_explode_dn("cn=bob,ou=users,dc=example,dc=com", 0));
15 var_dump(ldap_explode_dn("cn=bob,dc=example,dc=com", 1));
18 var_dump(ldap_explode_dn("cn=bob,ou=users,dc=example,dc=com", 1));
21 var_dump(ldap_explode_dn("cn=<bob>,dc=example,dc=com", 0));
24 var_dump(ldap_explode_dn("cn=<bob>,dc=example,dc=com", 1));
27 ldap_explode_dn("cn=bob,dc=example,dc=com");
30 ldap_explode_dn("cn=bob,dc=example,dc=com", 1, 1);
46 string(6) "cn=bob"
56 string(6) "cn=bob"
H A Dldap_search_basic.phpt48 ["cn"]=>
56 string(2) "cn"
96 string(%d) "cn=userA,%s"
109 ["cn"]=>
117 string(2) "cn"
148 string(%d) "cn=userB,%s"
161 ["cn"]=>
169 string(2) "cn"
191 string(%d) "cn=userC,cn=userB,%s"
H A Dldap_parse_reference_basic.phpt14 ldap_add($link, "cn=userref,$base", array(
16 "cn" => "userref",
17 "ref" => "cn=userA,$base",
20 $result = ldap_search($link, "$base", "(cn=*)");
36 ldap_delete($link, "cn=userref,$base");
43 string(%d) "cn=userA,%s"
H A Dldap_first_reference_basic.phpt14 ldap_add($link, "cn=userref,$base", array(
16 "cn" => "userref",
17 "ref" => "cn=userA,$base",
20 $result = ldap_search($link, "$base", "(cn=*)");
34 ldap_delete($link, "cn=userref,$base");
41 string(%d) "cn=userA,%s"
H A Dldap_search_overrides.phpt61 ["cn"]=>
69 string(2) "cn"
109 string(%d) "cn=userA,%s"
122 ["cn"]=>
130 string(2) "cn"
161 string(%d) "cn=userB,%s"
174 ["cn"]=>
182 string(2) "cn"
204 string(%d) "cn=userC,cn=userB,%s"
H A Dbug48441.phpt60 string(%d) "cn=userA,%s"
76 string(%d) "cn=userB,%s"
92 string(%d) "cn=userC,cn=userB,%s"
113 string(%d) "cn=userA,%s"
134 string(%d) "cn=userA,%s"
150 string(%d) "cn=userB,%s"
166 string(%d) "cn=userC,cn=userB,%s"
H A Dldap_control_paged_results_variation1.phpt18 $filter = "(cn=user*)";
21 $result = ldap_search($link, $dn, $filter, array('cn')),
41 ["cn"]=>
49 string(2) "cn"
53 string(%d) "cn=userA,%s"
H A Dldap_search_variation6.phpt67 ["cn"]=>
75 string(2) "cn"
115 string(%d) "cn=userA,%s"
128 ["cn"]=>
136 string(2) "cn"
167 string(%d) "cn=userB,%s"
180 ["cn"]=>
188 string(2) "cn"
210 string(%d) "cn=userC,cn=userB,%s"
H A Dldap_exop_passwd.phpt19 $genpw = ldap_exop_passwd($link, "cn=userA,$base", "oops", ""),
20 $genpw = ldap_exop_passwd($link, "cn=userA,$base"),
21 test_bind($host, $port, "cn=userA,$base", $genpw, $protocol_version),
22 ldap_exop_passwd($link, "cn=userA,$base", $genpw, "newPassword"),
23 test_bind($host, $port, "cn=userA,$base", "newPassword", $protocol_version)
H A Dldap_dn2ufn.phpt9 var_dump(ldap_dn2ufn("cn=bob,dc=example,dc=com"));
12 var_dump(ldap_dn2ufn("cn=bob,ou=users,dc=example,dc=com"));
15 var_dump(ldap_dn2ufn("cn=<bob>,dc=example,dc=com"));
18 ldap_dn2ufn("cn=bob,dc=example,dc=com", 1);
H A Dldap_list_basic.phpt47 ["cn"]=>
55 string(2) "cn"
95 string(%d) "cn=userA,%s"
108 ["cn"]=>
116 string(2) "cn"
147 string(%d) "cn=userB,%s"
H A Dldap_search_variation3.phpt56 string(%d) "cn=userA,%s"
70 string(%d) "cn=userB,%s"
84 string(%d) "cn=userC,cn=userB,%s"
105 string(%d) "cn=userA,%s"
H A Dldap_search_variation2.phpt49 string(%d) "cn=userA,%s"
63 string(%d) "cn=userB,%s"
77 string(%d) "cn=userC,cn=userB,%s"
H A Dldap_modify_batch_basic.phpt36 ldap_modify_batch($link, "cn=userA,$base", $mods),
65 ["cn"]=>
73 string(2) "cn"
106 string(%d) "cn=userA,%s"
H A Dldap_rename_error.phpt14 var_dump(ldap_rename($link, "cn=userNotFound,$base", "cn=userZ", "$base", true));
H A Dldap_compare_basic.phpt16 ldap_compare($link, "cn=userA,$base", "sn", "testSN1"),
17 ldap_compare($link, "cn=userA,$base", "telephoneNumber", "yy-yy-yy-yy-yy")
H A Dbug76248.phpt22 $b = ldap_bind($ds, "cn=root,dc=example,dc=com", "secret");
24 $s = ldap_search($ds, "dc=example,dc=com", "(cn=root)");

Completed in 24 milliseconds

12