[Pkg-cups-devel] Bug#570460: cups: web admin authentication failing

Brent webe3vt at aim.com
Fri Feb 19 00:02:31 UTC 2010


Package: cups
Version: 1.4.2-4
Severity: important

Something has recently caused cups admin authentication to fail.  This used to work and I haven't changed the password.  I have always authenticated on the web interface using root and the password for root.  All of a sudden it is failing.  I get the window asking me to authenticate and it has the remembered userid of root and password.  I click on okay and it flashes and then comes up again.  I hit enter again and then the browser window goes blank.  I navigated back and tried again this time using my normal userid and got a failure message which I expected since I always used root before.  Now, I no longer get prompted for any admin login information when I do something that requires admin access.

Here are the errors in the log:

E [18/Feb/2010:18:26:33 -0500] cupsdAuthorize: pam_authenticate() returned 7 (Authentication failure)!
E [18/Feb/2010:18:28:00 -0500] cupsdAuthorize: pam_authenticate() returned 7 (Authentication failure)!
E [18/Feb/2010:18:32:43 -0500] cupsdAuthorize: pam_authenticate() returned 7 (Authentication failure)!
E [18/Feb/2010:18:32:58 -0500] Returning HTTP Forbidden for CUPS-Set-Default (ipp://localhost/printers/MFC9010CN) from localhost
E [18/Feb/2010:18:33:30 -0500] Returning HTTP Forbidden for CUPS-Set-Default (ipp://localhost/printers/MFC9010CN) from localhost


The Authentication failure errors are from when I tried root as I always have.  The last two are what I get now every time I do something that requires authentication.  I don't even get a login window anymore.

Here is what is in the access log:

localhost - - [18/Feb/2010:07:48:31 -0500] "POST / HTTP/1.1" 400 0 unknown-0000 -
localhost - - [18/Feb/2010:07:49:56 -0500] "POST / HTTP/1.1" 400 0 unknown-0000 -
localhost - - [18/Feb/2010:07:52:53 -0500] "POST / HTTP/1.1" 400 0 unknown-0000 -
localhost - - [18/Feb/2010:07:53:12 -0500] "POST /printers/MFC9010CN HTTP/1.1" 200 30911 Print-Job successful-ok
localhost - - [18/Feb/2010:07:58:58 -0500] "POST /admin/ HTTP/1.1" 200 40 - -
localhost - - [18/Feb/2010:07:58:58 -0500] "POST /admin/ HTTP/1.1" 401 122 CUPS-Set-Default successful-ok
localhost - - [18/Feb/2010:07:58:58 -0500] "POST /admin/ HTTP/1.1" 401 40 - -
localhost - - [18/Feb/2010:07:58:58 -0500] "POST /admin/ HTTP/1.1" 200 40 - -
localhost - root [18/Feb/2010:07:59:00 -0500] "POST /admin/ HTTP/1.1" 200 40 - -
localhost - - [18/Feb/2010:07:59:00 -0500] "POST /admin/ HTTP/1.1" 401 122 CUPS-Set-Default successful-ok
localhost - root [18/Feb/2010:07:59:00 -0500] "POST /admin/ HTTP/1.1" 200 122 CUPS-Set-Default successful-ok
localhost - root [18/Feb/2010:07:59:00 -0500] "POST /admin/ HTTP/1.1" 200 2165 - -
localhost - - [18/Feb/2010:07:59:13 -0500] "POST / HTTP/1.1" 400 0 unknown-0000 -
localhost - - [18/Feb/2010:18:26:23 -0500] "POST /admin/ HTTP/1.1" 200 40 - -
localhost - - [18/Feb/2010:18:26:23 -0500] "POST /admin/ HTTP/1.1" 401 125 CUPS-Set-Default successful-ok
localhost - - [18/Feb/2010:18:26:23 -0500] "POST /admin/ HTTP/1.1" 401 40 - -
localhost - - [18/Feb/2010:18:26:23 -0500] "POST /admin/ HTTP/1.1" 200 40 - -
localhost - - [18/Feb/2010:18:26:31 -0500] "POST /admin/ HTTP/1.1" 200 40 - -
localhost - - [18/Feb/2010:18:26:33 -0500] "POST /admin/ HTTP/1.1" 401 125 CUPS-Set-Default successful-ok
localhost - - [18/Feb/2010:18:26:31 -0500] "POST /admin/ HTTP/1.1" 401 40 - -
localhost - - [18/Feb/2010:18:26:31 -0500] "POST /admin/ HTTP/1.1" 200 40 - -
localhost - - [18/Feb/2010:18:32:41 -0500] "POST /admin/ HTTP/1.1" 200 40 - -
localhost - - [18/Feb/2010:18:32:43 -0500] "POST /admin/ HTTP/1.1" 401 125 CUPS-Set-Default successful-ok
localhost - - [18/Feb/2010:18:32:41 -0500] "POST /admin/ HTTP/1.1" 401 40 - -
localhost - - [18/Feb/2010:18:32:41 -0500] "POST /admin/ HTTP/1.1" 200 40 - -
localhost - wendy [18/Feb/2010:18:32:58 -0500] "POST /admin/ HTTP/1.1" 200 40 - -
localhost - - [18/Feb/2010:18:32:58 -0500] "POST /admin/ HTTP/1.1" 401 125 CUPS-Set-Default successful-ok
localhost - wendy [18/Feb/2010:18:32:58 -0500] "POST /admin/ HTTP/1.1" 403 125 CUPS-Set-Default successful-ok
localhost - wendy [18/Feb/2010:18:32:58 -0500] "POST /admin/ HTTP/1.1" 200 1876 - -
localhost - wendy [18/Feb/2010:18:33:30 -0500] "POST /admin/ HTTP/1.1" 200 40 - -
localhost - - [18/Feb/2010:18:33:30 -0500] "POST /admin/ HTTP/1.1" 401 125 CUPS-Set-Default successful-ok
localhost - wendy [18/Feb/2010:18:33:30 -0500] "POST /admin/ HTTP/1.1" 403 125 CUPS-Set-Default successful-ok
localhost - wendy [18/Feb/2010:18:33:30 -0500] "POST /admin/ HTTP/1.1" 200 1876 - -

I am trying to set one of the printers as the default but it never works.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.091223 (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser                3.112             add and remove users and groups
ii  bc                     1.06.95-2         The GNU bc arbitrary precision cal
ii  cups-client            1.4.2-4           Common UNIX Printing System(tm) - 
ii  cups-common            1.4.2-4           Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0]  1.5.28            Debian configuration management sy
ii  ghostscript            8.70~dfsg-2.1     The GPL Ghostscript PostScript/PDF
ii  libavahi-client3       0.6.25-3          Avahi client library
ii  libavahi-common3       0.6.25-3          Avahi common library
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libcups2               1.4.2-4           Common UNIX Printing System(tm) - 
ii  libcupscgi1            1.4.2-4           Common UNIX Printing System(tm) - 
ii  libcupsdriver1         1.4.2-4           Common UNIX Printing System(tm) - 
ii  libcupsimage2          1.4.2-4           Common UNIX Printing System(tm) - 
ii  libcupsmime1           1.4.2-4           Common UNIX Printing System(tm) - 
ii  libcupsppdc1           1.4.2-4           Common UNIX Printing System(tm) - 
ii  libdbus-1-3            1.2.20-2          simple interprocess messaging syst
ii  libgcc1                1:4.4.2-9         GCC support library
ii  libgnutls26            2.8.5-2           the GNU TLS library - runtime libr
ii  libgssapi-krb5-2       1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries - k
ii  libijs-0.35            0.35-7            IJS raster image transport protoco
ii  libkrb5-3              1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries
ii  libldap-2.4-2          2.4.17-2.1        OpenLDAP libraries
ii  libpam0g               1.1.1-1           Pluggable Authentication Modules l
ii  libpaper1              1.1.23+nmu1       library for handling paper charact
ii  libpoppler5            0.12.2-2          PDF rendering library
ii  libslp1                1.2.1-7.6         OpenSLP libraries
ii  libstdc++6             4.4.2-9           The GNU Standard C++ Library v3
ii  libusb-0.1-4           2:0.1.12-14       userspace USB programming library
ii  lsb-base               3.2-23            Linux Standard Base 3.2 init scrip
ii  perl-modules           5.10.1-11         Core Perl modules
ii  poppler-utils          0.12.2-2          PDF utilitites (based on libpopple
ii  procps                 1:3.2.8-2         /proc file system utilities
ii  ssl-cert               1.0.25            simple debconf wrapper for OpenSSL
ii  ttf-freefont           20090104-5        Freefont Serif, Sans and Mono True
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages cups recommends:
ii  cups-driver-gutenprint    5.2.4-1        printer drivers for CUPS
ii  foomatic-filters          4.0-20090509-1 OpenPrinting printer support - fil
ii  ghostscript-cups          8.70~dfsg-2.1  The GPL Ghostscript PostScript/PDF

Versions of packages cups suggests:
ii  cups-bsd                  1.4.2-4        Common UNIX Printing System(tm) - 
pn  cups-pdf                  <none>         (no description available)
ii  cups-ppdc                 1.4.2-4        Common UNIX Printing System(tm) - 
ii  foomatic-db               20090616-1     OpenPrinting printer support - dat
ii  foomatic-db-engine        4.0-20090509-1 OpenPrinting printer support - pro
pn  hplip                     <none>         (no description available)
ii  smbclient                 2:3.4.5~dfsg-1 command-line SMB/CIFS clients for 
ii  udev                      150-2          /dev/ and hotplug management daemo
pn  xpdf-korean | xpdf-japane <none>         (no description available)

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





More information about the Pkg-cups-devel mailing list