先关闭防火墙
CentOS 6: service iptables stop
CentOS 7: systemctl stop firewalld.service
vi /etc/samba/smb.conf
[workspace]
comment = Public Stuff
path = /home/workspace
public = yes
writable = yes
printable = no
write list = +staff
需要创建用户,才能登陆。
smbpasswd -a root