Commit ddac66e8 authored by Steve French's avatar Steve French Committed by Greg Kroah-Hartman
Browse files

smb3: do not set NTLMSSP_VERSION flag for negotiate not auth request

[ Upstream commit 19826558 ]

The NTLMSSP_NEGOTIATE_VERSION flag only needs to be sent during
the NTLMSSP NEGOTIATE (not the AUTH) request, so filter it out for
NTLMSSP AUTH requests. See MS-NLMP 2.2.1.3

This fixes a problem found by the gssntlmssp server.

Link: https://github.com/gssapi/gss-ntlmssp/issues/95


Fixes: 52d00533 ("smb3: send NTLMSSP version information")
Acked-by: default avatarRoy Shterman <roy.shterman@gmail.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 55704f08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment