Created attachment 16259 [details] test case MultipleChannel_Negative_SMB2002 is failed In SDC 2020 SMB3 Virtual IO Lab, run Windows Protocol Test Suite to test FileServer, test case MultipleChannel_Negative_SMB2002 is failed. (part of) debug logs said: SessionSetup is expected to fail with STATUS_REQUEST_NOT_ACCEPTED. but actually it got STATUS_USER_SESSION_DELETED. > 2020-09-25 08:35:25.108 [Debug] The selected dialect is Smb2002 > 2020-09-25 08:35:25.109 [CheckSucceeded] Assert.IsTrue succeeded. The server SHOULD<168> grant the client a non-zero value of credits in response to any non-zero value requested, within administratively configured limits. The server MUST grant the client at least 1 credit when responding to SMB2 NEGOTIATE, actually server returns 1 > 2020-09-25 08:35:25.109 [CheckSucceeded] Assert.AreEqual succeeded. Negotiation should succeed, actually server returns STATUS_SUCCESS. > 2020-09-25 08:35:25.971 [Debug] C SESSION_SETUP, Alternative Channel, SecurityMode=NEGOTIATE_SIGNING_ENABLED, Capabilities=GLOBAL_CAP_DFS > 2020-09-25 08:35:26.296 [Debug] R SESSION_SETUP, ErrorCode=STATUS_USER_SESSION_DELETED > 2020-09-25 08:35:26.297 [CheckFailed] Assert.AreEqual failed. Expected: <3221225680 (0xC00000D0)>, Actual: <3221225987 (0xC0000203)>. SessionSetup is expected to fail with STATUS_REQUEST_NOT_ACCEPTED. Steps to reproduce (in brief): 1. Microsoft Protocol Testsuite > FileServer 4.20.9.0 > Configure Wizard 2. Filter Test Cases: Selected test cases 9 Priority > Select All: checked. Feature > Others > SMB2&3 > MultipleChannel: checked. 3. Configure Test Cases > Common > IsMultiChannelCapable: true 4. Run Selected Test Cases > MultipleChannel_Negative_SMB2002: checked. 5. MultipleChannel_Negative_SMB2002 test result is failed.
Created attachment 16260 [details] testsuite test report with complete logs
Created attachment 16261 [details] wireshark capture
CI is passed, patch for master: https://gitlab.com/samba-team/devel/samba/-/pipelines/194500227