Samba "bad lockout attempt" not work

Issues related to applications and software problems
Post Reply
Posts: 33
Joined: 2011/03/07 20:56:32

Samba "bad lockout attempt" not work

Post by craigliu » 2018/02/15 22:31:16

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
NT username:
Account Flags:
User SID: S-1-5-21-1617455577-3541871373-1382943081-2400
Primary Group SID: S-1-5-21-1617455577-3541871373-1382943081-513
Full Name:
Home Directory: \\test\user
HomeDir Drive: H:
Logon Script: user.bat
Profile Path:
Account desc:
Munged dial:
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
# 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

Post Reply