From 76dca9c1fb42ea461dbf95e7357385e8692bc94b Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 12 Dec 2000 06:14:01 +0000 Subject: Don't print out the security descriptor type as it is automatically calculated by the new make_sec_desc() function. (This used to be commit 6fd5dc81458317e106f5ea24958cefe4146c90a6) --- source3/utils/smbcacls.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source3/utils/smbcacls.c') 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 */ -- cgit