我有一个小型办公网络,由几台电脑和一台 Ubuntu 服务器组成,我们用它来共享文件,还有一个 minidlna 服务器用于播放音乐。在我升级到 Ubuntu 18.04 之前,一切都运行良好。现在,网络上的所有 Windows 机器都无法看到 Ubuntu 服务器。我已经用尽了所有能找到的所谓“修复”,但似乎都不起作用。我花了一个星期和很多小时寻找和实施不同的“修复”,但都无济于事。
我已执行此处列出的所有步骤(https://devanswers.co/discover-ubuntu-machines-samba-shares-windows-10-network/),仍然看不到服务器。DLNA 服务仍然运行良好,但我们看不到用于存储文件的驱动器。
没有其他症状。除此之外,服务器运行正常。这让我抓狂!请帮忙!
以下是配置文件中的条目:
#======================= Global Settings =======================
[global]
panic action = /usr/share/samba/panic-action %d
max log size = 1000
dns proxy = no
directory mode = 775
passdb backend = tdbsam
force create mode = 775
log file = /var/log/samba/log.%m
force user = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
syslog = 0
security = user
pam password change = yes
server string = %h server (Samba, Ubuntu)
path = /home
unix password sync = yes
usershare allow guests = yes
obey pam restrictions = yes
os level = 20
force directory mode = 775
workgroup = WORKGROUP
create mode = 775
auto services = rbtco_internal
server role = standalone server
default = global
map to guest = bad user
force group = root
[RBTCO_DISK_1]
write list = rbtco,rbtco_admin,dave,@rbtco_admin,@rbtco
directory mode = 775
path = /home/rbtco
public = yes
valid users = rbtco,rbtco_admin,@rbtco,@rbtco_admin,dave,@dave
revalidate = yes
writeable = yes
create mode = 775
[RBTCO_DISK_2]
write list = rbtco,rbtco_admin,dave,@rbtco_admin,@rbtco,@dave
browsable = yes
public = yes
path = /home/dave
directory mode = 775
comment = Samba on Ubuntu
writeable = yes
create mode = 775
还有更多条目,但在这里对其进行格式化很困难。