summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-12-04 00:35:31 +0000
committerAndrew Tridgell <tridge@samba.org>2000-12-04 00:35:31 +0000
commit0884d6ab52a1d4e0afa23910a21432bd648d761d (patch)
tree86b063c61dbf455adcd7530987fbab17f17b9d10
parenta4c11729b2c36dd26773685f1256e1c6e33c511d (diff)
downloadsamba-0884d6ab52a1d4e0afa23910a21432bd648d761d.tar.gz
samba-0884d6ab52a1d4e0afa23910a21432bd648d761d.tar.bz2
samba-0884d6ab52a1d4e0afa23910a21432bd648d761d.zip
fixed SACL bug
(This used to be commit 077ee4a7ac7fa8f274269bfc5130d5abff9f35e0)
-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);
}
+
}