gvfs-mount doesn't accept creds from keyring

Bug #1235034 reported by fergsoft on 2013-10-04
12
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Undecided
Unassigned

Bug Description

Trying to use gvfs-mount (in a script) to mount a password protected windows share that has the creds saved in the keyring.

It will first bring up the prompt to enter the keyring password; once entered, it will still prompt for creds to the resource.

However, cancelling (by CTRL+C) and running the command again does not prompt for creds and succeeds (expected behavior).

Update, same thing happens when trying it from Caja (using the "Connect to Server..." option):

Enter server info without entering username and password and hit connect. It will prompt for keyring password; once entered it will tell you to verify user credentials on the connect to server dialog. If you cancel, and try again, it will succeed without the keyring prompt.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gvfs (Ubuntu):
status: New → Confirmed

I can confirm this bug, but I am wondering if it relates to gvfs or the keyring?

After loading the keyring (at login or using "gnome-keyring-daemon -r"), if I first mount something else that requires the keyring (sshfs), the samba share mounts right away without prompting for password.

It is as if the keyring needs to be "touched" once before it works as intended for samba mounts.

Update: The problem goes away if the credentials are stored in the "Login" keyring instead of the "Standard keyring" (not sure about translation) that is created by default.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers