diff options
| author | 2024-11-02 17:58:31 +0100 | |
|---|---|---|
| committer | 2025-06-01 20:43:49 -0500 | |
| commit | 89381c72d52094988e11d23ef24a00066a0fa458 (patch) | |
| tree | 7af73bc598fd28847b0f3726fe4f464a7bb5b3fb /rust/helpers/pci.c | |
| parent | cifs: Fix encoding of SMB1 Session Setup NTLMSSP Request in non-UNICODE mode (diff) | |
| download | wireguard-linux-89381c72d52094988e11d23ef24a00066a0fa458.tar.xz wireguard-linux-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 <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions
