Cups prompts for authorization on a network printer even though it is not required

Bug #455734 reported by noble
8
This bug affects 1 person
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://ftp.usf.edu karmic/main Packages
        100 /var/lib/dpkg/status

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->Administration->Printing
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/ATEC0/HPDeskje
MachineType: LENOVO 2613CTO
NonfreeKernelModules: slamr
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=/boot/vmlinuz-2.6.31-14-generic root=UUID=8c74d8a1-9b66-4b02-a171-842c754ea8ad ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
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.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr79ETE3WW(2.23):bd09/12/2008:svnLENOVO:pn2613CTO:pvrThinkPadT60:rvnLENOVO:rn2613CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2613CTO
dmi.product.version: ThinkPad T60
dmi.sys.vendor: LENOVO

Revision history for this message
noble (noblebaker) wrote :
Revision history for this message
Jacobsallan (jacobsallan) wrote :

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.
Printer->Properties.
"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.
# 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://HP%20OfficeJet%20V40%20%40%20Marie%20Ochi%20-%20Jacobs%E2%80%99s%20iMac._ipp._tcp.local/cups
State Idle
StateTime 1287424135
Type 8425500
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-raster 100 rastertogutenprint.5.2
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>

Revision history for this message
Jacobsallan (jacobsallan) wrote :

https://help.ubuntu.com/10.10/printing/C/printing.html and all the other documentation does not mention the following procedure for printers that have already been added:
System Settings->Printing
Right click on the icon of a printer
"Enabled" should be checked.
Sometimes "Shared" should be checked.

The enabled and shared checkboxes may not have been there when the document was originally authored.
Otherwise, close this bug.

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

Hello Noble,
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 455734
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.