pytest/password_lockout: Use correct variable
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 16 May 2023 00:21:02 +0000 (12:21 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 16 May 2023 23:29:32 +0000 (23:29 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/tests/python/password_lockout_base.py

index 09ee1a9e52dfca62760742cb9b3bac4f0c3052d2..0309a87a973e52f6a2d4b609deaf17ccf1f17bbf 100644 (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 + """