summaryrefslogtreecommitdiff
path: root/testprogs/win32/spoolss
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-02-11 00:06:20 +0100
committerGünther Deschner <gd@samba.org>2010-02-11 13:24:41 +0100
commit4f8a4cb81b073e3339744cfec334d8fce34cb03f (patch)
treed3196d7c17a3df081cdfce708018a0bf3d5adab8 /testprogs/win32/spoolss
parent490e1f84fede5585c6c611a5720b9f2362a9214f (diff)
downloadsamba-4f8a4cb81b073e3339744cfec334d8fce34cb03f.tar.gz
samba-4f8a4cb81b073e3339744cfec334d8fce34cb03f.tar.bz2
samba-4f8a4cb81b073e3339744cfec334d8fce34cb03f.zip
testprogs: print secdesc->Control in spoolss test.
Guenther
Diffstat (limited to 'testprogs/win32/spoolss')
-rw-r--r--testprogs/win32/spoolss/printlib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/testprogs/win32/spoolss/printlib.c b/testprogs/win32/spoolss/printlib.c
index 30f4208c2f..b9198d46af 100644
--- a/testprogs/win32/spoolss/printlib.c
+++ b/testprogs/win32/spoolss/printlib.c
@@ -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;
}