Lines Matching refs:base
10 $base = getenv("LDAP_TEST_BASE") ?: "dc=my-domain,dc=com";
11 $user = getenv("LDAP_TEST_USER") ?: "cn=Manager,$base";
31 function insert_dummy_data($link, $base) {
33 $testBase = ldap_read($link, $base, '(objectClass=*)', array('objectClass'));
36 $link, "$base", array(
46 ldap_add($link, "o=test,$base", array(
52 ldap_add($link, "cn=userA,$base", array(
60 ldap_add($link, "cn=userB,$base", array(
67 ldap_add($link, "cn=userC,cn=userB,$base", array(
73 ldap_add($link, "o=test2,$base", array(
82 function remove_dummy_data($link, $base) {
83 ldap_delete($link, "cn=userC,cn=userB,$base");
84 ldap_delete($link, "cn=userA,$base");
85 ldap_delete($link, "cn=userB,$base");
86 ldap_delete($link, "o=test,$base");
87 ldap_delete($link, "o=test2,$base");