我已经关注了这篇文章的答案简单的 Samba 共享 - 无需密码
因此我的服务器出现在网络下,我可以连接并查看共享列表,但我无法打开任何共享。Windows 超时并显示“无法访问,您可能没有权限......等等”
我认为我正确设置了权限,除非我遗漏了什么。
我已经修改了共享链接的文件夹的权限。我已将文件夹的所有者修改为 nobody.nogroup。
[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[WEB]
path = /var/www/html
read only = No
create mask = 0777
guest ok = Yes