Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 just have Ubuntu server installed and i want a SMB server. So i got Samba all set up but now i wonder how to create a 'share', in Windows you would just go to Properties/Sharing/Advanced sharing, but i don't really know how to make one in Linux with Samba. I made a user with smbpasswd -a mylinuxusername, but that isnt the share name. Using net view \\myservername shows no shares at all, but i'm sure Samba is running.

Please explain the 'shares' in Samba.

share|improve this question
@Zoredache Ok, but if you say something like this please post it as an answer. – Sydcul Jan 3 '13 at 20:34

You have to go to the configuration file with e.g. this command

nano /etc/samba/smb.conf

and then scroll down using the arrows of your keyboard.

You can create a simple share using the following lines:

     path = /srv/shares/exampleShare
     available = yes
     browseable = yes
     writeable = yes
     guest ok = no
share|improve this answer
Thanks! That solved it.You can accept this answer in 6 minutes :( – Sydcul Jan 3 '13 at 20:28

Your Answer


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.