summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_spoolss.c
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-07-26 09:40:49 +0000
committerJean-François Micouleau <jfm@samba.org>2000-07-26 09:40:49 +0000
commit1e3a5503cd27109e3b79da9d1115ef80317e6849 (patch)
treec11a9d15ebe87b069116a1e7bd8feb56e50f8175 /source3/rpc_client/cli_spoolss.c
parent18db0514fddf15c9aa5eeefa18891bbf3e0637f5 (diff)
downloadsamba-1e3a5503cd27109e3b79da9d1115ef80317e6849.tar.gz
samba-1e3a5503cd27109e3b79da9d1115ef80317e6849.tar.bz2
samba-1e3a5503cd27109e3b79da9d1115ef80317e6849.zip
Found out that we are crashing spoolss in enumprinterdata.
So fixed enumprinterdatas in rpcclient to debug the server code, and found that the parsing code was missing 2 prs_align(). We are not crashing NT anymore. :-) J.F. (This used to be commit 883f7402d495182aeff85152216cc8b3cfc18bef)
Diffstat (limited to 'source3/rpc_client/cli_spoolss.c')
-rw-r--r--source3/rpc_client/cli_spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index d6156bf4ac..3e12454cb2 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -298,9 +298,9 @@ uint32 spoolss_enum_printerdata(const POLICY_HND *hnd, uint32 idx,
prs_init(&buf , MAX_PDU_FRAG_LEN, 4, MARSHALL);
prs_init(&rbuf, 0, 4, UNMARSHALL);
- /* create and send a MSRPC command with api SPOOLSS_ENUMJOBS */
+ /* create and send a MSRPC command with api SPOOLSS_ENUMPRINTERDATA*/
- DEBUG(5,("SPOOLSS Enum Printer data)\n"));
+ DEBUG(4,("SPOOLSS Enum Printer data\n"));
make_spoolss_q_enumprinterdata(&q_o, hnd, idx, *valuelen, *datalen);