網吧電影服務器腳本

這裏從網吧的電影服務器弄出來的,沒作任何的修改和註釋;ios

僅供參考!服務器

這種例子相對比較多!我貼些實際應用的!socket

至於samba的安裝和配置,不在這裏累贅!!!!ide


[global]server

null passwords = yesget

bind interfaces only = yesstring

#interfaces = eth0it

hosts allow = 192.168.1.0/24  192.168.2.0/24 127.0.0.1io

map to guest = Bad Passwordtable

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/

相關文章
相關標籤/搜索