summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-02-10 16:51:47 -0800
committerTim Prouty <tprouty@samba.org>2009-02-10 19:35:33 -0800
commit7eb097a66df2491bf975471a095fb4356216d974 (patch)
treea7acb877d797a4695478e916f01f58366edbbffa /source4
parent49b84197e0e055bc6045051874a76268d766a4f7 (diff)
downloadsamba-7eb097a66df2491bf975471a095fb4356216d974.tar.gz
samba-7eb097a66df2491bf975471a095fb4356216d974.tar.bz2
samba-7eb097a66df2491bf975471a095fb4356216d974.zip
s4 torture: Change nttransrename to use a normal access mask
batch9 already tests for stat-only opens
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/oplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c
index c10c49ecf3..0aeded8664 100644
--- a/source4/torture/raw/oplock.c
+++ b/source4/torture/raw/oplock.c
@@ -2241,7 +2241,7 @@ bool test_nttransrename(struct torture_context *tctx, struct smbcli_state *cli1)
*/
io.generic.level = RAW_OPEN_NTCREATEX;
io.ntcreatex.in.root_fid = 0;
- io.ntcreatex.in.access_mask = 0;/* ask for no access at all */;
+ io.ntcreatex.in.access_mask = SEC_RIGHTS_FILE_ALL;
io.ntcreatex.in.alloc_size = 0;
io.ntcreatex.in.file_attr = FILE_ATTRIBUTE_NORMAL;
io.ntcreatex.in.share_access = NTCREATEX_SHARE_ACCESS_NONE;