[root@file-server ~]# more /etc/samba/smb.conf
#======================= Global Settings =====================================
[global]
workgroup = GLK-GROUP
server string = Samba-Server
hosts allow = 172.,127.,10.
log file = /var/log/samba/%m.log
max log size = 50
security = user
passdb backend = tdbsam
encrypt passwords = yes
netbios name = glk's-samba
unix charset = cp936
dos charset = cp936
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
dos filetimes = Yes
dos filetime resolution = Yes
# username map = /etc/samba/smbusers
# dns proxy = No
# ldap ssl = no
# ----------------------- Standalone Server Options ------------------------
security = user
passdb backend = tdbsam
#============================ Share Definitions ==============================
[电子商务处]
comment = 电子商务处
path = /mnt/e-commerce
write list=dzswc,glk,zhk,iso,ftpyibu,ecd_yb,pcuser,photouser,photozwpt,mailweb,watchinfo,sjzyk
[客服中心]
comment = 客服中心
path = /mnt/customer-service-centre
write list = root,zhglb,zhglb_tck,zhglb_pgk,zhglb_cgk,zhglb_xzk,zlgcb,zhfwb
[工作处]
comment = 工作处
path = /mnt/operation-department
write list=plan,zhanwuke,zhongheke
[项目办]
comment = 项目办
path = /mnt/project-office/
write list= xmb,engineering
[photofile]
comment = 二部所有对外网站的图片存储
path = /mnt/e-commerce/web/photofile
write list=photouser
browseable=no
[photozw]
comment = 政务平台专用存储
path = /mnt/e-commerce/web/photozw
write list=photozwpt
browseable=no
[mailweb]
comment = 邮件备份
path = /mnt/e-commerce/sys_bak/mailweb
write list = mailweb
browseable=no
[新闻宣传处]
comment = 新闻宣传处
path = /mnt/PressAndPublicity
write list = filepress
[中心办公室]
comment = 中心办公室
path = /mnt/executive-office
write list = zxbgs,xzsw
[招标采购部]
comment = 招标采购部
path = /mnt/bidding-purchase-dep
write list = zbcgb
[企管处]
comment = 企管处
path = /mnt/enterprise-management-department
write list=qgc
阅读(747) | 评论(0) | 转发(0) |