gvfs-mount doesn't accept creds from keyring
| 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).
| Launchpad Janitor (janitor) wrote : | #2 |
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-
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.


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.