Error: client-error-not-authorized when adding a printer

Bug #14433 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
cupsys (Debian)
Fix Released
Unknown
cupsys (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #301012 http://bugs.debian.org/301012

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 23 Mar 2005 11:22:43 +0100
From: Mauro Mazzieri <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: Error: client-error-not-authorized when adding a printer

Package: cupsys
Version: 1.1.23-7
Severity: grave
Justification: renders package unusable

After upgrading to 1.1.23-7, CUPS is not more usable.
I had a working local raw printer, called "samsung", with 4 pending jobs, and it stopped working. "lpadmin -p samsung" give the error "client-error-not-authorized".
Purging cupsys and reinstalling it, I can no more add a printer. In
/etc/cups/cupsd.conf, I added "Allow From 192.168.*" (my local net)
below "Allow From 127.0.0.1" for "Location /" and "Location /admin".
In the web interface, I can log in, add a new printer, type in the name,
select the port, select the model driver ("Raw", "Raw Queue (en)");
then, "Continue" bring to a page with "Error: client-error-not-authorized".

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)

Versions of packages cupsys depends on:
ii adduser 3.63 Add and remove users and groups
ii debconf 1.4.30.11 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libcupsimage2 1.1.23-7 Common UNIX Printing System(tm) -
pi libcupsys2-gnutls10 1.1.23-7 Common UNIX Printing System(tm) -
ii libgnutls11 1.0.16-9 GNU TLS library - runtime library
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libpaper1 1.1.14-3 Library for handling paper charact
ii libslp1 1.0.11a-2 OpenSLP libraries
ii patch 2.5.9-2 Apply a diff file to an original
ii perl-modules 5.8.4-8 Core Perl modules
ii xpdf-utils 3.00-12 Portable Document Format (PDF) sui
ii zlib1g 1:1.2.2-3 compression library - runtime

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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 23 Mar 2005 19:52:58 +0900
From: Kenshi Muto <email address hidden>
To: Mauro Mazzieri <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: Bug#301012: Error: client-error-not-authorized when adding a printer

severity 301012 important
thanks

At Wed, 23 Mar 2005 11:22:43 +0100,
Mauro Mazzieri wrote:
> Package: cupsys
> Version: 1.1.23-7
> Severity: grave
> Justification: renders package unusable
>
> After upgrading to 1.1.23-7, CUPS is not more usable.
> I had a working local raw printer, called "samsung", with 4 pending jobs, and it stopped working. "lpadmin -p samsung" give the error "client-error-not-authorized".
> Purging cupsys and reinstalling it, I can no more add a printer. In
> /etc/cups/cupsd.conf, I added "Allow From 192.168.*" (my local net)
> below "Allow From 127.0.0.1" for "Location /" and "Location /admin".
> In the web interface, I can log in, add a new printer, type in the name,
> select the port, select the model driver ("Raw", "Raw Queue (en)");
> then, "Continue" bring to a page with "Error: client-error-not-authorized".

Can you see any useful messages at /var/log/cups/error_log?

Thanks,
--
Kenshi Muto
<email address hidden>

Revision history for this message
Matt Zimmerman (mdz) wrote :

    cupsys | 1.1.23-1ubuntu12 | http://us.archive.ubuntu.com hoary/main Packages

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 24 Jun 2005 16:46:53 +0200
From: Andres Freund <email address hidden>
To: <email address hidden>
Subject: Re: Bug#301012: Error: client-error-not-authorized when adding a printer

--nextPart2014172.MBJf1OWxcd
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I had the same problem with an unstable/experimental system. The problem wa=
s,=20
that no /etc/cups/passwd.md5 existed. This error also appeared in the error=
=20
log.
I could solve this problem through typing "lppasswd -a". After this everyth=
ing=20
worked.
I think this should be done in some automatic way.

I hope i could help

Andres Freund

--nextPart2014172.MBJf1OWxcd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCvBzhporPraT14igRArFzAJ0aJGjwEiXReBqkKXcTq/xZfm34YgCeNFO4
5bPOAyaFniEcxRrWxP4/LJ8=
=+7Oo
-----END PGP SIGNATURE-----

--nextPart2014172.MBJf1OWxcd--

Changed in cupsys:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.