/PHP-7.2/ext/ldap/tests/ |
H A D | ldap_rename_basic.phpt | 16 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 D | ldap_control_paged_results_variation3.phpt | 18 $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 D | ldap_sort_basic.phpt | 15 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 D | ldap_sort_variation.phpt | 15 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 D | ldap_next_reference_basic.phpt | 14 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 D | connect.inc | 4 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 D | ldap_control_paged_results_variation2.phpt | 18 $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 D | ldap_parse_result_basic.phpt | 15 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 D | ldap_explode_dn.phpt | 9 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 D | ldap_search_basic.phpt | 48 ["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 D | ldap_parse_reference_basic.phpt | 14 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 D | ldap_first_reference_basic.phpt | 14 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 D | ldap_search_overrides.phpt | 61 ["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 D | bug48441.phpt | 60 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 D | ldap_control_paged_results_variation1.phpt | 18 $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 D | ldap_search_variation6.phpt | 67 ["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 D | ldap_exop_passwd.phpt | 19 $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 D | ldap_dn2ufn.phpt | 9 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 D | ldap_list_basic.phpt | 47 ["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 D | ldap_search_variation3.phpt | 56 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 D | ldap_search_variation2.phpt | 49 string(%d) "cn=userA,%s" 63 string(%d) "cn=userB,%s" 77 string(%d) "cn=userC,cn=userB,%s"
|
H A D | ldap_modify_batch_basic.phpt | 36 ldap_modify_batch($link, "cn=userA,$base", $mods), 65 ["cn"]=> 73 string(2) "cn" 106 string(%d) "cn=userA,%s"
|
H A D | ldap_rename_error.phpt | 14 var_dump(ldap_rename($link, "cn=userNotFound,$base", "cn=userZ", "$base", true));
|
H A D | ldap_compare_basic.phpt | 16 ldap_compare($link, "cn=userA,$base", "sn", "testSN1"), 17 ldap_compare($link, "cn=userA,$base", "telephoneNumber", "yy-yy-yy-yy-yy")
|
H A D | bug76248.phpt | 22 $b = ldap_bind($ds, "cn=root,dc=example,dc=com", "secret"); 24 $s = ldap_search($ds, "dc=example,dc=com", "(cn=root)");
|