mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r8745: make ldap.js cleanup after itself
(This used to be commit 3a1c6a176e
)
This commit is contained in:
parent
82f96542fa
commit
fc9ffba413
@ -30,7 +30,7 @@ function basic_tests(ldb, base_dn)
|
||||
|
||||
ldb.del("cn=ldaptestuser,cn=users," + base_dn);
|
||||
|
||||
ok = ldb.add("
|
||||
var ok = ldb.add("
|
||||
dn: cn=ldaptestuser,cn=users," + base_dn + "
|
||||
objectClass: user
|
||||
objectClass: person
|
||||
@ -47,6 +47,8 @@ cn: LDAPtestUSER
|
||||
assert(res[0].objectGUID != undefined);
|
||||
assert(res[0].whenCreated != undefined);
|
||||
|
||||
ok = ldb.del(res[0].dn);
|
||||
assert(ok);
|
||||
}
|
||||
|
||||
function find_basedn(ldb)
|
||||
|
Loading…
Reference in New Issue
Block a user