cups web interface doesn't handle passwords with spaces

Bug #1672378 reported by Simon B
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When I try to add a printer (or any other operation requiring permissions) in the CUPS web interface (http://localhost:631/), my user and my password are asked. Then my password is rejected. My password contains spaces at extremities and the problem get solved if I change it for a password without spaces.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cups 2.1.3-4
ProcVersionSignature: Ubuntu 4.4.0-53.74-generic 4.4.30
Uname: Linux 4.4.0-53-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.2
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Mar 13 14:08:47 2017
InstallationDate: Installed on 2016-09-09 (184 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
KernLog:

MachineType: Hewlett-Packard HP EliteBook 840 G1
Papersize: a4
PpdFiles:
 Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/Photosmart-B110-series.ppd', '/etc/cups/ppd/HL-2030-series.ppd', '/etc/cups/ppd/e-STUDIO4520C.ppd'] failed with exit code 2: grep: /etc/cups/ppd/Photosmart-B110-series.ppd: Permission denied
 grep: /etc/cups/ppd/HL-2030-series.ppd: Permission denied
 grep: /etc/cups/ppd/e-STUDIO4520C.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-53-generic root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/26/2016
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: L71 Ver. 01.35
dmi.board.name: 198F
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 15.57
dmi.chassis.asset.tag: 5CG5120J7H
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrL71Ver.01.35:bd01/26/2016:svnHewlett-Packard:pnHPEliteBook840G1:pvrA3008CD10003:rvnHewlett-Packard:rn198F:rvrKBCVersion15.57:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 840 G1
dmi.product.version: A3008CD10003
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Simon B (simon-boulier) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

This is a bug in upstream CUPS. Please report it upstream on http://www.cups.org/

Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello Simon,
Thank you for submitting this bug and reporting a problem with cups. You made this bug report some time ago and Ubuntu and cups have been updated since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know and, in the current version, could you run the following (only once):
apport-collect 1672378
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu and cups better.
G

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

Changed in cups (Ubuntu):
status: Incomplete → Expired
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.