mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
r16672: we don't need this twice:-)
metze (This used to be commit e8e9fe666e4fb6f47e7fcaeb5ef9068db25e18b7)
This commit is contained in:
parent
4015b01088
commit
4da57142b4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user