diff options
Diffstat (limited to 'source3/utils/smbcacls.c')
-rw-r--r-- | source3/utils/smbcacls.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index aff5244fc5..ae852b3e3c 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -275,7 +275,6 @@ static SEC_DESC *sec_desc_parse(char *str) DOM_SID *grp_sid=NULL, *owner_sid=NULL; SEC_ACL *dacl=NULL; int revision=1; - int type=0x8004; while (next_token(&p, tok, " \t,\r\n", sizeof(tok))) { @@ -284,11 +283,6 @@ static SEC_DESC *sec_desc_parse(char *str) continue; } - if (strncmp(tok,"TYPE:", 5) == 0) { - type = strtol(tok+5, NULL, 16); - continue; - } - if (strncmp(tok,"OWNER:", 6) == 0) { owner_sid = (DOM_SID *)calloc(1, sizeof(DOM_SID)); if (!owner_sid || @@ -341,7 +335,7 @@ static void sec_desc_print(FILE *f, SEC_DESC *sd) fstring sidstr; int i; - printf("REVISION:%d\nTYPE:0x%x\n", sd->revision, sd->type); + printf("REVISION:%d\n", sd->revision); /* Print owner and group sid */ |