Samba also fails the no_share_delete_no_delete_access subtest of the smb2.rename test. time: 2012-11-14 17:04:09.040840 failure: no_share_delete_no_delete_access [ (../source4/torture/smb2/rename.c:761) Incorrect status NT_STATUS_OK - should be NT_STATUS_SHARING_VIOLATION ] This test opens a file, then opens the parent directory with DENY_ALL sharing, and then tries to rename the file opened. This should fail, I believe, with SHARING_VIOLATION but it succeeds.
Created attachment 8209 [details] Patchset for master. Fixes both raw.rename and smb2.rename (and also fixes bug 9395, which I'll make dependent on this bug). Jeremy.
Comment on attachment 8209 [details] Patchset for master. Ignore this patchset, breaks raw.oplocks. I'll keep working on getting it right. Jeremy.