The Samba-Bugzilla – Bug 12691
Account lockout threshold not working correctly
Last modified: 2017-03-15 16:15:03 UTC
I have detected that with samba 4.4.5 Account lockout threshold (attempts) is not working correctly.
If you configure Account lockout threshold (attempts): 5, and then you try to login with incorrect password, It seems that badPwdCount is not correct, this attribute increase with every incorrect password 2, from 0, 2 ,4 and 5 and then account is locked at third attempt and not 5.
then If you configure 10, account is locked at 5 attempt (0, 2, 4, 6, 8, 10)
Samba used is 4.4.5 and compiled from sources
Anybody can help?