[Pkg-cups-devel] Bug#367479: cupsys: CUPS 1.2 does not permit administration

Bastian Kleineidam calvin at users.sourceforge.net
Thu Jun 8 20:00:58 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I had the same problem. I solved it by:

1) deleting the "AuthType Basic" stuff from the <Limit> entry in
cupsd.conf. Patch is attached. This got rid of the "Resume-Printer:
Unauthorized" error.
2) Modify my installed printer, changing the old usb:/dev/usb/lp0 into
the new format usb://HP/LaserJet%201300
The cupsys postinst should check for such old device entries, or at
least mention it in NEWS.Debian. The error message in the error_log is
totally useless:
E [08/Jun/2006:21:44:29 +0200] PID 28787 (/usr/lib/cups/backend/usb)
stopped with status 1!
E [08/Jun/2006:21:44:29 +0200] [Job 181] Unable to open USB device
"usb:/dev/usb/lp0": Success

Anyway, now I can print again.


Regards,
  Bastian
- --
  ,''`.                  Bastian Kleineidam
 : :' :                    GnuPG Schlüssel
 `. `'    gpg --keyserver wwwkeys.pgp.net --recv-keys 32EC6F3E
   `-

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEiIH6eBwlBDLsbz4RAgcOAKDEWTefJxxTGYSrGZNw7AyRLrk56ACfQ4Y8
nrgSlbSueLslyfibGznNzQo=
=sbYK
-----END PGP SIGNATURE-----
-------------- next part --------------
--- cupsd.conf.orig	2006-06-08 21:37:04.818947322 +0200
+++ cupsd.conf	2006-06-08 21:38:43.116278819 +0200
@@ -60,7 +60,6 @@
 
   # All administration operations require an adminstrator to authenticate...
   <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
-    AuthType Basic
     Require user @SYSTEM
     Order deny,allow
   </Limit>


More information about the Pkg-cups-devel mailing list