2011年11月14日 星期一

SAMBA tuned configuration

每次都要進去改SAMBA的設定檔(/etc/smb/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 
Reference: 技術沒有難度,有難度的是態度

沒有留言:

張貼留言