[Samba] Samba PDC and Automatic Printer Install

Kurt Pfeifle kpfeifle at danka.de
Sat Jan 17 13:11:44 GMT 2004


> Michael Aldrich maldrich at i-centrix.com
> Wed Jan 14 15:35:11 GMT 2004
> 
> Hello,
> I am trying to install automatic printer driver download and install.
> I am running Samba 3, as a PDC, on RedHat 7.3.
> 

Sorry, Mike,

I'm currently not able to follow the mails on this list one by one. Just
an occasional glance. So I haven't looked deeply into your problem either...

> It seems everything is setup correctly,

No. Not completely. You are trying to use a driver downloaded from the
Samba server, yet you still have set smb.comf to "use client driver = Yes".
Delete this line. Restart smbd. Then try again.

[...]

> rpcclient $> setdriver "lp" "HP LaserJet 2300 Series PCL 6"
> SetPrinter call failed!

[....]

> Snip from my smb.conf:
> [printers]

[....]

>         printing = cups
>         use client driver = Yes
           ^^^^^^^^^^^^^^^^^^^^^^^
[....]

> [lp]

[....]

>         use client driver = Yes
           ^^^^^^^^^^^^^^^^^^^^^^^

>         oplocks = No

[....]
> 
> Why do I get WERR_ACCESS_DENIED from SetPrinter?
> 

What you try to do is not compatible with "use client driver = Yes"

> Thanks
> Mike
> 
> 
> And thanks to Kurt for getting me this far....
> 

;-)

Cheers,
Kurt




More information about the samba mailing list