sudo apt-get install samba
sudo apt-get install winbind
vi /etc/samba/smb.conf
#change parameter workgroup
workgroup = HOMENETWORK
vi /etc/nsswitch.conf
#change parameter hosts
hosts: files dns wins
mkdir /home/public
vi /etc/samba/smb.conf
#edit and add in smb.conf
[public]
path = /home/public
writable = yes
guest ok = yes
service samba restart
0sem comentários ainda