How to setup Samba on centos 7
来自cslt Wiki
Centos 7 introduced SELinux security, which will impact Samba.
https://www.howtoforge.com/samba-server-installation-and-configuration-on-centos-7
The most important step is to allow SELinux by chcon.