Skip to content
Snippets Groups Projects
Commit 19826558 authored by Steve French's avatar Steve French
Browse files

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

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>
parent a43f95fd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment