在smb.conf
里面设置了文件夹可访问的用户,但是本机Windows
上可以匿名访问,另外一台Ubuntu
主机却不能。
配置文件如下
[global]
workgroup = WORKGROUP
server string = ust
log file = /home/userme/logs/log.%m
max log size = 1000
logging = file
panic action = /usr/share/samba/panic-action %d
server role = standalone server
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
security = user
usershare allow guests = no
[userdisk777]
comment = userdisk0
path = /home/userme/userdisk0
public = no
read only = yes
valid users = userme
write list = userme
;invalid users = user1 user2
create mask = 0777
directory mask = 0777
有大神能看出来是哪里出了问题吗
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.