centos7搭建samb
1,smb配置文件
[global] workgroup = WORKGROUP netbios name = LinuxSir05 server string = Linux Samba Server TestServer security = user dns proxy = no [pub] path = /data/pub available = yes browseable = yes public = yes writable = yes create mask = 0644 directory mask = 0777 force user = pub force group = pub
2,添加用户
smbpasswd -a pub
3,启动
service samb restart