2

samba 共享问题

 2 years ago
source link: https://www.v2ex.com/t/825831
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  Linux

samba 共享问题

  LxnChan · 13 小时 25 分钟前 · 449 次点击

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

有大神能看出来是哪里出了问题吗


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK