diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-06-29 14:00:57 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2006-06-29 14:00:57 +0000 |
commit | 42207f7d3d35c0c59aed0143e22712075ebfc072 (patch) | |
tree | 8695f0a9105ee642981c5964566972cf7428a4d6 | |
parent | f4c73afadc5e99dec5399271053153d42f66cc9f (diff) | |
download | samba-42207f7d3d35c0c59aed0143e22712075ebfc072.tar.gz samba-42207f7d3d35c0c59aed0143e22712075ebfc072.tar.xz samba-42207f7d3d35c0c59aed0143e22712075ebfc072.zip |
r16672: we don't need this twice:-)
metze
-rw-r--r-- | source/torture/smb2/setinfo.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/torture/smb2/setinfo.c b/source/torture/smb2/setinfo.c index fb913e5ef25..6db50eae995 100644 --- a/source/torture/smb2/setinfo.c +++ b/source/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; |