check maximal_access here too
authorAndrew Tridgell <tridge@samba.org>
Thu, 29 May 2008 09:30:11 +0000 (19:30 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 29 May 2008 09:30:11 +0000 (19:30 +1000)
(This used to be commit 8159b1598e21daee730e185d025694e27df18d1b)

source4/torture/smb2/create.c

index eb6b333ef5d683f27a38ed08542a5118c69290ec..c23ff8b8ce96c103f7c712fc3bfc8c936682785c 100644 (file)
@@ -256,6 +256,7 @@ static bool test_create_blob(struct torture_context *torture, struct smb2_tree *
        io.in.query_maximal_access = true;
        status = smb2_create(tree, tmp_ctx, &io);
        CHECK_STATUS(status, NT_STATUS_OK);
+       CHECK_EQUAL(io.out.maximal_access, 0x001f01ff);
 
        status = smb2_util_close(tree, io.out.file.handle);
        CHECK_STATUS(status, NT_STATUS_OK);