mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
16a7ce0cdf
We also move the authentication to after checking whether the user is protected, so that if a user in the Protected Users group tries to authenticate with a wrong password, the bag password count is not incremented and the account is not locked out. This does not match MS-APDS, but matches the behaviour of Windows. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>