diff options
author | Paulo Alcantara <pc@manguebit.org> | 2025-07-25 00:04:44 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-07-27 16:59:59 -0500 |
commit | 33cfdd726381828b9907a61c038a9f48b6690a31 (patch) | |
tree | d6f45256a6d3b23443cbbfe14bdb9e074d54a203 /scripts/lib/kdoc/kdoc_files.py | |
parent | be77ab6b9fbe348daf3c2d3ee40f23ca5110a339 (diff) |
smb: client: fix session setup against servers that require SPN
Some servers might enforce the SPN to be set in the target info
blob (AV pairs) when sending NTLMSSP_AUTH message. In Windows Server,
this could be enforced with SmbServerNameHardeningLevel set to 2.
Fix this by always appending SPN (cifs/<hostname>) to the existing
list of target infos when setting up NTLMv2 response blob.
Cc: linux-cifs@vger.kernel.org
Cc: David Howells <dhowells@redhat.com>
Reported-by: Pierguido Lambri <plambri@redhat.com>
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.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