From: Vinit Agnihotri Date: Fri, 11 Jul 2025 12:39:58 +0000 (+0530) Subject: s4:torture/smb2: Mark smb2.acl.SDFLAGSVSCHOWN as not supported for windows X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab0371c442f23f11fce6bd9d9a217049bc5ccecd;p=thirdparty%2Fsamba.git s4:torture/smb2: Mark smb2.acl.SDFLAGSVSCHOWN as not supported for windows Test case is expecting return code of NT_STATUS_OK for changing owner to 'everyone', however 'Windows 2016 server' is returning error code as NT_STATUS_INVALID_OWNER and test case fails. Same error code is returned if tested against targets w2k16, win2k12R2, win10, win11, win7, win8 and winxp as well. Thus marking this case as not supported for all windows versions till, issue is resolved. Singed-off-by: Vinit Agnihotri Reviewed-by: Anoop C S Reviewed-by: Ralph Boehme --- diff --git a/source4/torture/smb2/acls.c b/source4/torture/smb2/acls.c index a3f605a22ea..ef1f70cb726 100644 --- a/source4/torture/smb2/acls.c +++ b/source4/torture/smb2/acls.c @@ -1545,6 +1545,10 @@ static bool test_sd_flags_vs_chown(struct torture_context *tctx, uint32_t child_get_ace_inherit; } tflags[16] = {{0}}; /* 2^4 */ + if (TARGET_IS_WINDOWS(tctx)) { + torture_skip(tctx, "Not supported by windows backend\n"); + } + owner_sd = security_descriptor_dacl_create(tctx, 0, SID_WORLD,