summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-29 19:30:11 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-29 19:30:11 +1000
commit523a0fccf374d56e9e73642a95564f5cb246d13d (patch)
tree68f9be48404dc855491de237b138b6437523e5da /source4/torture/smb2
parent215fd9764fe9d595941a58d022a05a4f83365595 (diff)
downloadsamba-523a0fccf374d56e9e73642a95564f5cb246d13d.tar.gz
samba-523a0fccf374d56e9e73642a95564f5cb246d13d.tar.bz2
samba-523a0fccf374d56e9e73642a95564f5cb246d13d.zip
check maximal_access here too
(This used to be commit 8159b1598e21daee730e185d025694e27df18d1b)
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r--source4/torture/smb2/create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/smb2/create.c b/source4/torture/smb2/create.c
index eb6b333ef5..c23ff8b8ce 100644
--- a/source4/torture/smb2/create.c
+++ b/source4/torture/smb2/create.c
@@ -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);