From d1efaf39f51102835eda9aca12433e926354da77 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 17 Oct 2009 21:14:59 +1100 Subject: smb2-torture: samba4 allows SEC_FLAG_SECURITY to be used with privileges --- source4/torture/smb2/create.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/torture/smb2/create.c') 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); } -- cgit