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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user