remember password on printing to windows printers does not work
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | GTK+ |
Fix Released
|
Wishlist
|
||
| | gtk+2.0 (Ubuntu) |
High
|
Unassigned | ||
| | Trusty |
High
|
Brian Murray | ||
| | gtk+3.0 (Ubuntu) |
High
|
Unassigned | ||
| | Trusty |
High
|
Unassigned | ||
Bug Description
[Impact]
* Passwords for printers are not stored and the users are required
to retype it with every print job for password protected printers
[Test Case]
* Configure a remote (shared via SMB), password-protected printer.
* Request a print job.
* Each subsequent job will require retyping the password.
[Regression Potential]
* Cherry-pick from upstream (present in Gtk+3.13.8).
* Minor conflict resolution needed (line numbers changed)
[Other Info]
* Original bug description:
i am printing from my ubuntu karmic to a windows box. everytime i print i get asked to input username and password to windows box, then the document gets printed. there is a "remember password" checkbox, but it keeps asking me when printing the next document.
| affects: | ubuntu → system-config-printer (Ubuntu) |
| Till Kamppeter (till-kamppeter) wrote : | #1 |
| segler (segler-alex) wrote : | #2 |
you are right, the checkbox is only there, if i print from openoffice.
if i print from gedit or from evince, then there is no checkbox
| segler (segler-alex) wrote : | #3 |
| Till Kamppeter (till-kamppeter) wrote : | #4 |
These password dialogs are not the same and probably come from different packages. Most probably they come from the packages which contain the printing dialog (where you choose on which printer you want to print and how many copies). I assume they immediately appear after you click "Print" or "OK" at the bottom of the application's print dialog. GEdit most probably uses the printing dialog of GTK. provided by the GTK package) and OpenOffice.org has its own printing dialog. As the option to remember the password only appears in OpenOffice.org this bug report makes only sense there. Therefore I am moving it to OpenOffice.org.
Note also that system-
| Tim Waugh (twaugh) wrote : | #5 |
Till, mightn't that be the dialog that system-
| Till Kamppeter (till-kamppeter) wrote : | #6 |
This is possible, but why are the two dialogs different then? One contains the checkbox to remember the password and the other not. Also the text is different.
Tim, is the applet's dialog the one with or without the checkbox?
Tim, how does the applet's dialog remember the password? Are you able to reproduce the bug? Do you have a patch?
| Tim Waugh (twaugh) wrote : | #7 |
It uses gnome-keyring.
| Till Kamppeter (till-kamppeter) wrote : | #8 |
Tim, is there anything what can cause one job to trigger the pop-up of a password dialog with and another without the checkbox to remember the password?
| Tim Waugh (twaugh) wrote : | #9 |
I wouldn't have thought so.
| segler (segler-alex) wrote : | #10 |
i think it is important to add:
if i print with openoffice i have to wait some time for the dialog to appear
if i print with evince or gedit, it appears instantly
| segler (segler-alex) wrote : | #11 |
and another thing to add is that:
if i print with openoffice, the print icon appears before the dialog (the one that shows the active print jobs on click on it) in the statusbar
if i print with evince or gedit this icon does not appear before the dialog
| Kevin Fries (kevin-kevinfries) wrote : | #12 |
I am also seeing this problem. I print more from Firefox than anything else, and it does not have the remember checkbox.
And it is truly annoying especially when you need to print a series of pages (i.e. web based email program, printing several emails to walk into a meeting).
| karatedog (karatedog) wrote : | #13 |
Thunderbird, Krusader file view printing dialog has the "Remember" check-box. Also noticed when the dialog box active, Firefox uses 100% CPU until I press either OK or Cancel.
| Matt Jones (mjones41) wrote : | #14 |
Same problem here, even when check box is present (open office), it does not remember the password.
All the rest of the programs do not have a remember check box.
Please someone fix, I have to enter my domain/
This problem did not exist in 9.04.
Matt
| TAX_MAN (kkamin1) wrote : | #15 |
I'm having this same problem also. I hate to bump a dead thread, but this is a real pain in the ass.
| Matt Jones (mjones41) wrote : | #16 |
OK well I found a solution that worked for me, not sure if this helps anyone else, but;
I originally was connecting to our office computer via
smb://192.
But when I changed to connecting another way (browsing the network) via;
smb://CREW/
I no longer get asked for passwords.
Cheers
Matt
| Chris Mayfield (csmayfield) wrote : | #17 |
I have the same problems. It doesn't automatically authenticate, even though I have my samba password set up in my keyring (i.e., for browsing files). And OO has the checkbox to remember, while gedit does not.
In contrast to Matt's url, I am using smb://WORKGROUP
I've marked #503812 as a duplicate of this bug.
| Mats Kronberg (mats-kronberg) wrote : | #18 |
I have the same problem on Karmic with using a remote IPP printer queue that requires authentication.
The IPP username is not the same as my local username, so I have to change the username as well as enter the password for every printout.
Neither password nor username is remembered, even if I check "Remember Password" in the dialog (/usr/share/
I get both versions (with/without the Remember Password checkbox) of the authentication dialog depending on which application I print from.
| Bas Ploeger (basploeger) wrote : | #19 |
I have the same problem. I'm using Karma (9.10) and I'm printing to a Samba shared printer. I open the printer configuration dialog (system-
Indeed when I try printing from Document Viewer, it keeps asking me for my username and password every time.
| Chris Conway (cconway) wrote : | #20 |
I see the same as #18 and #19: "Set authentication details now" in the Device URI dialog has no seeming effect; I get asked for a password every time I print and the username is populated with my local id, which is incorrect. This is really annoying.
The printer is accessed using the SMB protocol. I can also see the printer in the network browser using IPP and LPD, but setting it up to use these protocols doesn't work (a test page just never appears at the printer).
| Tim Waugh (twaugh) wrote : | #21 |
If someone having this problem could kill system-
The gnomekeyring data that system-
Take a look using seahorse to see which passwords are stored under which keys. For example, I have an IPP password stored with display name tim@1921.
protocol: ipp
server: 192.168.122.197
user: tim
| Chris Conway (cconway) wrote : | #22 |
Attached is a log of two print jobs. The first is a test page and I wasn't prompted for a password. The second was a single page from evince and I was prompted, with the user name pre-filled to "chris". The printer name is wwh426 and its URI is smb://printserv
server: printserver.
user: cconway
domain:
protocol: smb
| Tim Waugh (twaugh) wrote : | #23 |
Chris: the dialog you saw wasn't from system-
| Chris Conway (cconway) wrote : | #24 |
Any idea where it could be coming from? Here's a screenshot of the dialog opened by Google Chrome. This window title is "Authentication".
| Chris Conway (cconway) wrote : | #25 |
| Launchpad Janitor (janitor) wrote : | #26 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in system-config-printer (Ubuntu): | |
| status: | New → Confirmed |
| Till Kamppeter (till-kamppeter) wrote : | #27 |
Moving to GTK, as the password dialog seems not to come from system-
| affects: | system-config-printer (Ubuntu) → gtk+3.0 (Ubuntu) |
| cmnorton (octopusgrabbus) wrote : | #28 |
Thanks for following up on this.
| ViktigLemma (jorgsk) wrote : | #29 |
I would just like to confirm this bug, and that it's still a problem on ubuntu 11.10.
I have to write mydomain/username and password every time.
My username is actually remembed, but just that.
Is there any hack around it?
| Roman Tataurov (webhive) wrote : | #30 |
I have the same problem in Ubuntu 12.04
I have to write mydomain/username and password every time.
My username is actually remembed, but just that.
| Konrad Hofer (konrad.hofer) wrote : | #31 |
Anybody looking at this?
| Miklos Erdos (merdos) wrote : | #32 |
Problem still exists on 12.10.
Also only my username is remembered. Incorrectly, as I need to enter it in DOMAIN\username format to be accepted.
| Aaron (armahillo) wrote : | #33 |
Exists for me on 12.04. Connecting to a Laserprinter on a windows network, when I connect directly.
I was able to solve this problem, like Matt Jones (#16) did, by using the full path (with workgroup). Here were the steps I took (12.04):
1. Open "Printing" via dash
2. Click "Add +"
3. Select "network printer"
4. Select "Windows Printer via Samba" (last option in list)
5. Click "Browse"
6. Choose your domain / workgroup from the list (it took me ~30s for the list to populate)
7. Locate the print server from your domain, and select it -- this may require you to authenticate via keyring
8. Select your printer
9. Choose "Set Authentication details now"
10. for "username" you may need to do the domain name first ("DOMAIN\
11. Proceed with printer installation (driver and whatnot)
Print a page from an app or print a test page -- it should do it without requiring authentication.
| kleiba (thomas-kleinbauer-gmx) wrote : | #34 |
The process in #33 works for me, however, it leaves the user's password in clear text(!) in the file /etc/cups/
Same problem here with Ubuntu 13.10 64bits
At work, I always get the documents held for authentication, and even if I tick the box, it does not remember either my login or password (the login always goes back to my computer's login name, and the password field is empty).
This bug is getting pretty old now: more than 4 years.
| Sebastien Bacher (seb128) wrote : | #36 |
The issue seems an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https:/
| Koen Roggemans (koen-roggemans) wrote : | #37 |
I think it is reported already in the Gnome bugtracker.
See https:/
| Changed in gtk+3.0 (Ubuntu): | |
| importance: | Undecided → High |
| status: | Confirmed → Triaged |
| Changed in gtk: | |
| importance: | Unknown → Medium |
| status: | Unknown → New |
| Changed in gtk: | |
| importance: | Medium → Wishlist |
Just wanted to report that I still have the same issue with Ubuntu 14.04 64 bits up to date.
| Changed in gtk: | |
| status: | New → Fix Released |
| Sebastien Bacher (seb128) wrote : | #39 |
The issue has been fixed upstream in that commit
https:/
| affects: | gtk+3.0 (Ubuntu) → ubuntu |
| Changed in ubuntu: | |
| status: | Triaged → Fix Committed |
| affects: | ubuntu → gtk+3.0 (Ubuntu) |
| Changed in gtk+3.0 (Ubuntu Trusty): | |
| importance: | Undecided → High |
| status: | New → Triaged |
| Changed in gtk+2.0 (Ubuntu Trusty): | |
| importance: | Undecided → High |
| Changed in gtk+2.0 (Ubuntu): | |
| status: | New → Triaged |
| importance: | Undecided → High |
| Changed in gtk+2.0 (Ubuntu Trusty): | |
| status: | New → Triaged |
| Dariusz Gadomski (dgadomski) wrote : | #41 |
SRU proposal for utopic (gtk+3.0)
| Sebastien Bacher (seb128) wrote : | #42 |
@Dariusz, thanks for the work, I've uploaded the gtk+3.0 change to utopic. Let's get feedback there before considering a stable update. I would also like to see upstream comment/review the change for gtk2 before we get that in, if that's possible (seems they are still pondering if they want it there)
The attachment "gtk+2.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]
| tags: | added: patch |
| Launchpad Janitor (janitor) wrote : | #44 |
This bug was fixed in the package gtk+3.0 - 3.12.2-0ubuntu9
---------------
gtk+3.0 (3.12.2-0ubuntu9) utopic; urgency=medium
* Bump minimum version of gtk_print_
new boolean parameter.
gtk+3.0 (3.12.2-0ubuntu8) utopic; urgency=medium
* debian/
- Stores auth_info in secrets service for printing (LP: #445333)
-- Iain Lane <email address hidden> Fri, 26 Sep 2014 15:31:53 +0100
| Changed in gtk+3.0 (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Dariusz Gadomski (dgadomski) wrote : | #45 |
While I was working on a packport of this feature I have discovered a bug in the gtk printing backends (affects series 2 and 3) that may cause random crashes due to buffer overflow.
I have reported the issue upstream and am working on backports to utopic and trusty (gtk2 and gtk3).
| Dariusz Gadomski (dgadomski) wrote : | #46 |
SRU proposal for Utopic (https:/
| Dariusz Gadomski (dgadomski) wrote : | #47 |
SRU proposal for utopic
Contains the feature backport along with a fix for https:/
| Dariusz Gadomski (dgadomski) wrote : | #48 |
SRU proposal for trusty.
Contains feature backport along with a fix for https:/
| Sebastien Bacher (seb128) wrote : | #50 |
thanks, that looks correct but let's wait a bit for upstream review
| Dariusz Gadomski (dgadomski) wrote : | #51 |
The fix has been pulled in by the upstream:
https:/
And the upstream bug (https:/
| Sebastien Bacher (seb128) wrote : | #52 |
thanks Dariusz, I've uploaded the segfault fix to utopic
| tags: | added: cts |
| Sebastien Bacher (seb128) wrote : | #53 |
Thanks Dariusz, Iain updated the symbol version in https:/
" * Bump minimum version of gtk_print_
new boolean parameter."
Could you update your SRU debdiff to do the same?
| Dariusz Gadomski (dgadomski) wrote : | #54 |
SRU proposal for utopic (gtk2)
| Dariusz Gadomski (dgadomski) wrote : | #55 |
SRU proposal for trusty (gtk3).
| Dariusz Gadomski (dgadomski) wrote : | #56 |
SRU proposal for trusty (gtk2).
| Dariusz Gadomski (dgadomski) wrote : | #57 |
Sebastien, please find the attached debdiffs with the gtk_print_
Thanks!
| Sebastien Bacher (seb128) wrote : | #58 |
Thanks, I've uploaded the trusty gtk3 version, the gtk2 one still needs review/to go in vivid before being SRUed
| Dariusz Gadomski (dgadomski) wrote : | #59 |
Sebastien, I have prepared a debdiff for gtk2 vivid. I hope it will be of any use for you. Thanks!
Hello segler, or anyone else affected,
Accepted gtk+3.0 into trusty-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in gtk+3.0 (Ubuntu Trusty): | |
| status: | Triaged → Fix Committed |
| tags: | added: verification-needed |
| Samuel Bancal (samuel-bancal) wrote : | #61 |
Hello,
I upgraded from trusty-proposed:
- libgail-3-0:amd64 3.10.8-0ubuntu1.3
- libgtk-3-0:amd64 3.10.8-0ubuntu1.3
Here is my test scenario (using gedit):
Nothing in gnome keyring
Print text1
A dialog asked for credentials (I fill and check "remember")
job is printed & credentials appear in gnome keyring
Print text2
no dialog appear, job is printed
Print text3
no dialog appear, job is printed
Then I deleted the credentials in gnome keyring
Print text4
A dialog asked again for credentials.
The new packages looks perfect to me! :)
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #62 |
This bug was fixed in the package gtk+3.0 - 3.10.8-0ubuntu1.3
---------------
gtk+3.0 (3.10.8-0ubuntu1.3) trusty; urgency=medium
* debian/
- Stores auth_info in secrets service for printing (LP: #445333)
* debian/
- Fix to an upstream bug:
https:/
* Bump minimum version of gtk_print_
new boolean parameter.
-- Dariusz Gadomski <email address hidden> Tue, 23 Sep 2014 18:16:51 +0200
| Changed in gtk+3.0 (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for gtk+3.0 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Dariusz Gadomski (dgadomski) wrote : | #64 |
The upstream gtk is considering backporting this change to gtk2: [1]
What I find most important in the description is:
With regards to the importance of having this only fixed in GTK 3. To be
honest, as long as firefox still uses GTK 2 in most distributions this fix is
more important for our users to have in GTK 2 then it is in GTK 3 :-/
This remains true for Ubuntu as well.
| Launchpad Janitor (janitor) wrote : | #65 |
This bug was fixed in the package gtk+2.0 - 2.24.25-0ubuntu2
---------------
gtk+2.0 (2.24.25-0ubuntu2) vivid; urgency=medium
* debian/
- Backport of auth_info storing (LP: #445333)
* debian/
- Fix to an upstream bug:
https:/
* Bump minimum version of gtk_print_
new boolean parameter.
-- Dariusz Gadomski <email address hidden> Fri, 21 Nov 2014 12:36:11 +0100
| Changed in gtk+2.0 (Ubuntu): | |
| status: | Triaged → Fix Released |
| Brian Murray (brian-murray) wrote : | #66 |
I've uploaded the gtk+2.0 debdiff to the Trusty queue for review by the Ubuntu SRU team.
| Changed in gtk+2.0 (Ubuntu Trusty): | |
| status: | Triaged → In Progress |
| assignee: | nobody → Brian Murray (brian-murray) |
Hello segler, or anyone else affected,
Accepted gtk+2.0 into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in gtk+2.0 (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| tags: | removed: verification-done |
| tags: | added: verification-needed |
| Samuel Bancal (samuel-bancal) wrote : | #68 |
sudo vi /etc/apt/
# snip
# Trusty Proposed -> test GTK2 patch https:/
deb http://
# snap
sudo apt-get update
sudo apt-get install libgail-common libgail18 libgtk2.0-common libgtk2.0-bin libgtk2.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
libgail-common libgail18 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common
5 upgraded, 0 newly installed, 0 to remove and 209 not upgraded.
Need to get 1'994 kB of archives.
After this operation, 13.3 kB of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Fetched 1'994 kB in 0s (4'148 kB/s)
[...]
I run the following test steps :
Initial status : Gnome keyring is empty
Step #1 :
print from Firefox
Nothing asked, new printer icon on top right of the screen. Click -> Job#1 is "Held for authentication"
Right-click > Authenticate
I Give the credentials and check the "Remember password". (attached "print_step1.png")
Job is printed
Gnome keyring gets a "Network password" entry "domain\<email address hidden> (smb)"
Step #2 :
print from Firefox
A dialog opens ans ask for authentication "Authentication is required to print document "Title" on printer printername.
I Give the credentials and check the "Remember password". (attached "print_step2.png")
Job is printed
Gnome keyring gets a second "Password or secret" entry "ipp://
Step #3 and following :
print from Firefox
No dialog comes to the user
Job is printed
Gnome keyring has no more entries than the 2 said before.
To me this is the acceptable behaviour.
Ideal would even be to have step #1 asking interactively for credentials, step #2 skipped so that we get immediately step #3. But this is outside the scope of this bug report I think.
Thanks!
Samuel
| Samuel Bancal (samuel-bancal) wrote : | #69 |
| Samuel Bancal (samuel-bancal) wrote : | #70 |
| tags: |
added: verification-done removed: verification-needed |
| Mikko Pesari (mpesari) wrote : | #71 |
Works perfectly for me. With an empty keychain, Firefox prompts for credentials and saves them in the keychain, and printing just works. Gedit (GTK3 application) is then able to use the same credentials, although they are a bit different from what GTK3 saves to the keychain.
| Launchpad Janitor (janitor) wrote : | #72 |
This bug was fixed in the package gtk+2.0 - 2.24.23-0ubuntu1.2
---------------
gtk+2.0 (2.24.23-
* debian/
- Backport of auth_info storing (LP: #445333)
* debian/
- Fix to an upstream bug:
https:/
* Bump minimum version of gtk_print_
new boolean parameter.
-- Dariusz Gadomski <email address hidden> Tue, 10 Mar 2015 08:20:43 -0700
| Changed in gtk+2.0 (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |


From which applications did you observe the problem? Does the problem occur with all applications, including OpenOffice.org? How does the password dialog look like? Is it always exactly the same for all applications?