cifs: Add client version details to NTLM authenticate message
authorMeetakshi Setiya <msetiya@microsoft.com>
Wed, 4 Oct 2023 11:17:55 +0000 (07:17 -0400)
committerSteve French <stfrench@microsoft.com>
Mon, 23 Oct 2023 00:03:42 +0000 (19:03 -0500)
commit1460720c5913c11415e4d7c4df5a287eb2ad3f3e
tree93cecacfabb97c9540680ca26831f9a508e51657
parent475efd9808a3094944a56240b2711349e433fb66
cifs: Add client version details to NTLM authenticate message

The NTLM authenticate message currently sets the NTLMSSP_NEGOTIATE_VERSION
flag but does not populate the VERSION structure. This commit fixes this
bug by ensuring that the flag is set and the version details are included
in the message.

Signed-off-by: Meetakshi Setiya <msetiya@microsoft.com>
Reviewed-by: Bharath SM <bharathsm@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/ntlmssp.h
fs/smb/client/sess.c