When I upgraded to Ubuntu 13.04 the file manager lost the ability to connect to windows shares as a specific user(from 'connect to server') from the file manager. I could be connected to z share as one user and x share as another, but now connect to server offers no place to add credentials as it used to. When I try without credentials, I get an error that says "UNABLE TO ACCESS LOCATION - FAILED TO MOUNT WINDOWS SHARE - PERMISSION DENIED". I find screenshots where it's supposed to prompt me for a username and password, But I never get it. Just an error. Is there something that maybe carried over from the previous version? Should I delete ~/.nautilus? or something?
If you open up your
/etc/samba/smb.conf file you should see at the bottom the share definition. Generically it looks something like this:
[share-name] comment = path = /media/[some-name] read only = No guest ok = yes
What you want to do is add a "force user" line to that share definition so that the remote user appears to be you:
[share-name] comment = path = /media/[some-name] read only = No force user = [your-user-name] guest ok = yes
Then restart samba:
sudo service smbd restart
Official sources: http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#FORCEUSER
I think that developers have decided to simplify the way "Connect to server" work. With most servers, you should be asked to enter your credentials when you try to access a share... But with some others, you first have to explicitly specify which user you want to use. In fact, in that case, you simply have to use a syntax similar to the one you would use under Windows.
Basic syntax to use in "Connect to server" :
Using this syntax, one window letting you enter your domain name and password will appear.
I hope that this will help you to solve your problem. If you still can't provide your domain name and password (no window/error message appears) or else, more information about the configuration of your server might be needed.
This probably shouldn't be an answer because it's a bit speculative, but perhaps the lack of a prompt is another feature removal in the 3.6 version of Nautilus. It might be fairly painless to try installing the 3.4 version from the SoluOS, as regards this article from WebUpd8.
sudo add-apt-repository ppa:webupd8team/experiments sudo apt-get update sudo apt-get dist-upgrade killall nautilus
To roll back this change :
sudo apt-get install ppa-purge sudo ppa-purge ppa:webupd8team/experiments killall nautilus