ubuntu配置smb共享

ubuntu配置smb共享

主要是修改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 = no
   guest ok = yes
   public = no
   writeable = yes

sudo smbpasswd -a win
sudo service smbd restart

你可能感兴趣的:(服务器)