summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-17 21:14:59 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-18 07:13:47 +1100
commitd1efaf39f51102835eda9aca12433e926354da77 (patch)
treedb63cb72f71187209199d8799ae4f74814a9e4fc /source4/torture
parenta319ba49e79fdc6ed37996d185aece5dbb5a905e (diff)
downloadsamba-d1efaf39f51102835eda9aca12433e926354da77.tar.gz
samba-d1efaf39f51102835eda9aca12433e926354da77.tar.bz2
samba-d1efaf39f51102835eda9aca12433e926354da77.zip
smb2-torture: samba4 allows SEC_FLAG_SECURITY to be used with privileges
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/create.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/smb2/create.c b/source4/torture/smb2/create.c
index be825b24a7..f93567f5e5 100644
--- a/source4/torture/smb2/create.c
+++ b/source4/torture/smb2/create.c
@@ -249,6 +249,8 @@ static bool test_create_gentest(struct torture_context *torture, struct smb2_tre
if (TARGET_IS_WIN7(torture)) {
CHECK_EQUAL(access_mask, 0x0de0fe00);
+ } else if (torture_setting_bool(torture, "samba4", false)) {
+ CHECK_EQUAL(access_mask, 0x0cf0fe00);
} else {
CHECK_EQUAL(access_mask, 0x0df0fe00);
}