From: Andrew Tridgell Date: Wed, 28 May 2008 12:44:54 +0000 (+1000) Subject: check the set of file attributes which are ignored X-Git-Tag: samba-4.0.0alpha4~9^2~8^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c818f56d8ea3ddc6f4cc61e9d5ed6fd195280a5d;p=thirdparty%2Fsamba.git check the set of file attributes which are ignored --- diff --git a/source/torture/smb2/create.c b/source/torture/smb2/create.c index 733b2c2e8aa..58d38a2cb33 100644 --- a/source/torture/smb2/create.c +++ b/source/torture/smb2/create.c @@ -52,7 +52,7 @@ static bool test_create_gentest(struct torture_context *torture, struct smb2_tre struct smb2_create io; NTSTATUS status; TALLOC_CTX *tmp_ctx = talloc_new(tree); - uint32_t access_mask, file_attributes, denied_mask; + uint32_t access_mask, file_attributes, file_attributes_set, denied_mask; ZERO_STRUCT(io); io.in.desired_access = SEC_FLAG_MAXIMUM_ALLOWED; @@ -115,7 +115,8 @@ static bool test_create_gentest(struct torture_context *torture, struct smb2_tre for (i=0;i<32;i++) { io.in.desired_access = 1<