I have tested the command
pdbedit -P "bad lockout attempt" -C 3
on 2 setups of Samba 3.0.4. One is with a LDAP backend and the other is
using the default tdb backend.

However, regardless of how many failed logins from the domain user
account, the account is still not locked out.

Does any one know what can be the causes?