1
0
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:
Joseph Sutton 2023-05-16 12:21:02 +12:00 committed by Andrew Bartlett
parent b5ff085952
commit 2b598a4b2e

View File

@ -332,7 +332,7 @@ userPassword: """ + userpass + """
if "lockoutThreshold" in res[0]:
lockoutThreshold = res[0]["lockoutThreshold"][0]
else:
lockoutTreshold = 0
lockoutThreshold = 0
self.addCleanup(self.ldb.modify_ldif, """
dn: """ + base_dn + """