From: Andrew Bartlett Date: Tue, 2 Apr 2024 22:52:28 +0000 (+1300) Subject: s4-auth: Update comment to mention 60mins in the NTLM grace period X-Git-Tag: tdb-1.4.11~422 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=737f2414062d694e54f60f0c6ef94b6ab4f33d19;p=thirdparty%2Fsamba.git s4-auth: Update comment to mention 60mins in the NTLM grace period Signed-off-by: Andrew Bartlett Reviewed-by: Jo Sutton --- diff --git a/source4/auth/ntlm/auth_sam.c b/source4/auth/ntlm/auth_sam.c index a7f83b7e022..c5355a3554d 100644 --- a/source4/auth/ntlm/auth_sam.c +++ b/source4/auth/ntlm/auth_sam.c @@ -446,9 +446,9 @@ static NTSTATUS authsam_password_check_and_record(struct auth4_context *auth_con } /* - * We only continue if this was a wrong password - * and we'll always return NT_STATUS_WRONG_PASSWORD - * no matter what error happens. + * We only continue if this was a wrong password and we'll + * return NT_STATUS_WRONG_PASSWORD in most cases, except for a + * (default) 60 min grace period for previous NTLM password */ /* pull the domain password property attributes */