s4:torture/smb2: add a smb2.session.two_logoff test
commit2cf1628419f5035107d1be6d7ab1bf6533bad7a2
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Sep 2020 11:49:27 +0000 (23 13:49 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 6 Mar 2021 02:20:05 +0000 (6 02:20 +0000)
treed54d0d09c612b152c5bb4014b9d18614374b07ea
parent106121a91b5108bfcc48f641385cd99e7dab7006
s4:torture/smb2: add a smb2.session.two_logoff test

This reproduces a bug where two SMB2_LOGOFF messages kill the whole
client smbd when multi-channel is used, instead of just removing the
logical session.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/smb2.session.two_logoff [new file with mode: 0644]
source4/torture/smb2/session.c