diff options
author | Jean-François Micouleau <jfm@samba.org> | 2000-07-26 09:40:49 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2000-07-26 09:40:49 +0000 |
commit | 1e3a5503cd27109e3b79da9d1115ef80317e6849 (patch) | |
tree | c11a9d15ebe87b069116a1e7bd8feb56e50f8175 /source3/rpcclient | |
parent | 18db0514fddf15c9aa5eeefa18891bbf3e0637f5 (diff) | |
download | samba-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/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index 7ed6dd80ce..00d5a4d7d1 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -149,12 +149,12 @@ uint32 cmd_spoolss_enum_printerdata(struct client_info *info, int argc, char *ar printer_name = srv_name; } - DEBUG(4,("spoolopen - printer: %s station: %s user: %s\n", printer_name, station, usr_creds->ntc.user_name)); + DEBUG(0,("spoolenumdata - printer: %s station: %s user: %s\n", printer_name, station, usr_creds->ntc.user_name)); if (msrpc_spoolss_enum_printerdata( printer_name, station, usr_creds->ntc.user_name)) { - DEBUG(5,("cmd_spoolss_enum_printerdata: query succeeded\n")); + DEBUG(0,("cmd_spoolss_enum_printerdata: query succeeded\n")); return NT_STATUS_NOPROBLEMO; } report(out_hnd, "FAILED\n"); |