yum install samba samba-client samba-common policycoreutils-python3
cat /etc/samba/smb.conf
[global]
workgroup = WINSHARE
server string = Samba Server %v
netbios name = centossrv
security = user
map to guest = bad user
dns proxy = no
#============================ Share Definitions ==============================
[share]
path = /storage/template/iso/
browsable =yes
writable = no
guest ok = yes
read only = yes