[Pkg-cups-devel] Bug#520396: cups: cannot print on ipp printer

Vladislav Kurz vladki at mzk.cz
Thu Apr 30 13:26:09 UTC 2009


Package: cups
Version: 1.3.8-1lenny5
Followup-For: Bug #520396

Hello,

I have probably the same problem. Our cups server was recently upgraded
from etch to lenny. It provides access to many networked printers, most
of them are JetDirect (socket 9000) or classic lpd/lpr printers. Only
one of them is accessible via another cups server at remote location. The
remote server is old box with sarge (cups version 1.1.23-10). Since the
upgrade we cannot print on it. This is the relevant part of error_log.
Printer in question is cdma1, A.B.C.4 is client trying to print, A.B.C.2
is the upgraded server.

D [30/Apr/2009:15:15:43 +0200] cupsdAcceptClient: 8 from A.B.C.4:631 (IPv4)
D [30/Apr/2009:15:15:43 +0200] cupsdReadClient: 8 POST /printers/cdma1 HTTP/1.1
D [30/Apr/2009:15:15:43 +0200] cupsdAuthorize: No authentication data provided.
D [30/Apr/2009:15:15:43 +0200] Get-Printer-Attributes ipp://A.B.C.2:631/printers/cdma1
D [30/Apr/2009:15:15:43 +0200] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [30/Apr/2009:15:15:43 +0200] cupsdReadClient: 8 POST /printers/cdma1 HTTP/1.1
D [30/Apr/2009:15:15:43 +0200] cupsdAuthorize: No authentication data provided.
D [30/Apr/2009:15:15:43 +0200] Print-Job ipp://A.B.C.2:631/printers/cdma1
D [30/Apr/2009:15:15:43 +0200] Print-Job client-error-not-authorized: The printer or class is not shared!
D [30/Apr/2009:15:15:43 +0200] cupsdProcessIPPRequest: 8 status_code=403 (client-error-not-authorized)
D [30/Apr/2009:15:15:43 +0200] cupsdReadClient: 8 POST /printers/cdma1 HTTP/1.1
D [30/Apr/2009:15:15:43 +0200] cupsdAuthorize: No authentication data provided.
D [30/Apr/2009:15:15:43 +0200] Get-Printer-Attributes ipp://A.B.C.2:631/printers/cdma1
D [30/Apr/2009:15:15:43 +0200] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [30/Apr/2009:15:15:43 +0200] cupsdCloseClient: 8

I was trying to enable sharing of the printer but it didn't work. I
tried it via web interface, or form command line using

/usr/sbin/lpadmin -p cdma1 -o printer-is-shared=true

Even it does not print any error it is stil marked as not published (not
shared).  Comparing the logs, it seems that there is no communication
between the two cups servers, at the moment of printing, so access is
denied by the upgraded cups, not the old one with printer phyusically
connected.  There seems to be no such option in the configuration of
old cups.

Regards
Vladislav Kurz

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser         3.110                    add and remove users and groups
ii  cups-common     1.3.8-1lenny5            Common UNIX Printing System(tm) - 
ii  debconf [debcon 1.5.24                   Debian configuration management sy
ii  ghostscript     8.62.dfsg.1-3.2lenny1    The GPL Ghostscript PostScript/PDF
ii  libavahi-compat 0.6.23-3lenny1           Avahi Apple Bonjour compatibility 
ii  libc6           2.7-18                   GNU C Library: Shared libraries
ii  libcups2        1.3.8-1lenny5            Common UNIX Printing System(tm) - 
ii  libcupsimage2   1.3.8-1lenny5            Common UNIX Printing System(tm) - 
ii  libdbus-1-3     1.2.1-5                  simple interprocess messaging syst
ii  libgnutls26     2.4.2-6+lenny1           the GNU TLS library - runtime libr
ii  libkrb53        1.6.dfsg.4~beta1-5lenny1 MIT Kerberos runtime libraries
ii  libldap-2.4-2   2.4.11-1                 OpenLDAP libraries
ii  libpam0g        1.0.1-5+lenny1           Pluggable Authentication Modules l
ii  libpaper1       1.1.23+nmu1              library for handling paper charact
ii  libslp1         1.2.1-7.5                OpenSLP libraries
ii  lsb-base        3.2-20                   Linux Standard Base 3.2 init scrip
ii  perl-modules    5.10.0-19                Core Perl modules
ii  procps          1:3.2.7-11               /proc file system utilities
ii  ssl-cert        1.0.23                   simple debconf wrapper for OpenSSL
ii  xpdf-utils [pop 3.02-1.4                 Portable Document Format (PDF) sui

Versions of packages cups recommends:
pn  avahi-utils           <none>             (no description available)
ii  cups-client           1.3.8-1lenny5      Common UNIX Printing System(tm) - 
ii  foomatic-filters      3.0.2-20080211-3.2 OpenPrinting printer support - fil
ii  smbclient             2:3.2.5-4lenny2    a LanManager-like simple client fo

Versions of packages cups suggests:
ii  cups-bsd                1.3.8-1lenny5    Common UNIX Printing System(tm) - 
ii  cups-driver-gutenprint  5.0.2-4          printer drivers for CUPS
pn  cups-pdf                <none>           (no description available)
ii  foomatic-db             20080211-2+nmu1  OpenPrinting printer support - dat
ii  foomatic-db-engine      3.0.2-20080211-1 OpenPrinting printer support - pro
pn  hplip                   <none>           (no description available)
pn  xpdf-korean | xpdf-japa <none>           (no description available)

-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, lpd, parallel, socket, usb





More information about the Pkg-cups-devel mailing list