Samba is Free Software licensed under the GNU General Public License, the Samba project is a member of the Software Freedom Conservancy.
Since 1992, Samba has provided secure, stable and fast file and print services for all clients using the SMB/CIFS protocol, such as all versions of DOS and Windows, OS/2, Linux and many others.
Samba is an important component to seamlessly integrate Linux/Unix Servers and Desktops into Active Directory environments using the winbind daemon.
How to install Samba?
#sudo apt-get install samba smbfs
<2> Add root for samba
#smbpasswd -a root
<3> Set smb.conf
#mv smb.conf smb.conf.bak
path=/home/x4 //x4 is the folder you want to share
valid users=root //x4 only allows root to get in
public=no //no means only root can see the folder, yes means everyone can see the folder but only root can get in the folder
writable=yes // allow root to write
<5> Reset samba server