系统: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