mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
selftest: Increase account lockout windows to make test more realiable
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14868 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
a169e013e6
commit
6292f0597f
@ -288,14 +288,14 @@ class RodcRwdcCachedTests(password_lockout_base.BasePasswordTestCase):
|
||||
m = ldb.Message()
|
||||
m.dn = ldb.Dn(self.ldb, self.base_dn)
|
||||
|
||||
self.account_lockout_duration = 10
|
||||
self.account_lockout_duration = 15
|
||||
account_lockout_duration_ticks = -int(self.account_lockout_duration * (1e7))
|
||||
|
||||
m["lockoutDuration"] = ldb.MessageElement(str(account_lockout_duration_ticks),
|
||||
ldb.FLAG_MOD_REPLACE,
|
||||
"lockoutDuration")
|
||||
|
||||
self.lockout_observation_window = 10
|
||||
self.lockout_observation_window = 15
|
||||
lockout_observation_window_ticks = -int(self.lockout_observation_window * (1e7))
|
||||
|
||||
m["lockOutObservationWindow"] = ldb.MessageElement(str(lockout_observation_window_ticks),
|
||||
|
Loading…
Reference in New Issue
Block a user