mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
pytest/password_lockout: Use correct variable
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
b5ff085952
commit
2b598a4b2e
@ -332,7 +332,7 @@ userPassword: """ + userpass + """
|
|||||||
if "lockoutThreshold" in res[0]:
|
if "lockoutThreshold" in res[0]:
|
||||||
lockoutThreshold = res[0]["lockoutThreshold"][0]
|
lockoutThreshold = res[0]["lockoutThreshold"][0]
|
||||||
else:
|
else:
|
||||||
lockoutTreshold = 0
|
lockoutThreshold = 0
|
||||||
|
|
||||||
self.addCleanup(self.ldb.modify_ldif, """
|
self.addCleanup(self.ldb.modify_ldif, """
|
||||||
dn: """ + base_dn + """
|
dn: """ + base_dn + """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user