This tutorial will I will be teaching you how to setup Samba Server on Ubuntu. Using a Samba Server to share files between your Ubuntu and Windows computers, this is one of the best and easiest ways to accomplish this. So lets get started and install the required packages by running the following command.
This should install the required packages however we still need to configure Samba Server so lets open up smb.conf in gedit.
sudo gedit /etc/samba/smb.conf
Now lets change the following two values in the Samba Server config.
workgroup = WORKGROUP
At the bottom of the Samba Server config add this and modify it to your needs.
comment = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
Now all thats left is to create the Samba Server directory and restart the Samba Services, simply go into an open Terminal and run the following commands.
sudo mkdir -
sudo chown nobody.nogroup /srv/samba/share/
sudo restart smbd
sudo restart nmbd
Congrats! You now have a fully functional Ubuntu Samba Server!