#yum -y install samba
I found I can't connect to samba server from Windows. Why?
- Because of SELinux
SELinux configures to prevent from changing home directory by default.
#setsebool -P samba_enable_home_dirs 1 //True on 1, False on 0
#setsebool -P use_samba_home_dirs 1 // for remote samba server
Still doesn't work.
To check SELinux status,
To change the policy,
#set enforce 0 //disable. 1 for enabling
To set SELinux permenantly,
To check syntax of smb.conf,
Still doesn't work. Why?
I found the solution!!
That's because I missed to make an eligible samba user account.
#smbpasswd -a jimmy
Tip!) for Homes directory access,
need to disable 'valid users = %s' line.