Bug 6654 - test_mux_open() should test multiple pending requests according to MS-SMB 2.2.9
Summary: test_mux_open() should test multiple pending requests according to MS-SMB 2.2.9
Status: ASSIGNED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: smbtorture (show other bugs)
Version: unspecified
Hardware: x64 Windows 7
: P3 normal (vote)
Target Milestone: ---
Assignee: Steven Danneman
QA Contact: samba4-qa@samba.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-20 14:02 UTC by Long Li
Modified: 2011-02-18 07:22 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Long Li 2009-08-20 14:02:37 UTC
At line 116 and 128 of torture/raw/mux.c, the test case expects the server to respond OK to the 1st NT_CREATE_ANDX request and to respond SHARING_VIOLATION to the 2nd request.

The following is take from MS-SMB 2.2.9: (http://msdn.microsoft.com/en-us/library/cc246334(PROT.13).aspx)

If the server receives more than one SMB_COM_NT_CREATE_ANDX request from a client before it sends back any response, the server may respond to these requests in any order.

The test case should expect server to return an OK and a SHARING_VIOLATION for the two requests in any order. E.g. the server may return SHARING_VIOLATION for the 1st request and OK for the 2nd request.

Also, the test case should not enforce timeout limits on server response time. (such as at line 118) Timeout is not specified in the protocol doc.
Comment 1 Matthias Dieter Wallnöfer 2009-10-15 02:46:24 UTC
Add metze to CC list since he does some work on SMB(2) and torture.
Comment 2 Matthias Dieter Wallnöfer 2009-12-22 04:07:01 UTC
Tim Prouty, since you have worked lately on s4 torture: would you like to fix this?
Comment 3 Matthias Dieter Wallnöfer 2010-02-14 04:24:11 UTC
Steven, would you like to correct the "torture/raw/mux.c" test as stated here?
Comment 4 Steven Danneman 2010-02-15 12:15:48 UTC
I'll look into this.
Comment 5 Matthias Dieter Wallnöfer 2011-02-18 07:22:55 UTC
Steven, any news on this - a year has already passed?