Here's how i got mine setup.
The guide assumed you have a seperate partition or drive that contains the files you want to share. If this is not the case you can skip the fstab section and some of the guide dealing with permission is a bit overboard but it will still work. Also remember to change the suggested share path from /media/strorage/[share folder] to /home/[your user]/[share folder] throughout the guide.
Your user and your group throughout the guide will be replaced by your unix user and group unless you want to create a different user for samba authentication.
Get your drives UUID and note it don
Create the mount point
sudo mkdir /media/storage
sudo chown [your user:your group] /media/storage
Open fstab
Add the mount entry, i usualy use the basic command but there are much more robust options you could use.
UUID=[xxxx-xxxx-xxxx] /media/storage [file system eg. ext4 ntfs] defaults 0 1
Press "Ctrl-X" then "Y" then "Enter" to save and exit.
Reboot the computer to test fstab by seeing if your drives got mounted.
Create the actual share folder and set permission, i'm assuming it's only you that will be using the shares or to make it easy for multi user you can make it public.
sudo mkdir /media/storage/movies
For public share do the following
sudo chown nobody:nogroup /media/storage/movies
For password protected shares do the following.
sudo chown [your user:your group] /media/storage/documents
sudo smbpasswd -a [your user]
Next edit the samba config
The following is samples from my samba config, add it to the bottom of the config file.
Public Share
[movies]
path = /media/storage/movies
browsable = yes
writeable = yes
guest ok = yes
guest account = nobody
guest only = yes
Authenticated Share
[documents]
path = /media/storage/documents
browsable = yes
guest ok = no
printable = no
available = yes
force create mode = 0755
force directory mode = 0755
create mask = 0755
valid users = [your user]
read only = no
Press "Ctrl-X" then "Y" then "Enter" to save and exit.
Restart Samba
sudo service smbd restart
Test. Access a share and see if you can create a folder or file.
If you use the server to move files into the shared folders use sudo to override any possible permissions issues and afterwards remember to change the owner user and group to that which you specified in the samba config.
sudo chown -R [user:group] [path to share]