From 135eaa977385cdd5f572a51f654f14d893347d7b Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Sat, 6 Nov 1999 19:52:04 +0000 Subject: added rpcclient spoolenum command. enumerates printers. spoolss_r_io_enumprinters doesn't decode strings correctly as printer_info_1/2 code has only been written to write structures, not read them. --- source/script/mkproto.awk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/script/mkproto.awk') diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk index bc6f50af99f..9e4c7de2d6e 100644 --- a/source/script/mkproto.awk +++ b/source/script/mkproto.awk @@ -94,6 +94,10 @@ END { gotstart = 1; } + if( $0 ~ /^PRINTER_INFO_1|^PRINTER_INFO_2/ ) { + gotstart = 1; + } + if( $0 ~ /^UNISTR2|^LOCAL_GRP|^DOMAIN_GRP|^DOM_SID|^SEC_DESC/ ) { gotstart = 1; } -- cgit