1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-16 20:59:12 +03:00

s4:samdb/tools - That should fix now the last failures

This commit is contained in:
Matthias Dieter Wallnöfer
2009-09-21 13:53:47 +02:00
parent 32f4afd617
commit 7373bb79d4
3 changed files with 5 additions and 3 deletions

View File

@ -202,8 +202,8 @@ userPassword:: %s
self.transaction_start()
try:
res = self.search(base=self.domain_dn(), scope=ldb.SCOPE_SUBTREE,
expression=filter,
attrs=["userAccountControl", "accountExpires"])
expression=filter,
attrs=["userAccountControl", "accountExpires"])
assert(len(res) == 1)
user_dn = res[0].dn