Bug 14512 - Fix MultipleChannel_Negative_SMB2002
Summary: Fix MultipleChannel_Negative_SMB2002
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.10.17
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-25 09:28 UTC by Jones Syue
Modified: 2020-09-25 16:22 UTC (History)
1 user (show)

See Also:


Attachments
test case MultipleChannel_Negative_SMB2002 is failed (158.37 KB, image/png)
2020-09-25 09:28 UTC, Jones Syue
no flags Details
testsuite test report with complete logs (98.17 KB, text/xml)
2020-09-25 09:29 UTC, Jones Syue
no flags Details
wireshark capture (1.51 MB, application/octet-stream)
2020-09-25 09:31 UTC, Jones Syue
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jones Syue 2020-09-25 09:28:04 UTC
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.
Comment 1 Jones Syue 2020-09-25 09:29:35 UTC
Created attachment 16260 [details]
testsuite test report with complete logs
Comment 2 Jones Syue 2020-09-25 09:31:58 UTC
Created attachment 16261 [details]
wireshark capture
Comment 3 Jones Syue 2020-09-25 16:22:07 UTC
CI is passed, patch for master:
https://gitlab.com/samba-team/devel/samba/-/pipelines/194500227