diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-29 19:30:11 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-29 19:30:11 +1000 |
commit | 523a0fccf374d56e9e73642a95564f5cb246d13d (patch) | |
tree | 68f9be48404dc855491de237b138b6437523e5da /source4/torture/smb2 | |
parent | 215fd9764fe9d595941a58d022a05a4f83365595 (diff) | |
download | samba-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.c | 1 |
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); |