ubuntu samba service open

This is about the Windows system and Linux system for file sharing service.So, how should we samba service configurations?


First, I need install samba smbclient samba4  

 1.sudo apt-get install samba smbclient samba4
  

And then, I need to be configured /etc/samba/smb.conf

  2.mkdir -m 777 /home/share
  3.sudo vim /etc/samba/smb.conf
  4.find  " security = user" change for "security = share"

   5.Add to the 

    [share] 
    comment=this is Linux share directory 
    path=/home/share
    public=yes
    writable=yes

Finally,start samba service

   6.sudo /etc/init.d/samba4 start

   7.In Windows system "\\XXX:XXX:XXX:XXX\share" on access

你可能感兴趣的:(ubuntu samba service open)