[Samba] rpcclient setdriver fails: WERR_INVALID_PRINTER_NAME
Werheid Bernhard
Bernhard.Werheid at M-Real.com
Fri Mar 7 13:25:13 GMT 2003
Hi all,
I have a similar problem as Patrik yesterday. So I can copy some lines, but
not all.
We have an SuSE 8.1 machine who acts as an printserver.
I'm sharing printers via Samba and using CUPS.
Samba is 2.2.7a and CUPS 1.1.8.
The Microsoft clients (Win9x, Win NT, Win 2k) is downloading the
driver from the server.
I had no problem to install and upload up to 2 printers but now I am
not able to set the driver.
I can install more printers, but when cupsaddsmb is running
rpcclient -N -U 'root%secret' -c 'setdriver zae zae'
I get the "result was NT_STATUS_UNSUCCESSFUL" messages.
This is cut out of the debug-log of rcpclient.
==============================================================
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_uint32(588)
0010 alloc_hint: 00000018
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_uint16(559)
0014 context_id: 0000
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_uint8(530)
0016 cancel_ct : 00
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_uint8(530)
0017 reserved : 00
[2003/03/07 12:23:09, 5] rpc_client/cli_pipe.c:rpc_api_pipe(406)
rpc_api_pipe: len left: 0 smbtrans read: 48
[2003/03/07 12:23:09, 6] rpc_client/cli_pipe.c:rpc_api_pipe(444)
rpc_api_pipe: fragment first and last both set
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_debug(60)
000018 spoolss_io_r_open_printer_ex
[2003/03/07 12:23:09, 6] rpc_parse/parse_prs.c:prs_debug(60)
000018 smb_io_pol_hnd printer handle
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_uint32(588)
0018 data1: 00000000
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_uint32(588)
001c data2: 00000002
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_uint16(559)
0020 data3: 0000
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_uint16(559)
0022 data4: 0000
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_uint8s(675)
0024 data5: 1d 81 68 3e c5 0c 00 00
[2003/03/07 12:23:09, 5] rpc_parse/parse_prs.c:prs_werror(648)
002c status code: WERR_INVALID_PRINTER_NAME
[2003/03/07 12:23:09, 6] lib/util_sock.c:write_socket(518)
write_socket(4,45)
[2003/03/07 12:23:09, 6] lib/util_sock.c:write_socket(521)
write_socket(4,45) wrote 45
[2003/03/07 12:23:09, 10]
lib/util_sock.c:read_smb_length_return_keepalive(559)
got smb length of 35
[2003/03/07 12:23:09, 5] lib/util.c:show_msg(275)
size=35
smb_com=0x4
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
[2003/03/07 12:23:09, 5] lib/util.c:show_msg(281)
smb_tid=1
smb_pid=3268
smb_uid=100
smb_mid=1
smt_wct=0
[2003/03/07 12:23:09, 5] lib/util.c:show_msg(291)
smb_bcc=0
==============================================================
I hope, someone knows more about that.
Mit freundlichen Grüßen
Kind Regards
--------------------------------
Bernhard Werheid
Zanders Feinpapiere AG
DV-Rechenzentrum
An der Gohrsmuehle
D-51465 Bergisch Gladbach
Phone: +49 2202 15-4731 (switch board: -0)
Mobile: +49 173 5494221
Fax: +49 2202 15-2873
<mailto:bernhard.werheid at m-real.com>
More information about the samba
mailing list