diff options
author | Jim McDonough <jmcd@samba.org> | 2004-02-20 15:59:10 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2004-02-20 15:59:10 +0000 |
commit | 7f18e0d5bad573983476e542c8a339970625578f (patch) | |
tree | b0d449cbd14d309b45ed164479bad94f905ae47f | |
parent | db1e6c1bdb56fecd43d47324e32830e355641eae (diff) | |
download | samba-7f18e0d5bad573983476e542c8a339970625578f.tar.gz samba-7f18e0d5bad573983476e542c8a339970625578f.tar.bz2 samba-7f18e0d5bad573983476e542c8a339970625578f.zip |
Make default lockout duration and
reset count time 30 minutes, to match windows, and also be valid (0 was invalid)
(This used to be commit 69924079b2f7098254c2053781121d4324626dee)
-rw-r--r-- | source3/lib/account_pol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/account_pol.c b/source3/lib/account_pol.c index dc131985a1..c2c63493a6 100644 --- a/source3/lib/account_pol.c +++ b/source3/lib/account_pol.c @@ -55,8 +55,8 @@ BOOL init_account_policy(void) account_policy_set(AP_USER_MUST_LOGON_TO_CHG_PASS, 0); /* don't force user to logon */ account_policy_set(AP_MAX_PASSWORD_AGE, (uint32)-1); /* don't expire */ account_policy_set(AP_MIN_PASSWORD_AGE, 0); /* 0 days */ - account_policy_set(AP_LOCK_ACCOUNT_DURATION, 0); /* lockout for 0 minutes */ - account_policy_set(AP_RESET_COUNT_TIME, 0); /* reset immediatly */ + account_policy_set(AP_LOCK_ACCOUNT_DURATION, 30); /* lockout for 30 minutes */ + account_policy_set(AP_RESET_COUNT_TIME, 30); /* reset after 30 minutes */ account_policy_set(AP_BAD_ATTEMPT_LOCKOUT, 0); /* don't lockout */ account_policy_set(AP_TIME_TO_LOGOUT, -1); /* don't force logout */ } |