r15949: Patch for bug #3308 to stop us returning duplicate
commitad9895c654f400e242adcd4099f7cd004521ee92
authorJeremy Allison <jra@samba.org>
Tue, 30 May 2006 05:08:15 +0000 (30 05:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:14 +0000 (10 11:17 -0500)
tree28d1541d99b75ed2856e078e0131a94faf760e75
parent784126edff942d1c2f79f7c9feb59980426f331e
r15949: Patch for bug #3308 to stop us returning duplicate
mid replies on path based set-eof trans2 calls.
Needs modification for HEAD (as in head open_file_ntcreateX
properly returns NTSTATUS - I'll fix this tomorrow my
time). Secondly it still fails the Samba4 RAW-OPLOCK
smbtorture because of an interesting case. Our oplock
code always returns "break to level 2" if it can.
In this case (path-based set-eof or set-allocation size
on an exclusive oplocked file) W2K3 always sends a
break-to-none. We send the break to none (from level2)
after we've done the write for eof or allocation size.
I need to work out some way of telling our break code
to always break to none (might need to extend the message
field).
Jeremy.
source/smbd/nttrans.c
source/smbd/open.c
source/smbd/trans2.c