Configuring CentOS 5 host for sharing home directories over samba.
Create a samba user:
smbpasswd -a smjones
Start Samba:
/sbin/service smb start
Make sure it will start on next boot:
/sbin/chkconfig --level 2345 smb on
Make sure SELinux doesn’t stop us from sharing home directories:
/usr/sbin/setsebool -P samba_enable_home_dirs on