We use Samba 4.6.2 in centos 7. We can not make "bad lockout attempt" work. We have set it as 3. But no matter how many times we failed, we can always login.
Do we miss other settings? Please help.
# pdbedit -Lv user
Unix username: user
User SID: S-1-5-21-1617455577-3541871373-1382943081-2400
Primary Group SID: S-1-5-21-1617455577-3541871373-1382943081-513
Home Directory: \\test\user
HomeDir Drive: H:
Logon Script: user.bat
Logon time: 0
Logoff time: never
Kickoff time: never
Password last set: Thu, 15 Feb 2018 13:11:16 MST
Password can change: Thu, 15 Feb 2018 13:11:16 MST
Password must change: never
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
# pdbedit -P "bad lockout attempt"
account policy "bad lockout attempt" description: Lockout users after bad logon attempts (default: 0 => off)
account policy "bad lockout attempt" value is: 3
Issues related to applications and software problems
1 post • Page 1 of 1