SetPrinter call failed

Meik Hellmund hellmund at
Thu Jan 9 11:09:00 GMT 2003

SetPrinter call failed


I'm trying to add printer drivers to samba using cupsaddsmb (CUPS1.1.18).
This fails on samba3-alpha21 which comes with Debian/unstable. I installed the
samba cvs version from today but with the same result. The problem is a 
rpcclient call:

~#rpcclient localhost  -U root  -c 'setdriver pp1 pp1' -d3
lp_load: refreshing parameters
Initialising global parameters
Connecting to host=localhost share=IPC$
Connecting to at port 445
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
lsa_io_sec_qos: length c does not match size 8
SetPrinter call failed!

This is independent of whether printers/drivers named pp1 really exist, you
can use arbitrary strings instead of "pp1", so you should be able to reproduce
this without cups or printer drivers. 

I can provide more debug info and try anything needed to help. 
Any help is greatly appreciated.



Meik Hellmund
Institut fuer Mathematik, Uni Leipzig
e-mail: hellmund at

More information about the samba-technical mailing list