/etc/samba/smb.conf
[global]
workgroup = WORKGROUP
server string = samba server %v
netbios name = centos7
security = user
map to guest = bad user
dns proxy = no
[share]
comment = SHAREDOCS
path = /share
public = yes
writable = yes