s4:torture/smb2: add smb2.session.ntlmssp_bug14932 test
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Dec 2021 22:23:33 +0000 (23:23 +0100)
committerJule Anger <janger@samba.org>
Tue, 18 Jan 2022 19:27:14 +0000 (19:27 +0000)
commitaf3c6b570f21efee8bbe5f4fc64836ef8a71d6ce
tree2faf8febbad9b2237295864aa22c46f0a34d1014
parenta4bf80d820327f6e4f6763760ecce171428bae66
s4:torture/smb2: add smb2.session.ntlmssp_bug14932 test

This demonstrates that an invalid av_pair in NTLMv2_CLIENT_CHALLENGE
should result in NT_STATUS_INVALID_PARAMETER at the NTLMSSP layer.

This is different from the netr_LogonSamLogon*() case, where it is
ignored instead.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14932

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit e0b705d26f0b151ba52d1f9f5504f622fadf7d7c)
selftest/knownfail.d/smb2.session.tmp [new file with mode: 0644]
source4/torture/smb2/session.c