[global]
null passwords = yes
bind interfaces only = yes
#interfaces = eth0
hosts allow = 192.168.1.0/24 192.168.2.0/24 127.0.0.1
map to guest = Bad Password
encrypt passwords = yes
stat cache size = 256
server string = movie server
getwd cache = yes
workgroup = work
#shared mem size = 2097152
protocol = NT1
netbios name = movie
socket options = TCP_NODELAY SO_RCVBUF=32768 SO_SNDBUF=32768
read size = 65536
security = share
os level = 36
auto services = global mvsrv
#host msdfs = yes
veto files = /*.eml/*.new/*.nws/readme.exe/*.dll/
guest account = nobody
[Movies]
read list = nobody,@nobody
valid users = nobody,@nobody
writable = no
path = /data/raid
write list = update,@update
public = yes
[Music]
read list = nobody,@nobody
valid users = nobody,@nobody
writable = no
path = /data/music/
write list = update,@update
public = yes
[Tools]
read list = nobody,@nobody
valid users = nobody,@nobody
writable = no
path = /data/tools
write list = update,@update
public = yes
;[update]
; read list = update,@update
; valid users = update,@update
; writable = yes
; path = /data
; write list = update,@update
; public = yes
; veto files = /*.eml/*.new/*.nws/readme.exe/
阅读(623) | 评论(0) | 转发(0) |