我的基本情况smb.conf
:
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
access based share enum = yes
[staff]
path = /home/shares/share-staff
comment = test
valid users = admin staff
browseable = Yes
read only = No
directory mask = 0775
create mask = 0644
hide unreadable = yes
[admin]
path = /home/shares/share-admin
comment = test
valid users = admin
browseable = Yes
read only = No
directory mask = 0775
create mask = 0644
hide unreadable = yes
目录/home/shares
如下所示:
drwxrwx--- 4 shares admin share-admin
drwxrwx--- 4 shares staff share-staff
目录/home/shares
权限为drwxrwxrwx
(777)
staff
用户在staff
组中
admin
用户既是admin
组staff
我期望的是,根据已验证的用户,仅查看我有权访问的共享。但是,当我\\machine-name
在客户端计算机上的资源管理器窗口中加载时,没有显示任何用户的共享。
我的 Samba 设置有什么问题?