← Back to team overview

desktop-packages team mailing list archive

[Bug 445333] Re: remember password on printing to windows printers does not work

 

sudo vi /etc/apt/sources.list
# snip
# Trusty Proposed -> test GTK2 patch https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/445333
deb http://archive.ubuntu.com/ubuntu/ trusty-proposed restricted main multiverse universe
# 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://archive.ubuntu.com/ubuntu/ trusty-proposed/main libgail-common amd64 2.24.23-0ubuntu1.2 [110 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libgtk2.0-common all 2.24.23-0ubuntu1.2 [121 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libgtk2.0-bin amd64 2.24.23-0ubuntu1.2 [9'798 B]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libgail18 amd64 2.24.23-0ubuntu1.2 [14.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libgtk2.0-0 amd64 2.24.23-0ubuntu1.2 [1'739 kB]
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\username@xxxxxxxxxxxxxxxxxxx (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://localhost:631/printers/printername"

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/445333

Title:
  remember password on printing to windows printers does not work

Status in GTK+ GUI Toolkit:
  Fix Released
Status in gtk+2.0 package in Ubuntu:
  Fix Released
Status in gtk+3.0 package in Ubuntu:
  Fix Released
Status in gtk+2.0 source package in Trusty:
  Fix Committed
Status in gtk+3.0 source package in Trusty:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/445333/+subscriptions