QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 773|回复: 0

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

[复制链接]
发表于 2006-11-17 11:17:07 | 显示全部楼层 |阅读模式
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

[netlogon]

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

[ExchangeSpaceDeleteTheFilesAfterused]
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

[SoftWare]
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
[lyp]
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

[fll]
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

[lm]
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

[wm]
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

[hjh]
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

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

[cj]
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

[xxb]
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-22 08:25 , Processed in 0.063157 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表