Configured samba server at RHEL7, problem encountered and solved.
1, yum install samba*, RHEL7 system not registered
uninstall yum and install CentOS yum and mirror repository
2, install samba SWAT failed.
samba SWAT is not supported at samba 4 anymore.
3, Access permission denied in Linux and Windows
a, chmod change the folder ACL as 750 or above
b, chown to change the folder owner to the samba user name.
b, groupadd, useradd and smbpasswd to add linux account into samba
c, disable Linux firewall or at least enable smaba service in firewall
d, Selinux configuration, if it is configured as 1, it will return 'Permission denied' error.
setenforce 0
reference: http://www.cnblogs.com/mchina/archive/2012/12/18/2816717.html
Well, good luck!