s4 torture: Add a new torture:hide_on_access_denied parameter
authorTim Prouty <tprouty@samba.org>
Sat, 5 Dec 2009 00:07:35 +0000 (16:07 -0800)
committerTim Prouty <tprouty@samba.org>
Tue, 8 Dec 2009 00:54:17 +0000 (16:54 -0800)
commitf717a79eff334835eb33783adcbb261e126185d6
tree11298a53885cac55169ae84e8515e912f2180e23
parentf4aa47b5ab265b30a0708b72936e1bc26a793df6
s4 torture: Add a new torture:hide_on_access_denied parameter

It appears some newer versions of windows return
NT_STATUS_OBJECT_NAME_NOT_FOUND on a createfile when access is denied
rather than NT_STATUS_ACCESS_DENIED.  I'm not sure how this translates
to directory enumeration yet, but for now make this a parameter that
can be checked in the various torture tests.

This also gets RAW-ACLS and SMB2-CREATE passing against win7.
source4/torture/raw/acls.c
source4/torture/smb2/acls.c
source4/torture/smb2/create.c
source4/torture/smbtorture.c
source4/torture/smbtorture.h
source4/torture/util.h