1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

kdc: Set flags.locked_out on a locked-out user.

This only changes the log output, the same error is still returned

Change-Id: Id3c13e9373140c276783e5bd288f29de2bf4a45d
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andrew Bartlett 2013-10-29 12:31:46 +13:00 committed by Stefan Metzmacher
parent d202191f9c
commit 10cbd5e430

View File

@ -132,7 +132,7 @@ static HDBFlags uf2HDBFlags(krb5_context context, uint32_t userAccountControl, e
flags.client = 0;
}
if (userAccountControl & UF_LOCKOUT) {
flags.invalid = 1;
flags.locked_out = 1;
}
/*
if (userAccountControl & UF_PASSWORD_NOTREQD) {