summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-06-29 14:00:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:38 -0500
commit4da57142b434de6dcd22538b8521421f02111eba (patch)
tree36982b56f4ae4ecc2f0be80bd045b61f8c0cd982
parent4015b0108831377404e7684a46bd709f3c6380b8 (diff)
downloadsamba-4da57142b434de6dcd22538b8521421f02111eba.tar.gz
samba-4da57142b434de6dcd22538b8521421f02111eba.tar.bz2
samba-4da57142b434de6dcd22538b8521421f02111eba.zip
r16672: we don't need this twice:-)
metze (This used to be commit e8e9fe666e4fb6f47e7fcaeb5ef9068db25e18b7)
-rw-r--r--source4/torture/smb2/setinfo.c6
1 files changed, 1 insertions, 5 deletions
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;