Nautilus ignores username when connecting to smb://username@server

Bug #218653 reported by Viktors Petrovs
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs
Expired
Medium
gvfs (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Binary package hint: nautilus

Nautilus ignores username when connecting to samba server (i'm entering smb://username@server/ in the location field).
As i understand, nautilus is showing server shares without loging in (only public shares).
As a result i can't see shares visible and available for logged in users/usergroups.

Revision history for this message
Viktors Petrovs (viks77) wrote :

I am using Ubuntu Hardy 8.04 with all updates... upgraded from Ubuntu 7.10.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

more like a gvfs issue, re assigning.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

known upstream you can track it here: http://bugzilla.gnome.org/show_bug.cgi?id=520551

Changed in gvfs:
assignee: nobody → desktop-bugs
status: New → Triaged
Changed in gvfs:
status: Unknown → New
Changed in gvfs:
importance: Undecided → Medium
Changed in gvfs (Ubuntu):
importance: Medium → Low
Changed in gvfs:
importance: Unknown → Medium
Revision history for this message
Sebastien Bacher (seb128) wrote :

Is anyone still getting that issue in recent Ubuntu versions?

Changed in gvfs (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Triaged → Incomplete
Revision history for this message
Viktors Petrovs (viks77) wrote :

Yes. On all Ubuntu versions since 8.04.

Changed in gvfs:
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

what's the most recent version of Ubuntu you tried? what are you doing exactly? doing ctrl-L and typing "smb://user@hostname" seems to work fine there and log with "user" and the password entered

Revision history for this message
steve.horsley (steve-horsley) wrote : Re: [Bug 218653] Re: Nautilus ignores username when connecting to smb://username@server

Sebastien,

I haven't used nautilus for a couple of years now - I'm using thunar on
xubuntu. However, I do remember that I first hit the issue when I had a
folder full of shortcuts (one for each of the servers that we deal with
regularly) that launched nautilus from the command line, such as:

nautilus smb://MYDOMAIN;administrator@1.2.3.4/D$

I don't remember if they were .desktop launchers or just one-line scripts,
but I suspect they were just simple scripts. Failing to fill in the
username and domain fields in the password popup from the url defeated the
point of having different scripts for each server.

Regards,
Steve Horsley.

On 5 December 2012 11:34, Sebastien Bacher <email address hidden> wrote:

> what's the most recent version of Ubuntu you tried? what are you doing
> exactly? doing ctrl-L and typing "smb://user@hostname" seems to work
> fine there and log with "user" and the password entered
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (225141).
> https://bugs.launchpad.net/bugs/218653
>
> Title:
> Nautilus ignores username when connecting to smb://username@server
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gvfs/+bug/218653/+subscriptions
>

Revision history for this message
Viktors Petrovs (viks77) wrote :

I'm using Ubuntu 12.10.

Server side SAMBA configuration:

I have following line in smb.conf:
include = /etc/samba/smb.conf.%U

This means that samba will include additional config files for each user like this: /etc/samba/smb.conf.username
with additional shares visible only to this user.

On client (Ubuntu 12.10):

1) First of all i delete all saved passwords using "Passwords and Keys" (seahorse) to start from clean state.
2) ctrl-L and enter smb://username@hostname

There is no password prompt dialog.
After this i see only shares configured to be visible to all users (even unauthenticated).

Of course i can enter path to share manually: smb://username@hostname/share, but this is another story.

Expected behavior:
Password prompt is displayed.
After successfull authentification all shares is visible.

Revision history for this message
Viktors Petrovs (viks77) wrote :

There is also special [homes] share defined in the smb.conf on server side...
so "username" share must be visible when browsing shares on server smb://username@hostname, but it's not.

Changed in gvfs:
status: Incomplete → Confirmed
Changed in gvfs:
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.