[Pkg-cups-devel] Bug#552116: [cups] /etc/cups/printers.conf regeneration breaks printers with URIs containing user and password information

Josep M. Perez josep.m.perez at bsc.es
Fri Oct 23 14:01:44 UTC 2009


Package: cups
Version: 1.4.1-5
Severity: important

--- Please enter the report below this line. ---

When CUPS regenerates /etc/cups/printers.conf it adds additional
entries that change the way printing jobs are authenticated. In my
case, the affected printer is configured with a URI similar to this:

DeviceURI ipp://a_remote_user_name:passwd@server_ip/printers/queue_name

This configuration worked in cups 1.3. However, when cups rewrites the
file, it adds the following line to the printer entry:

AuthInfoRequired username,password

After that, all print jobs have to be authenticated manually. Removing
that line manually and restarting cups leads back to the expected
authentication behavior, but the file gets rewritten, and following
daemon restarts will cause jobs to trigger the manual authentication.

This problem is made worse due to the cups daemon rewriting the file at
every start (bug #552086).

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.30-2-amd64

Debian Release: squeeze/sid
  500 unstable        ftp.nl.debian.org 
  500 sid             www.lamaresh.net 

--- Package information. ---
Depends                    (Version) | Installed
====================================-+-================
libavahi-client3         (>= 0.6.16) | 0.6.25-1
libavahi-common3         (>= 0.6.16) | 0.6.25-1
libc6                       (>= 2.7) | 2.10.1-1
libcups2                  (>= 1.4.0) | 1.4.1-5
libcupscgi1               (>= 1.4.0) | 1.4.1-5
libcupsdriver1            (>= 1.4.0) | 1.4.1-5
libcupsimage2             (>= 1.4.0) | 1.4.1-5
libcupsmime1              (>= 1.4.0) | 1.4.1-5
libcupsppdc1              (>= 1.4.0) | 1.4.1-5
libdbus-1-3               (>= 1.0.2) | 1.2.16-2
libgcc1                 (>= 1:4.1.1) | 1:4.4.2-1
libgnutls26            (>= 2.7.14-0) | 2.8.4-1
libgssapi-krb5-2     (>= 1.6.dfsg.2) | 1.7dfsg~beta3-1
libijs-0.35                          | 0.35-7
libkrb5-3            (>= 1.6.dfsg.2) | 1.7dfsg~beta3-1
libldap-2.4-2             (>= 2.4.7) | 2.4.17-2
libpam0g               (>= 0.99.7.1) | 1.1.0-4
libpaper1                            | 1.1.23+nmu1
libpoppler4                          | 0.10.6-1
libslp1                              | 1.2.1-7.6
libstdc++6                (>= 4.1.1) | 4.4.2-1
libusb-0.1-4           (>= 2:0.1.12) | 2:0.1.12-13
zlib1g                  (>= 1:1.1.4) | 1:1.2.3.3.dfsg-15
debconf                  (>= 1.2.9)  | 1.5.28
 OR debconf-2.0                      | 
poppler-utils                        | 0.12.0-2
 OR xpdf-utils                       | 
perl-modules                         | 5.10.1-5
procps                               | 1:3.2.8-2
ghostscript                          | 8.70~dfsg-2+b1
lsb-base                      (>= 3) | 3.2-23
cups-common               (>= 1.4.1) | 1.4.1-5
cups-client             (>= 1.4.1-5) | 1.4.1-5
ssl-cert                 (>= 1.0.11) | 1.0.23
adduser                              | 3.111
bc                                   | 1.06.95-2
ttf-freefont                         | 20090104-4


Recommends                  (Version) | Installed
=====================================-+-===========
foomatic-filters             (>= 4.0) | 4.0-20090509-1
cups-driver-gutenprint                | 5.2.4-1
ghostscript-cups                      | 8.70~dfsg-2+b1


Suggests                      (Version) | Installed
=======================================-+-===========
cups-bsd                                | 1.4.1-5
cups-ppdc                               | 
foomatic-db-engine                      | 4.0-20090509-2
foomatic-db                             | 20090616-1
hplip                                   | 3.9.2-3
xpdf-korean                             | 
 OR xpdf-japanese                       | 
 OR xpdf-chinese-traditional            | 
 OR xpdf-chinese-simplified             | 
cups-pdf                                | 2.5.0-8
smbclient                    (>= 3.0.9) | 
udev                                    | 146-5











More information about the Pkg-cups-devel mailing list