- 论坛徽章:
- 0
|
# File server For Yiyou Platform
# Wuhan Shengtian Network Tech. Co,.Ltd
# http://www.stnts.com 027-87887966 87642494
#======================= Global Settings =====================================
[global]
# unix charset = cp936
# dos charset = cp936
# display charset = cp936
workgroup = WORKGROUP
netbios name = ecofe2
server string = Yiyou File Server
guest account = nobody
log file = /var/log/samba/%m.log
max log size = 50
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# interfaces = 192.168.1.254/24 192.168.2.254/24
os level = 33
# default case = lower
# case sensitive = no
valid users = cface,oface,update,stnt,administrator,
admin users = update
write list = update
#============================ Share Definitions ==============================
[menu$]
path = /home/menu/data
writeable = yes
public = no
[save$]
path = /home/menu/save
writeable = yes
admin users = update,cface,oface
public = no
[mp3$]
path = /home/mp3
public = no
writeable = yes
[game$]
path = /game
public = no
writeable = yes
[game2$]
path = /game2
public = no
writeable = yes
[vdisks$]
path = /vdisks
public = no
admin users = update,stnt
writeable = yes
想用administrator 访问linux 怎么设都不行。。。 另外这个是smb passwd file = /etc/samba/smbusers
# Unix_name = SMB_name1 SMB_name2 ...
update = update administrator
stnt = stnt administrator
cface = cface administrator
oface = oface administrator
nobody = guest pcguest smbguest
~
[ 本帖最后由 ikwen 于 2007-12-5 16:18 编辑 ] |
|