roamer2000 发表于 2006-11-17 11:17:07

我的samba中smb.conf有问题马 ?

samba 3.0
共享以后 连接网络资源不让访问

smb.conf如下

workgroup = geomatic

netbios name = gserver

security = user

encrypt passwords = yes

smb passwd file = /etc/samba/smbpasswd

domain logons = yes

domain master =yes

#perferred master = yes

local master =yes

os level = 64

#logo script =scripts\%U.bat

wins support = yes

dos charset = cp936
unix charset = cp936
#iocharset = gb2312



path = /home/DataShare
read only = yes
browseable = no
share modes =no


path = /home/Disk120-1/DataShare
valid users = hjh,lgz,lyp,fll,xxb,cj
admin users = lgz
read list = hjh,lgz,lyp,fll,hjh,xxb,cj
write list = hjh,lgz,lyp,fll,xxb,cj
read only = No


path=/home/Disk120-1/SoftWare
valid users = lgz,lyp,fll,hjh,xxb,cj
admin users = lgz
read list = lgz,lyp,fll,hjh,xxb,cj
write list = lgz,lyp
read only = no

path = /home/Disk120-2/lyp
valid users = lyp,lgz
admin users = lyp
read list = lyp,lgz
write list = lyp,lgz
#update list = lyp
read only = No


path = /home/Disk120-1/fll
valid users = fll,lgz
admin users = fll
read list = fll,lgz
write list = fll,lgz
#update list = fll
read only = No


path = /home/Disk120-1/lm
valid users = lm,lgz,hjh,lyp
admin users = lm
read list = lm,lgz,hjh,lyp
write list = lm,lgz
#update list = lm
read only = No


path = /home/Disk120-2/wm
valid users = wm,lgz
admin users = wm
read list = wm,lgz
write list = wm,lgz
#update list = wm
read only = No


path = /home/Disk120-2/hjh
valid users = hjh,lgz
admin users = hjh
read list = hjh,lgz
write list = hjh,lgz
#update list = hjh,lgz
read only = No


path = /home/Disk120-1/lgz
valid users = lgz
admin users = lgz
read list = lgz
write list = lgz
#update list = lgz
read only = No


path = /home/Disk120-2/cj
valid users = cj,lgz
admin users = hjh
read list = cj,lgz
write list = cj,lgz
#update list = cj,lgz
read only = No


path = /home/Disk120-2/xxb
valid users = xxb,lgz
admin users = xxb
read list = xxb,lgz
write list = xxb,lgz
#update list = xxb,lgz
read only = No
页: [1]
查看完整版本: 我的samba中smb.conf有问题马 ?