-2

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.

2

1 Answer 1

1

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:

[exampleShare]
     path = /srv/shares/exampleShare
     available = yes
     browseable = yes
     writeable = yes
     guest ok = no
1
  • Thanks! That solved it.You can accept this answer in 6 minutes :(
    – Sydcul
    Commented Jan 3, 2013 at 20:28

You must log in to answer this question.

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