]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4-auth: Update comment to mention 60mins in the NTLM grace period
authorAndrew Bartlett <abartlet@samba.org>
Tue, 2 Apr 2024 22:52:28 +0000 (11:52 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 10 Jun 2024 04:27:30 +0000 (04:27 +0000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
source4/auth/ntlm/auth_sam.c

index a7f83b7e022f377f6e6727a2fde85b77299b677d..c5355a3554d8205b1bf95eb1c7c122a761fd2db6 100644 (file)
@@ -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 */