1. Install package "samba"
2. Edit /etc/samba/smb.conf
3. In [global] add "security = share" if you want access to everyone
4. Add a section for each share by an example in the file
5. Section [homes] for autocreation a share by username if it exist in the system
6. smbpasswd creates a copy of user password. The new password must be entered and be the same as the system password.
7. Restart daemon /etc/init.d restart
8. Use testparm to monitor effective parameters