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(
74 function remove_dummy_data($link, $base) {
75 ldap_delete($link, "cn=userC,cn=userB,$base");
76 ldap_delete($link, "cn=userA,$base");
77 ldap_delete($link, "cn=userB,$base");
78 ldap_delete($link, "o=test,$base");