[Pkg-cups-devel] Bug#520396: cups fails to print on polled printers with client-error-not-authorized
Sigmund Scheinbar
sigmund-debian at synflood.homelinux.org
Thu Mar 19 11:14:23 UTC 2009
Package: cups
Version: 1.3.8-1lenny4.1
Severity: grave
Justification: renders package unusable
Since upgrading from etch to lenny printing on polled printers fails:
user at client-host:~$ lpstat -p
printer mfp_4730 is idle. enabled since Thu 19 Mar 2009 10:38:44 CET
CEST
[...]
user at client-host:~$ lp -d mfp_4730 /tmp/cpuinfo
lp: The printer or class is not shared!
The server log looks like this:
/var/log/cups/access_log:
192.168.2.2 - - [19/Mar/2009:11:44:00 +0100] "POST / HTTP/1.1" 200 417
CUPS-Get-Classes successful-ok
192.168.2.2 - - [19/Mar/2009:11:44:01 +0100] "POST / HTTP/1.1" 200 417
CUPS-Get-Classes successful-ok
192.168.2.2 - - [19/Mar/2009:11:44:01 +0100] "POST /printers/ischl_mfp_4730
HTTP/1.1" 200 1674 Print-Job client-error-not-authorized
My Server config is quite lenny default plus one Allow line per Location
directive:
# Only listen for connections from the local machine.
-Listen localhost:631
+Listen *:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
+BrowsePoll another-cups-server-on-lenny
# Default authentication type, when authentication is required...
DefaultAuthType Basic
@@ -29,11 +28,16 @@
# Restrict access to the server...
<Location />
Order allow,deny
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
+ Allow 192.168.0.0/16
</Location>
# Restrict access to configuration files...
@@ -41,6 +45,8 @@
AuthType Default
Require user @SYSTEM
Order allow,deny
+ Allow 192.168.0.0/16
</Location>
Of course printing from any GUI e.g. kdeprint also fails.
Just for testing a attached an old printer on my local sever - which
works fine, however for my purpose cups is (since the upgrade) unusable
for me and all users on the network.
Cheers
Sigmund
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i586)
Kernel: Linux 2.6.26-1-486
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
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-1lenny4.1 Common UNIX Printing
System(tm) -
ii debconf [debconf-2 1.5.24 Debian configuration
management sy
ii ghostscript 8.62.dfsg.1-3.2lenny0 The GPL Ghostscript
PostScript/PDF
ii libavahi-compat-li 0.6.23-3lenny1 Avahi Apple Bonjour
compatibility
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcups2 1.3.8-1lenny4.1 Common UNIX Printing
System(tm) -
ii libcupsimage2 1.3.8-1lenny4.1 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-5 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.11-1 OpenLDAP libraries
ii libpam0g 1.0.1-5 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 poppler-utils [xpd 0.8.7-1 PDF utilitites (based on
libpopple
ii procps 1:3.2.7-11 /proc file system utilities
ii ssl-cert 1.0.23 simple debconf wrapper for
OpenSSL
Versions of packages cups recommends:
pn avahi-utils <none> (no description available)
ii cups-client 1.3.8-1lenny4.1 Common UNIX Printing
System(tm) -
ii foomatic-filters 3.0.2-20080211-3.2 OpenPrinting printer
support - fil
ii smbclient 2:3.2.5-4 a LanManager-like simple
client fo
Versions of packages cups suggests:
pn cups-bsd <none> (no description available)
pn cups-driver-gutenprint <none> (no description available)
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