Bug 12691 - Account lockout threshold not working correctly
Account lockout threshold not working correctly
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.4.5
x64 Linux
: P5 major
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-15 14:45 UTC by trenta
Modified: 2017-03-15 16:15 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trenta 2017-03-15 14:45:42 UTC
Hi,

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?

Thanks