Evince asks for samba authentication when it doesn't need to.

Bug #637405 reported by Geoff Goehle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
New
Low
Unassigned

Bug Description

Binary package hint: evince

When printing a pdf with a samba network printer evince always asks for authentication. If the authentication has been stored for the printer Evince still asks for authentication but uses the stored username and password.

This produces the unexpected result that the document still prints correctly if you type in an incorrect (or blank) username and password when evince asks.

Revision history for this message
Geoff Goehle (goehle) wrote :

This may not be evince specific. I am seeing the same behavior in other programs (such as chrome). My guess is that it has to do with gnome printing or cups but I'm not sure which package.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it without more information. Please include the information requested at https://wiki.ubuntu.com/DebuggingPrintingProblems as separate attachments.

Changed in evince (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in evince (Ubuntu):
status: Incomplete → Invalid
Geoff Goehle (goehle)
Changed in evince (Ubuntu):
status: Invalid → New
Revision history for this message
Geoff Goehle (goehle) wrote :

I was waiting until Maverick to see if this bug was still here... and it is!

I've set up a samba network printer in a fresh Maverick install and included my authorization details in the printer setup. I printed a test page with evince and was asked for authorization. I _didn't_ put in my authorization details and clicked ok and the job printed sucessfully (using my stored authentication I imagine). Ive included the debugging information from the cups log and the print job data.

Revision history for this message
Geoff Goehle (goehle) wrote :
Revision history for this message
Jonas Finnemann Jensen (jopsen) wrote :

In case information is still missing I'll just provide a screenshot... The problem is that the user is not asked if the username/password should be saved... This is quite annoying when security policies requires that your password is 1/10 of a twitter-post :)

 - I hope someone can find a fix for this...

//Regards Jonas Finnemann Jensen.

Revision history for this message
Jonas Finnemann Jensen (jopsen) wrote :

I don't think this is evince releated...

Also if you, when adding the printer in system-config-printer -> Add -> Network printer -> Windows Printer via Samba, choose "Set authentication details now" instead of "Promt user if authentication is required", your password will be remembered... And if you're login details are wrong it will offer you the option of saving them...

So it seems that the "Promt user if authentication is required" never allows the user to save the login credentials, this is inconsistent and doesn't really make sense... This is probably a bug in the part of gnome that manages printer authentication...

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you get the same issue if you print from i.e gedit?

Revision history for this message
Geoff Goehle (goehle) wrote :

Yes. I see the same behavior from gedit and from anything which uses the default gnome print dialog. I do not get this behavior from open office though. (I think its because open office uses a different print managing method.)

Actually I was able to get around the problem by hardcoding my username and password into the DeviceURI field in printers.conf. Its not a great solution since my password is written in plaintext, but it serves as a workaround.

As I side note, I had some success using AuthInfoRequired none in printer.conf. This stopped the print dialog from asking for authorization info, but got reset by CUPS whenever I restart the computer.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

affects: evince (Ubuntu) → gtk+2.0 (Ubuntu)
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.