vi /etc/samba/smb.conf
[global]全域變數底下
workgroup = WORKGROUP
netbios name = server
vi /etc/nsswitch.conf
加入wins(建議是加在files和dns中間)
hosts: wins files mdns4_minimal [NOTFOUND=return] dns mdns4
修改存檔後重啟samba
/etc/init.d/smbd restart or /etc/init.d/samba
測試一下
windows底下就可以用名稱來連線網芳