The first thing we will configure is the file server. Although Linux understands the NTFS file system, it sometimes causes problems with the read/write permissions between the Window and Linux. Therefore, you should install Samba for data sharing.
Once Samba is installed, you will need to make some configuration changes. Using the command line (terminal) type the following commands:
cd /etc/samba
sudo gedit smb.conf
A text editor will display the smb.conf file. Change the following fields to reflect your network:
WORKGROUP = workgroup or domain group name
MACHINE_NAME = browseable machine name
PDC & BDC = primary domain controller and backup domain controller name
any IP number = your IP scheme or related machine's IP
The Samba HowTo is a good place to look for detailed instructions, sample configurations, or if you just want more information.
Once your smb.conf file is edited, restart the samba daemon:
sudo /etc/init.d/samba restart