ITPub博客

首页 > Linux操作系统 > Linux操作系统 > smb.conf for samba

smb.conf for samba

原创 Linux操作系统 作者:bontonpan 时间:2009-01-30 11:10:48 0 删除 编辑

[global]
workgroup=mpecn
server string=samba server
secutity= ads
load printer =yes
printing = cups
max log size =50
password server =*
realm = MPECN.FIH.GD
socket ptions=TCP_NODELAY
wins server =10.167.66.105 10.161.7.166
dns proxy =no
netbios aliases = server1
       idmap uid = 10000-50000
       idmap gid = 10000-50000
       auth methods = winbind
       #template homedir = /home/%D/%U
       template homedir = /home/%U
       template shell = /bin/bash
       winbind enum users = yes
       winbind enum groups = yes
       winbind trusted domains nly = no
       winbind use default domain = yes
       printer admin = @MPECN\IT @"MPECN\Domain Admins"
       map to guest= Never
[tmp]
       path = /mnt/hd01/server/tmp
       comment = Temp File
       ;vfs bject = vscan-clamav
       ;vscan-clamav: config-file = /usr/local/samba/lib/vscan-clamav.conf
       public = no
       valid users = @MPECN\PD-OEM @MPECN\PM-OEM @MPECN\IT @MPECN\SP @MPECN\NET MPECN\hk090 MPECN\hk052
       write list = @MPECN\PD-OEM @MPECN\PM-OEM @MPECN\IT MPECN\hk090 MPECN\hk052 @MPECN\SP @MPECN\NET
       writeable = yes
       directory mask = 0777
       create mask = 0666
    [ntcm]
       path = /mnt/hd01/ntcm
       comment = ntcm
       public = yes
       valid users = @IT
       write list = @MPECN\IT @IT
       ;write list=@MPECN\NET administrator
       writable = yes
       directory mask = 0777
       create mask = 0666
    [Recorder]
       path = /mnt/hd01/vnc_recorder
       public = yes
       read nly = yes
    [Exchange]
       path = /mnt/hd01/server/exchange
       comment = use exchanging file
       public = no
       browseable = yes
       valid users = @MPECN\PD-OEM @MPECN\MC
       write list = "MPECN\PD-OEM" "MPECN\MC"
       writeable = yes
       directory mask = 3775
       create mask = 3664
    [Dig-Photo]
       path = /mnt/hd01/pic_jdvm
       comment = Load the digital picture of JDVM
       public = yes
       browseable = yes
       valid users = @MPECN\NET
       write list = @MPECN\NET
       writeable = yes
       directory mask = 1775
       create mask = 1664

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11754813/viewspace-544779/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-01-30

  • 博文量
    51
  • 访问量
    37190