aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2024-11-02 16:58:31 +0000
committerSteve French <[email protected]>2025-06-02 01:43:49 +0000
commit89381c72d52094988e11d23ef24a00066a0fa458 (patch)
tree7af73bc598fd28847b0f3726fe4f464a7bb5b3fb /rust/helpers/xarray.c
parentcifs: Fix encoding of SMB1 Session Setup NTLMSSP Request in non-UNICODE mode (diff)
downloadkernel-89381c72d52094988e11d23ef24a00066a0fa458.tar.gz
kernel-89381c72d52094988e11d23ef24a00066a0fa458.zip
cifs: Correctly set SMB1 SessionKey field in Session Setup Request
[MS-CIFS] specification in section 2.2.4.53.1 where is described SMB_COM_SESSION_SETUP_ANDX Request, for SessionKey field says: The client MUST set this field to be equal to the SessionKey field in the SMB_COM_NEGOTIATE Response for this SMB connection. Linux SMB client currently set this field to zero. This is working fine against Windows NT SMB servers thanks to [MS-CIFS] product behavior <94>: Windows NT Server ignores the client's SessionKey. For compatibility with [MS-CIFS], set this SessionKey field in Session Setup Request to value retrieved from Negotiate response. Signed-off-by: Pali Rohár <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions