码迷,mamicode.com
首页 > 其他好文 > 详细

samba config for hanyastar

时间:2015-04-30 10:52:21      阅读:91      评论:0      收藏:0      [点我收藏+]

标签:

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


本文出自 “陈胜纲的博客” 博客,谢绝转载!

samba config for hanyastar

标签:

原文地址:http://chenshengang.blog.51cto.com/4399161/1640771

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!