testprogs: print secdesc->Control in spoolss test.
authorGünther Deschner <gd@samba.org>
Wed, 10 Feb 2010 23:06:20 +0000 (00:06 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 11 Feb 2010 12:24:41 +0000 (13:24 +0100)
Guenther

testprogs/win32/spoolss/printlib.c

index 30f4208c2f06124cf4e31ff15e4f6adcd42d5197..b9198d46afb206168453a91766f61c4f35bb6050 100644 (file)
@@ -159,6 +159,7 @@ void print_secdesc(SECURITY_DESCRIPTOR *secdesc)
 
        printf("\tRevision\t= 0x%x\n", secdesc->Revision);
        printf("\tSbz1\t\t= 0x%x\n", secdesc->Sbz1);
+       printf("\tControl\t\t= 0x%x\n", secdesc->Control);
 #if 0
        print_sid("\tOwner\t\t= ", secdesc->Owner);
        print_sid("\tGroup\t\t= ",secdesc->Group);
@@ -587,11 +588,9 @@ void print_printer_info_2(PPRINTER_INFO_2 info)
        printf("\tDevice Mode Information\n");
        printf("\t-----------------------\n");
        print_devmode(info->pDevMode);
-#if 0
        printf("\tSecurity Descriptor Information\n");
        printf("\t-------------------------------\n");
        print_secdesc(info->pSecurityDescriptor);
-#endif
        return;
 }