Cups prompts for authorization on a network printer even though it is not required
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cups
Description: Ubuntu karmic (development branch)
Release: 9.10
cups:
Installed: 1.4.1-5ubuntu2
Candidate: 1.4.1-5ubuntu2
Version table:
*** 1.4.1-5ubuntu2 0
500 http://
100 /var/lib/
What I expected to happen: Printing to a network printer without being asked for authorization
What actually happened: Authorization was requested when trying to print to the network printer
The printer in question is on a Windows XP machine and is accessed through a Samba share.
Steps to reproduce:
1. Install a Samba shared printer that does not require authorization by going to System-
2. On the wizard screen under Authorization leave the default setting, "Prompt user if authentication is required"
3. Print and be prompted for authorization
Details:
I get asked for authorization with every print. I can leave the password blank or put anything at all in the username and password fields and the document will print. It shows up as "Guest" user on the XP machine.
Workaround:
I tried changing the setting for the authorization to guest with no password but the change did not persist. This seems to be another bug which I will file separately. I got rid of the prompt by deleting and recreating the printer and setting the username to "guest" and leaving the password blank under authorization.
ProblemType: Bug
Architecture: i386
Date: Mon Oct 19 13:07:47 2009
DistroRelease: Ubuntu 9.10
Lpstat: device for HP-Deskjet-d1500: smb://SHARING/
MachineType: LENOVO 2613CTO
NonfreeKernelMo
Package: cups 1.4.1-5ubuntu2
Papersize: letter
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
PpdFiles: HP-Deskjet-d1500: HP Deskjet d1500 Series hpijs, 3.9.8
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: cups
Uname: Linux 2.6.31-14-generic i686
dmi.bios.date: 09/12/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 79ETE3WW (2.23 )
dmi.board.name: 2613CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 2613CTO
dmi.product.
dmi.sys.vendor: LENOVO
Description: Ubuntu lucid
Release: 10.04
# uname -a
Linux ceshannon 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux
System- >Administration ->Printing. >Properties.
Printer-
"Print Test Page"
The AuthInfoRequired setting in printers.conf is assigned automatically and cannot be overridden by simple edits. The assignment on my system and with my configuration choices is "none", which should disable authentication altogether. Instead cups prompts for the password for a username "none".
AuthInfoRequired is set to 'none' in printers.conf. /HP%20OfficeJet %20V40% 20%40%20Marie% 20Ochi% 20-%20Jacobs% E2%80%99s% 20iMac. _ipp._tcp. local/cups vnd.cups- raw 0 - vnd.cups- raster 100 rastertogutenpr int.5.2
# cat print*.conf
# Printer configuration file for CUPS v1.4.3
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter HP-OfficeJet-V40>
AuthInfoRequired none
Info HP OfficeJet V40
Location Machintosh printer
MakeModel HP OfficeJet V40 - CUPS+Gutenprint v5.2.5
DeviceURI dnssd:/
State Idle
StateTime 1287424135
Type 8425500
Filter application/
Filter application/
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>