summaryrefslogtreecommitdiff
path: root/source3/utils/smbcacls.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/smbcacls.c')
-rw-r--r--source3/utils/smbcacls.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 65c88b479e..776ff19715 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -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);
}
+
}