Lines Matching refs:base
11 $base = getenv("LDAP_TEST_BASE") ?: "dc=my-domain,dc=com";
12 $user = getenv("LDAP_TEST_USER") ?: "cn=Manager,$base";
32 function insert_dummy_data($link, $base) {
34 $testBase = ldap_read($link, $base, '(objectClass=*)', array('objectClass'));
37 $link, "$base", array(
47 ldap_add($link, "o=test,$base", array(
53 ldap_add($link, "cn=userA,$base", array(
61 ldap_add($link, "cn=userB,$base", array(
68 ldap_add($link, "cn=userC,cn=userB,$base", array(
74 ldap_add($link, "o=test2,$base", array(
83 function remove_dummy_data($link, $base) {
84 ldap_delete($link, "cn=userC,cn=userB,$base");
85 ldap_delete($link, "cn=userA,$base");
86 ldap_delete($link, "cn=userB,$base");
87 ldap_delete($link, "o=test,$base");
88 ldap_delete($link, "o=test2,$base");