
我在 vmware 工作站內的 CentOS 7 上設定了 Samba 伺服器。主機作業系統是Windows 10 \\server\share
。
我嘗試了此頁面的解決方案Windows 7 未發現 Ubuntu Samba 伺服器但仍然不起作用。
這是我的/etc/samba/smb.conf
:
[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = FileShareSamba
security = user
map to guest = bad user
wins support = yes
local master = yes
preferred master = yes
dns proxy = no
ntlm auth = no
lanman auth = no
#=================== Share Definitions ====================
[Anonymous]
path = /samba/anonymous
browsable =yes
writable = yes
guest ok = yes
read only = no
答案1
當netbios的名稱與機器名稱不同時,就會發生這種情況,所以我FileShareSamba
也將我的機器名稱更改為,現在Windows 7和8.1可以發現Samba伺服器。