svn commit: samba r16672 - in branches/SAMBA_4_0/source/torture/smb2: .

metze at samba.org metze at samba.org
Thu Jun 29 14:00:58 GMT 2006


Author: metze
Date: 2006-06-29 14:00:57 +0000 (Thu, 29 Jun 2006)
New Revision: 16672

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16672

Log:
we don't need this twice:-)

metze
Modified:
   branches/SAMBA_4_0/source/torture/smb2/setinfo.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/smb2/setinfo.c
===================================================================
--- branches/SAMBA_4_0/source/torture/smb2/setinfo.c	2006-06-29 12:39:41 UTC (rev 16671)
+++ branches/SAMBA_4_0/source/torture/smb2/setinfo.c	2006-06-29 14:00:57 UTC (rev 16672)
@@ -236,11 +236,6 @@
 	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 @@
 	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;



More information about the samba-cvs mailing list