summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
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);
}