After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 520551 - user names in smb://user@server don't work any longer
user names in smb://user@server don't work any longer
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: smb backend
unspecified
Other All
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks: 533083
 
 
Reported: 2008-03-05 17:30 UTC by Nikolaus Filus
Modified: 2018-09-21 16:19 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Nikolaus Filus 2008-03-05 17:30:47 UTC
Please describe the problem:
Before gio it was possible to bookmark smb://user@server what was used to list the shares. Now this no longer works. With this the home share (and other user restricted shares) is no longer visible

Steps to reproduce:
1. Open Nautlus
2. enter smb://user@server

or

1. save bookmark in the above form
2. username gets lost


Actual results:
username is ignored and not used/stored

Expected results:
login using the passed name (and optionaly passed password)

Does this happen every time?
yes

Other information:
Comment 1 Bastien Nocera 2008-03-05 20:49:53 UTC
The username is "lost" because it's not needed. Once the share is mounted, it's not needed anymore. You should get a prompt for a password, and be able to save all the credentials.
Comment 2 Alexander Larsson 2008-03-06 11:08:17 UTC
Bastien: This is about browsing shares, not mounting a share. We don't auth for browsing atm, so the username may be needed to list the homedir.

Comment 3 Bastien Nocera 2008-03-06 11:19:14 UTC
My mistake.
Comment 4 Nikolaus Filus 2008-04-09 15:00:17 UTC
I think my report is co-related to bug #524485 and may be solved by the ubuntu patch referenced. What is the chance to get this fixed soon, as using my home share on the samba server is NOT possible at this time.
Comment 5 A. Walton 2008-05-15 01:22:03 UTC
*** Bug 533083 has been marked as a duplicate of this bug. ***
Comment 6 vinc-mai 2008-08-27 16:04:29 UTC
I can confirm the bug with gnome 2.22.3 on Ubuntu 8.04.
I enter smb://remote_user@server on Nautilus. A dialog pops-up to query my password. The user name on the dialog is the local one and not the one specified.
Comment 7 Tomas Bzatek 2012-12-04 10:27:52 UTC
(In reply to comment #6)
> I can confirm the bug with gnome 2.22.3 on Ubuntu 8.04.
> I enter smb://remote_user@server on Nautilus. A dialog pops-up to query my
> password. The user name on the dialog is the local one and not the one
> specified.

Is this still valid for recent gvfs versions? Can you retest it? I seem to get proper credentials prompt having the username specified.
Comment 8 Felix Möller 2014-04-06 08:24:10 UTC
I think I can reproduce this issue.

fm@thinkpad:~$ lsb_release -rd
Description:	Ubuntu Trusty Tahr (development branch)
Release:	14.04

gvfs-backends   1.19.90-1ubuntu1
gvfs:amd64      1.19.90-1ubuntu1
nautilus        3.10.1-0ubuntu8

1. open seahore and delete the crendentials of the smb share you want to access
2. enter smb://admin@smbserver/ into nautilus address bar
3. The available shares on smbserver appear
4. click on one of the shares
5. The authentication dialog does not use the username specified in step 2, but uses my local Linux user account instead

I cannot clear NEEDINFO on this bug.
Comment 9 GNOME Infrastructure Team 2018-09-21 16:19:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/40.