samba config for hanyastar

系統:ubuntu 13.10 + samba 2.3.6.18 

認證模式:share

[global]

  workgroup = HANYASTAR.COM

  server string = fileserver.hanyastar.com

  netbios name = filesesrver.hanyastar.com

  security = share

  encrypt passwords = true

  load printers = no

  disable spoolss = yes

  log file = /var/log/samba34/log.%m

  max log size = 500

  deadtime = 15

  socket options = TCP_NODELAY SO_KEEPALIVE

  lock dir = /usr/local/locks

  oplocks = yes

  hide dot files = yes

  interfaces = 192.168.*.*

  os level = 36

  name resolve order = wins host lmhosts bcast

  preferred master = Yes

  domain master = No

  wins support = Yes

  display charset = UTF-8

  unix charset = UTF-8

  dos charset = cp936

  create mode = 0666

  force create mode = 0666

  directory mode = 0777

  force directory mode = 0777

[yunwei]

       comment = yunwei

       path = /data/149/yunwei

       writable = yes

       public = yes

       read only = No

[xinyuan]

       comment = xinyuan

       path = /data/149/xinyuan

       writable = yes

       public = yes

       read only = No

[kefu]

       comment = kefu

       path = /data/149/kefu

       writable = yes

       public = yes

       read only = No

[kaifa]

       comment = kaifa

       path = /data/149/kaifa

       writable = yes

       public = yes

       read only = No

[hrd]

       comment = hrd

       path = /data/149/hrd

       writable = yes

       public = yes

       read only = No

[ceshi]

       comment = ceshi

       path = /data/149/ceshi

       writable = yes

       public = yes

       read only = No

[share]

       comment = share

       path = /data/149/share

       writable = yes

       public = yes

       read only = No


#[pc]

#      comment = pc

#      path = /var/lib/backuppc/pc

#      write list = @it backuppc

#      read list = @it backuppc

#      read only = yes


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章