由 zhipengjia 在 08-23-2004 03:48 发表:
我朋友帮弄的samba
这是我朋友弄的,我有些看不懂,那出来大家看看,我想给加个目录,设成共享,然后弄个只有update能读,写,删,而普通用户只能读,和执行,怎么弄?
[global]
null passwords = yes
bind interfaces only = yes
#interfaces = eth0
#hosts allow = 192.168.0.0/24 127.0.0.1
map to guest = Bad Password
encrypt passwords = yes
stat cache size = 256
server string = movserver
getwd cache = yes
workgroup = workgroup
#shared mem size = 2097152
[global]
null passwords = yes
bind interfaces only = yes
#interfaces = eth0
#hosts allow = 192.168.0.0/24 127.0.0.1
map to guest = Bad Password
encrypt passwords = yes
stat cache size = 256
server string = movserver
getwd cache = yes
workgroup = workgroup
#shared mem size = 2097152
protocol = NT1
netbios name = movserver
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 = /home/movies
write list = update,@update
public = yes
[Music]
read list = nobody,@nobody
valid users = nobody,@nobody
writable = no
path = /home/music
write list = update,@update
public = yes
[Tools]<br /