s4 torture: Change nttransrename to use a normal access mask
authorTim Prouty <tprouty@samba.org>
Wed, 11 Feb 2009 00:51:47 +0000 (16:51 -0800)
committerTim Prouty <tprouty@samba.org>
Wed, 11 Feb 2009 03:35:33 +0000 (19:35 -0800)
batch9 already tests for stat-only opens

source4/torture/raw/oplock.c

index c10c49ecf3d8148da3530e95a320e57c4585203a..0aeded8664afc32f994331f0d2f880ebad640340 100644 (file)
@@ -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;