Bug 6960 - multiple lock cancellations requests in a single SMBLockingAndX are not handled correctly
multiple lock cancellations requests in a single SMBLockingAndX are not handl...
Status: NEW
Product: Samba 4.0
Classification: Unclassified
Component: File services
unspecified
All Linux
: P3 normal
: ---
Assigned To: Andrew Tridgell
samba4-qa@samba.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-02 19:21 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:21:36 UTC
The MS-CIFS spec, section 2.2.4.32.1 states that only a single lock cancel
request can be made per PDU.  The Samba4 server handles this correctly, but
then returns an incorrect error code when a locked file is unlocked.

Interestingly, Windows servers do not conform to the spec and allow multiple
lock cancellation requests to be made without error.

This behavior is exercised by the RAW-LOCK-ASYNC smbtorture4 test.
Comment 1 Steven Danneman 2009-12-03 15:53:09 UTC
samba4.raw.lock.*.async should be removed from 
source4/selftest/knownfail when this bug is fixed.
Comment 2 Matthias Dieter Wallnöfer 2010-03-08 04:33:23 UTC
Reassign file server related bugs up to tridge.