2011年5月25日 星期三

SAMBA optimize conf.

smb.conf
[global]
   workgroup = MYGROUP
   server string = Samba Server
   log file = /var/log/samba/%m.log
   max log size = 50
   dns proxy = no
   security = share

   unix charset = utf8
   display charset = utf8
   dos charset = cp950
   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65535 SO_SNDBUF=65535
   syslog = 1
   syslog only = yes
   strict sync = no
   sync always = no

   log level = 1
   read raw = yes
   write raw = yes
   oplocks = yes
   max xmit = 65535
   dead time = 15
   getwd cache = yes
   lpq = 30
   large readwrite = no

[123]
   path = /mnt/123
   public = yes
   writable = yes

沒有留言:

張貼留言