[Samba] rpcclient returns NT_STATUS_NO_SUCH_DEVICE on adddriver
Damien Bonvillain
kame at cinemasie.com
Mon Jun 30 00:09:19 GMT 2003
Note: I reply before having received Kurt's answer by mail, thus this mail doesn't have
the right headers
Kurt Pfeifle wrote
> Read 8.5 too...
I did but I did not find anything helping me in this case. I should have mentionned it.
> Also, 7.11.6 is describing the pure commandline installation of
> the driver files using smbclient and rpcclient. Your quotes below
> show your usage of "cupsaddsmb", which is discussed in 7.10.x...
Yes. It failed with cupsaddsmb, so I did the process step by step with the verifications
in order to give a more precise status.
> Try "security = user"...
Ok, now adddriver works with a successful status, but the driver doesn't show up in
"enumdrivers 3". The files are present in 0 and 2, and Windows recognize them as driver
files if I go to the "Properties" of the Printers folder. In log.smbd, there are no error
neither for adddriver nor for enumdrivers as far as I can tell. It's rather strange.
Of course after that, setdriver fails with NT_STATUS_ACCESS_DENIED and this in log.smbd
[2003/06/30 02:06:42, 3] rpc_server/srv_pipe.c:api_rpcTNP(1197)
api_rpcTNP: pipe 29776 rpc command: SPOOLSS_SETPRINTER
[2003/06/30 02:06:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(607)
spoolss_io_devmode: Unknown specversion in devicemode [0x0]
[2003/06/30 02:06:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(608)
spoolss_io_devmode: please report to samba-technical at samba.org!
[2003/06/30 02:06:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(704)
spoolss_io_devmode: I've parsed all I know and there is still stuff left|
[2003/06/30 02:06:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(706)
spoolss_io_devmode: available_space = [-220], devmode_size = [0]!
[2003/06/30 02:06:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(707)
spoolss_io_devmode: please report to samba-technical at samba.org!
[2003/06/30 02:06:42, 0] rpc_server/srv_spoolss.c:api_spoolss_setprinter(600)
spoolss_io_q_setprinter: unable to unmarshall SPOOL_Q_SETPRINTER.
[2003/06/30 02:06:42, 0] rpc_server/srv_pipe.c:api_rpcTNP(1217)
api_rpcTNP: api_spoolss_rpc: SPOOLSS_SETPRINTER failed.
Damien
More information about the samba
mailing list