31

I have a samba share on my LAN that requires a username and password to obtain write access (otherwise it defaults to read-only).

I can't figure out where in the Unity desktop I can connect to the share and be prompted for my login credentials. I can mount the drive, of course, but then I'm browsing as a guest (read-only).

What gives?

1
  • Unity doesn't really have anything to do with file sharng. Try File->Connect to Server in the Nautilus file browser. Oct 20, 2012 at 15:37

3 Answers 3

33

In top menu of the file browser click Go>Location and enter smb://user@host/sharename. You will then be prompted to enter a password.

5
  • 2
    what is 'sharename'
    – Adam Johns
    May 16, 2015 at 18:18
  • @AdamJohns The share name is whatever the network share is named on that Samba share server...
    – Thomas Ward
    Jun 19, 2015 at 18:09
  • 1
    is there a command line equivalent?
    – Nuzzolilo
    Jan 3, 2016 at 21:49
  • Nuzzolilo, search for smbclient Jul 13, 2017 at 6:46
  • what if we use email address as username? Jun 25, 2019 at 0:48
6

If you have a Guest account without a password:

smb://Guest:@server_name

If you have a user account with a password:

smb://user_name:password@server_name

If you have a user account but only want to be prompted for the password:

smb://user_name:*@server_name
0

In ubuntu 15.04, you can open the file server, and use the connect to the server option on the bottom left

1
  • Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.) Sep 12, 2015 at 10:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .