s4:torture/smb2: add smb2.session.ntlmssp_bug14932 test
commite0b705d26f0b151ba52d1f9f5504f622fadf7d7c
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Dec 2021 22:23:33 +0000 (17 23:23 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 4 Jan 2022 20:07:28 +0000 (4 20:07 +0000)
tree29b7cdf2beb8a8e07a45686b96b4122fc0055910
parent23bedd69b2db0dd6de98ed147eddcba799694de7
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>
selftest/knownfail.d/smb2.session.tmp [new file with mode: 0644]
source4/torture/smb2/session.c