[global]
null passwords = yes
bind interfaces only = yes
map to guest = Bad Password
encrypt passwords = yes
server string = movie server
getwd cache = yes
workgroup = Lservers
protocol = NT1
netbios name = movie
socket options = TCP_NODELAY SO_RCVBUF=32768 SO_SNDBUF=32768
security = share
os level = 36
auto services = global mvsrv
#veto files = /*.eml/*.new/*.nws/readme.exe
guest account = nobody
unix charset = CP936
dos charset = CP936
display charset = CP936
[homes]
browseable = no
writable = yes
[Movies]
read list = nobody,@nobody
valid users = nobody,@nobody
writable = no
path = /media/movies
write list = update,@update
public = yes
[update]
read list = update,@update
valid users = update,@update
writable = yes
path = /media/disks
write list = update,@update
public = yes
veto files = /*.eml/*.new/*.nws/readme.exe/
alick 于 2010-12-06 22:10:20发表:
一般发行版里带的samba的配置文件里,说明都写的很清楚,(只不过是英文的)。
中文的教程,请google。