To install it, just type sudo apt-get install samba to your Terminal (and leave it open).
To add a system-config-samba (a GUI tool for managing Samba shares and users) and get it running (with at least prompts and errors as possible), follow these easy steps:
- sudo apt-get install system-config-samba
- sudo chown Name /usr/bin/pdbedit (where Name is the actual user name)
- cd /
- cd etc
- sudo gedit libuser.conf
- save and close the file
- sudo chown root /home/Name/.config/ibus/bus
You should now have a functional system-config-samba (to run the GUI start it by typing system-config-samba in the Terminal).