We were lying to the client in the case of POSIX_UNLINK
authorjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Tue, 17 Jul 2007 18:48:39 +0000 (18:48 +0000)
committerjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Tue, 17 Jul 2007 18:48:39 +0000 (18:48 +0000)
commit01aa3260f60e44e56aad5b36e0f9b9efc1a55eb4
tree25ee1d2b5784c1916778b4261eec46320df3b1cf
parent270ce6625622a5ede971e4cf0b19cc1918917491
We were lying to the client in the case of POSIX_UNLINK
if a Windows client had the file open. We were setting
delete on close and returning "ok". The POSIX client then
believed the file was gone (and it wasn't). Fix this to
return SHARING_VIOLATION if there is an existing NTcreateX
open on the file and someone calls POSIX_UNLINK. Still one
more Cthon test to fix but getting closer now. Should
be in 3.0.25c also.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@23935 0c0555d6-39d7-0310-84fc-f1cc0bd64818
source/smbd/trans2.c