From 4da57142b434de6dcd22538b8521421f02111eba Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 29 Jun 2006 14:00:57 +0000 Subject: r16672: we don't need this twice:-) metze (This used to be commit e8e9fe666e4fb6f47e7fcaeb5ef9068db25e18b7) --- source4/torture/smb2/setinfo.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source4') diff --git a/source4/torture/smb2/setinfo.c b/source4/torture/smb2/setinfo.c index fb913e5ef2..6db50eae99 100644 --- a/source4/torture/smb2/setinfo.c +++ b/source4/torture/smb2/setinfo.c @@ -236,11 +236,6 @@ BOOL torture_smb2_setinfo(struct torture_context *torture) CHECK_VALUE(MODE_INFORMATION, mode_information, mode, 0); printf("test sec_desc level\n"); - test_sid = dom_sid_parse_talloc(mem_ctx, "S-1-5-32-1234-5432"); - ace.type = SEC_ACE_TYPE_ACCESS_ALLOWED; - ace.flags = 0; - ace.access_mask = SEC_STD_ALL; - ace.trustee = *test_sid; ZERO_STRUCT(finfo2); finfo2.query_secdesc.in.secinfo_flags = SECINFO_OWNER | @@ -250,6 +245,7 @@ BOOL torture_smb2_setinfo(struct torture_context *torture) sd = finfo2.query_secdesc.out.sd; test_sid = dom_sid_parse_talloc(mem_ctx, "S-1-5-32-1234-5432"); + ZERO_STRUCT(ace); ace.type = SEC_ACE_TYPE_ACCESS_ALLOWED; ace.flags = 0; ace.access_mask = SEC_STD_ALL; -- cgit