Lines Matching refs:base
10 $base = getenv("LDAP_TEST_BASE") ? getenv("LDAP_TEST_BASE") : "dc=my-domain,dc=com";
11 $user = getenv("LDAP_TEST_USER") ? getenv("LDAP_TEST_USER") : "cn=Manager,$base";
30 function insert_dummy_data($link, $base) {
32 $testBase = ldap_read($link, $base, '(objectClass=*)', array('objectClass'));
35 $link, "$base", array(
45 ldap_add($link, "o=test,$base", array(
51 ldap_add($link, "cn=userA,$base", array(
59 ldap_add($link, "cn=userB,$base", array(
66 ldap_add($link, "cn=userC,cn=userB,$base", array(
72 ldap_add($link, "o=test2,$base", array(
81 function remove_dummy_data($link, $base) {
82 ldap_delete($link, "cn=userC,cn=userB,$base");
83 ldap_delete($link, "cn=userA,$base");
84 ldap_delete($link, "cn=userB,$base");
85 ldap_delete($link, "o=test,$base");
86 ldap_delete($link, "o=test2,$base");