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:pgpjkUGo01Bik.pgp
Description: PGP signature



Relevant Pages

  • Re: Weird issue with System.NullReferenceException
    ... >I am having a very strange issue with my asp.net application. ... > web page using the localhost in the page URL ... > click the command button to update the datagrid with new values. ...
    (microsoft.public.dotnet.general)
  • Re: [opensuse] dns resolution problems - fresh 11.1rc1 install
    ... You see there are some slight differences. ... localhost ... one name server just to eliminate a troubleshooting variable. ... command has never had problems resolving from either name server ...
    (SuSE)
  • Starting new entries in /etc/rc.conf
    ... I recently whacked the default outgoing mail process on my ... FreeBSD-4.8 system and could no longer send mail with Pine using ... "localhost" although I could in fact send mail with the command: ... I see basicall the command of `sendmail -bd` nested in the ...
    (freebsd-questions)
  • [SLE] Problems with localhost
    ... On a command ... pinging localhost responds correctly showing an IP address of ... of "localhost" results in no response from the browser. ... If the firewall is stopped, the localhost address works in either browser. ...
    (SuSE)
  • Re: CUPS and samba intergration problem
    ... >> Did you try without the last three command lines? ... > triad-laptop connect to service printers initially as ... Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de ...
    (Debian-User)