diff options
author | Pali Rohár <pali@kernel.org> | 2024-11-02 17:58:31 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-06-01 20:43:49 -0500 |
commit | 89381c72d52094988e11d23ef24a00066a0fa458 (patch) | |
tree | 7af73bc598fd28847b0f3726fe4f464a7bb5b3fb /scripts/lib/kdoc/kdoc_files.py | |
parent | 6510ef4230b68c960309e0c1d6eb3e32eb785142 (diff) |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions