cupsaddsmb: setdriver result was WERR_ACCESS_DENIED

Kurt Pfeifle kurt.pfeifle at infotec.com
Sat Apr 17 14:56:55 PDT 2010


> and  the next "cupsaddsmb command":
> rpcclient localhost -N -A /tmp/4b9fcdd2276af -c � adddriver "Windows NT
> x86"
> "hp3550color:pscript5.dll:hp3550color.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,hp3550color.ppd,ps5ui.dll,pscript.hlp,pscript.ntf,cups6.ini,cupsps6.dll,cupsui6.dll" �
> WARNING: The "printer admin" option is deprecated
> Printer Driver hp3550color successfully installed.
>
> was OK.
>
> But the last "cupsaddsmb command":
> rpcclient localhost -N -A /tmp/4b9fcdd2276af -c � setdriver hp3550color
> hp3550color �
> WARNING: The "printer admin" option is deprecated
> *result was WERR_ACCESS_DENIED*
>
> Not possible to install drivers for windows (1).
>
> *******************************************
> Why i get this error?


Unfortunately I cannot identify the exact output of your cupsaddsmb command since its display is garbled in the web URL  (http://www.cups.org/newsgroups.php?r20431+gcups.general+T0)  I'm using to access this forum.

However, you can always try to run the "rpcclient localhost ....setdriver...." command from a shell. It's a Samba command, and therefor you can add "-d 2" or -d 3" or even "-d 10" for added debug output.

Be aware that the "-A /tmp/4b9fcdd2276af" was reading your username/password credentials from a temporary file that is (hopefully) gone by now. (The temp file was created from the input you gave on the original commandline.) So you'll have to adjust the "rpcclient localhost ....setdriver...."  accordingly by adding the Samba "-U <username>" parameter (and leave out the "-A /tmp/..." part from the above read commandline. See also "man rpcclient".

Cheers,
Kurt




More information about the cups mailing list