|
最近在学习samba,有一个配置
是这样的:
一个admin ,一个aaa,一个bbb,一个ccc
他们每一个人有一个文件夹.并且只有自己和admin可以有读和写的权限.
还有一个exchange文件夹用来共享文件,只能修改删除自己的文件,不能删除别人的文件.
我在寝室里,有一台电脑可以访问,但是另外的三台却不能够访问,说是 没有权限访问,请与管理员联系.
我的配置文件如下:
[global]
workgroup = 2075
server string = samba server
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
client code page = 936
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[aaa]
comment = aaa
path = /home/samba/my2075/aaa
valid users = aaa, admin2075
write list = aaa, admin2075
browseable = No
[bbb]
comment = bbb
path = /home/samba/my2075/bbb
valid users = bbb, admin2075
write list = bbb, admin2075
browseable = No
[ccc]
comment = ccc
path = /home/samba/my2075/ccc
valid users = ccc, admin2075
write list = ccc, admin2075
browseable = No
[admin2075]
comment = admin2075
path = /home/samba/my2075/admin2075
valid users = admin2075
write list = admin2075
browseable = No
[exchange]
comment = Exchange File Directory
path = /home/samba/my2075/exchange
read only = No
guest ok = Yes
以前网上有人说,是没有加samba用户,我已经加了
请高手指点一下,我感觉我的配置没有问题. |
|