diff options
author | Tim Prouty <tprouty@samba.org> | 2009-12-04 16:07:35 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-12-07 16:54:17 -0800 |
commit | f717a79eff334835eb33783adcbb261e126185d6 (patch) | |
tree | 11298a53885cac55169ae84e8515e912f2180e23 /source4/torture/smbtorture.c | |
parent | f4aa47b5ab265b30a0708b72936e1bc26a793df6 (diff) | |
download | samba-f717a79eff334835eb33783adcbb261e126185d6.tar.gz samba-f717a79eff334835eb33783adcbb261e126185d6.tar.bz2 samba-f717a79eff334835eb33783adcbb261e126185d6.zip |
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.
Diffstat (limited to 'source4/torture/smbtorture.c')
-rw-r--r-- | source4/torture/smbtorture.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index cb080dfded..8e0a25b032 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -543,6 +543,9 @@ int main(int argc,char *argv[]) /* RAW-SEARCH for fails for inexplicable reasons against win7 */ lp_set_cmdline(cmdline_lp_ctx, "torture:search_ea_support", "false"); + + lp_set_cmdline(cmdline_lp_ctx, "torture:hide_on_access_denied", + "true"); } else if (strcmp(target, "onefs") == 0) { lp_set_cmdline(cmdline_lp_ctx, "torture:onefs", "true"); lp_set_cmdline(cmdline_lp_ctx, "torture:openx_deny_dos_support", |