mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
r16110: Start some simple rootDSE LDAP tests in ejs.
Andrew Bartlett (This used to be commit 0201f0df3f3768f0d831c84c573b27bff58d00c6)
This commit is contained in:
parent
4a350fd18f
commit
2f16057bf4
@ -309,6 +309,13 @@ objectClass: user
|
||||
assert(res[0].cn == "ldaptestutf8user2 èùéìòà");
|
||||
}
|
||||
|
||||
println("Testing for highestCommittedUSN");
|
||||
var attrs = new Array("highestCommittedUSN");
|
||||
var res = ldb.search("", "", ldb.SCOPE_BASE, attrs);
|
||||
assert(res.length == 1);
|
||||
assert(res[0].highestCommittedUSN != undefined);
|
||||
assert(res[0].highestCommittedUSN != 0);
|
||||
|
||||
}
|
||||
|
||||
function find_basedn(ldb)
|
||||
|
Loading…
x
Reference in New Issue
Block a user