diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-06 19:52:04 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-06 19:52:04 +0000 |
commit | 135eaa977385cdd5f572a51f654f14d893347d7b (patch) | |
tree | 98d9276eeb35eca9049efbc1efc341fc8512809e /source/script/mkproto.awk | |
parent | ef7fa58fd3c259c765c3bc82424d4c0f192ec90e (diff) | |
download | samba-135eaa977385cdd5f572a51f654f14d893347d7b.tar.gz samba-135eaa977385cdd5f572a51f654f14d893347d7b.tar.xz samba-135eaa977385cdd5f572a51f654f14d893347d7b.zip |
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.
Diffstat (limited to 'source/script/mkproto.awk')
-rw-r--r-- | source/script/mkproto.awk | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |