[Samba] Samba PDC and Automatic Printer Install

Michael Aldrich maldrich at i-centrix.com
Mon Jan 19 15:26:51 GMT 2004


The below mentioned have all been fixed. I can see the printer 'HP2300' from
my XP Pro machine (in 'Ready' status), but I cannot print to it.
In my /var/log/cups/error_log, I see:

E [19/Jan/2004:10:22:23 -0500] get_jobs: resource name '/printers/HP2300' no
good!
E [19/Jan/2004:10:22:23 -0500] get_printer_attrs: resource name
'/printers/::{2227a280-3aea-1069-a2de-08002b30309d}' no good!
E [19/Jan/2004:10:22:32 -0500] print_job: resource name '/printers/HP2300'
no good!

Thanks
Mike

-----Original Message-----
From: samba-bounces+maldrich=i-centrix.com at lists.samba.org
[mailto:samba-bounces+maldrich=i-centrix.com at lists.samba.org]On Behalf
Of Kurt Pfeifle
Sent: Saturday, January 17, 2004 8:12 AM
To: samba at lists.samba.org
Subject: [Samba] Samba PDC and Automatic Printer Install


> 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


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list