1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

fixed SACL bug

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 1e0d5f0695
commit 077ee4a7ac

View File

@ -233,17 +233,12 @@ static void sec_desc_print(FILE *f, SEC_DESC *sd)
fprintf(f, "DACL:");
print_ace(f, ace);
}
for (i = 0; sd->sacl && i < sd->sacl->num_aces; i++) {
SEC_ACE *ace = &sd->sacl->ace[i];
fstring sidstr;
SidToString(sidstr, &ace->sid);
fprintf(f, "SACL:%s:%x:%x:%08x\n", sidstr,
ace->type, ace->flags,
ace->info.mask);
fprintf(f, "SACL:");
print_ace(f, ace);
}
}