Bug 6959 - mixed lock/unlock requests in a single SMB2_LOCK request are not handled correctly
Summary: mixed lock/unlock requests in a single SMB2_LOCK request are not handled corr...
Status: NEW
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: File services (show other bugs)
Version: unspecified
Hardware: All Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Andrew Tridgell
QA Contact: samba4-qa@samba.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 19:18 UTC by Steven Danneman
Modified: 2010-03-08 04:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Danneman 2009-12-02 19:18:02 UTC
This issue is exercised by the smbtorture4 SMB2-LOCK-MULTIPLE-LOCK test.

When an unlock and lock request are given, in that order, in a SMB_LOCK request
the unlock should succeed, followed by the lock failing with INVALID_PARAMETER.

This behavior is documented in MS-SMB2 3.3.5.14.1
Comment 1 Steven Danneman 2009-12-03 15:52:46 UTC
samba4.smb2.lock.*.MULTIPLE-UNLOCK should be removed from 
source4/selftest/knownfail when this bug is fixed.
Comment 2 Matthias Dieter Wallnöfer 2010-03-08 04:33:22 UTC
Reassign file server related bugs up to tridge.