diff options
author | Jim McDonough <jmcd@samba.org> | 2004-02-20 15:59:05 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2004-02-20 15:59:05 +0000 |
commit | 4a7d90424fa75709a56f3810e6cf2bde1dc781f0 (patch) | |
tree | 9ee006bcb098a5633a32ee586447730930fadd5a | |
parent | 8adb394ee67a8ae69442b80aa5ad7df46368d8fa (diff) | |
download | samba-4a7d90424fa75709a56f3810e6cf2bde1dc781f0.tar.gz samba-4a7d90424fa75709a56f3810e6cf2bde1dc781f0.tar.bz2 samba-4a7d90424fa75709a56f3810e6cf2bde1dc781f0.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 7ff42fffb2b207aea1dba306c914c7e09994d608)
-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 */ } |