[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CUPS and samba intergration problem



Am Donnerstag, 1. Dezember 2005 22:12 schrieb Tom Vier:
> On Tue, Nov 29, 2005 at 07:27:34PM +0100, Hendrik Sattler wrote:
> > Did you try without the last three command lines? Ususally, you do not
> > need to set anything like that for cups, there is special support for
> > cups in samba and it would be bad it did not have the right commands for
> > all that.
>
> When i try without that, and comment out "passwd backend" (set to "guest"
> before, which i don't think is valid) it gets this far:
>
>
> [2005/12/01 16:09:32, 0] printing/print_cups.c:cups_queue_get(790)
>   Unable to get jobs for ipp://localhost/printers/printers -
> client-error-not-found

Again, this points to an inaccessable CUPS (that implements the Internet 
Printing Protocol) on the localhost network interface (127.0.0.1). Either 
this is not present (must be) or

CUPS does not listen on localhost (also a must) or

a firewall causes this (does not really make sense on localhost) or

there exists not CUPS printer entry with the name "printers" (that most likely 
your problem because this sounds like a strange naming)

> [2005/12/01 16:09:38, 1] smbd/service.c:make_connection_snum(642)
>   triad-laptop (192.168.255.82) connect to service printers initially as
> user nobody (uid=65534, gid=65534) (pid 24695)
> [2005/12/01 16:09:39, 0] printing/print_cups.c:cups_job_submit(643)
>   Unable to print file to printers - client-error-not-found
> [2005/12/01 16:09:43, 1] smbd/service.c:close_cnum(830)
>   triad-laptop (192.168.255.82) closed connection to service printers

Those are only there because of the failure. Again, check "netstat -lp" or 
"netstat -lnp" and make sure that CUPS listens on localhost.
You can also check by opening
 http://localhost:631/printers
yourself.

Normally, problems like this a straight-forward to solve with some common 
sense (example here: thinking about the URL from the error message above).

HS

-- 
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
        oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.org

Attachment: pgpTq1hHhndPo.pgp
Description: PGP signature


Reply to: