{
case ACTION_HEADER:
{
- fprintf(out_hnd, "\tACL\tNum ACEs: %d\tunk 1: %x\n", acl->num_aces, acl->unknown_1);
+ fprintf(out_hnd, "\tACL\tNum ACEs:\t%d\trevision:\t%x\n",
+ acl->num_aces, acl->revision);
fprintf(out_hnd, "\t---\n");
break;
}
case ACTION_ENUMERATE:
{
- if (acl->acl_size != 0 && acl->num_aces != 0)
+ if (acl->size != 0 && acl->num_aces != 0)
{
int i;
for (i = 0; i < acl->num_aces; i++)
{
case ACTION_HEADER:
{
- fprintf(out_hnd, "\tSecurity Descriptor\tunk 1: %x\n", sec->unknown_1);
+ fprintf(out_hnd, "\tSecurity Descriptor\trevision:\t%x\ttype:\t%x\n",
+ sec->revision, sec->type);
fprintf(out_hnd, "\t-------------------\n");
break;
{
fstring sid_str;
- if (sec->off_acl != 0)
+ if (sec->off_dacl != 0)
{
- display_sec_acl(out_hnd, ACTION_HEADER , &sec->acl);
- display_sec_acl(out_hnd, ACTION_ENUMERATE, &sec->acl);
- display_sec_acl(out_hnd, ACTION_FOOTER , &sec->acl);
+ display_sec_acl(out_hnd, ACTION_HEADER , &sec->dacl);
+ display_sec_acl(out_hnd, ACTION_ENUMERATE, &sec->dacl);
+ display_sec_acl(out_hnd, ACTION_FOOTER , &sec->dacl);
}
if (sec->off_owner_sid != 0)
{
sid_to_string(sid_str, &sec->owner_sid);
- fprintf(out_hnd, "\tOwner SID: %s\n", sid_str);
+ fprintf(out_hnd, "\tOwner SID:\t%s\n", sid_str);
}
- if (sec->off_pnt_sid != 0)
+ if (sec->off_grp_sid != 0)
{
- sid_to_string(sid_str, &sec->parent_sid);
- fprintf(out_hnd, "\tParent SID: %s\n", sid_str);
+ sid_to_string(sid_str, &sec->grp_sid);
+ fprintf(out_hnd, "\tParent SID:\t%s\n", sid_str);
}
break;