Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
    
Unity doesn't really have anything to do with file sharng. Try File->Connect to Server in the Nautilus file browser. – mikewhatever Oct 20 '12 at 15:37
up vote 18 down vote accepted

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.

share|improve this answer
2  
what is 'sharename' – Adam Johns May 16 '15 at 18:18
    
@AdamJohns The share name is whatever the network share is named on that Samba share server... – Thomas W. Jun 19 '15 at 18:09
    
is there a command line equivalent? – Nuzzolilo Jan 3 at 21:49

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
share|improve this answer

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

share|improve this answer
    
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.) – David Foerster Sep 12 '15 at 10:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.