1. Install Samba and graphics configuration tools
sudo Install Samba Samba-common System-config-samba python-glade2 Gksu
2. Search for and open the Samba Configuration tool in Unity Dash
3. Open the server settings under Preferences
You can see the basic tags:
Workgroup: Same as workgroup name in Windows (case sensitive).
Description: The description here is similar to the user in Windows
Security tab It is recommended that you keep the default configuration when sharing in the home, and do not introduce it here.
4. Click the Samba user in the preferences and add the user
UNIX user name: In some cases, you can select existing users on Ubuntu system
Windows user name: The user name to use when accessing shares in Windows
Samba Password: You need to enter the above user name and the password set here when accessing the share in Windows
5, to add a shared folder just click on the + sign on it, very simple, here is not to repeat the
6, after the configuration is complete and then restart the Samba service is done.
sudo service smbd restart
Ps:
Http://www.linuxidc.com/Linux/2014-07/104894p2.htm
How to share files with Samba in Ubuntu 14.04