Comment 19 for bug 209520

Revision history for this message
Paolo (paolo.ambrosio) wrote : Re: SMB error: Unable to mount location

I have a password protected Samba (Debian Sid) share perfectly working with Windows hosts and Ubuntu Gutsy.

On Hardy...

If I use Nautilus to browse the Windows Network smb://server/ and click on the folder "homes" I get:

Unable to mount location
Failed to mount Windows share

Typing smb://server/homes/ (or smb://blues@server/homes/) on the Nautilus bar I get:

Couldn't display "smb://server/homes/".
Error: Failed to mount Windows share
Please select another viewer and try again.

gvfs-mount works good and without asking for my password, since it is already in the keyring, but the file count looks suspicious:

$ gvfs-mount smb://blues@server/homes/
$ gvfs-mount -l
[...]
Mount(0): homes on server -> smb://server/homes/
$ gvfs-ls -l smb://blues@server/homes/
osm2pgsql-0.50.20071211 0 (directory)
osm2pgsql_0.50.20071211-1.diff.gz 2632 (regular)
[...]
$ ls -l .gvfs/homes\ on\ server/
total 0
drwx------ 1 blues blues 0 2008-04-05 17:42 osm2pgsql-0.50.20071211
-rwx------ 1 blues blues 2632 2007-12-11 22:02 osm2pgsql_0.50.20071211-1.diff.gz
[...]

I see the "homes on server" icon on the desktop BUT clicking on it simply gives me the usual "Unable to mount location" error. I can unmount it from the desktop though.

Hope it helps.

Paolo