主要是修改smb.conf的配置文件
配置smb.conf
sudo cp /usr/share/samba/smb.conf /etc/samba/
sudo vim /etc/samba/smb.conf
[win-share] comment = Printer Drivers path = /home/win browseable = yes read only = n快三导师QQ包赚browseable = yes read only = no guest ok = yes public = no writeable = yessudo smbpasswd -a win
sudo service smbd restart