Chinaunix首页 | 论坛 | 博客
  • 博客访问: 646044
  • 博文数量: 197
  • 博客积分: 4858
  • 博客等级: 上校
  • 技术积分: 2162
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-06 22:46
文章分类

全部博文(197)

文章存档

2011年(30)

2010年(21)

2009年(25)

2008年(80)

2007年(41)

分类: LINUX

2009-12-10 15:27:54

[global]
        dos charset = cp936
        unix charset = cp936
        display charset = 936
        workgroup = smb
        netbios name = server
        server string = This is Test File server %v
        log file = /var/log/samba/%m.log
        max log size = 500
        name resolve order = lmhosts bcast host
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        logon script = startup.bat
        logon drive = K:
        logon path =
        domain logons = Yes
        os level = 64
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = Yes
        admin users = root
        add machine script = /usr/sbin/useradd -d /dev/null -s /bin/false -g machines %u
        unix password sync = yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
[netlogon]
        comment = Network logon Service
        path = /home/samba/netlogon
        write list = root
        guest ok = Yes
[homes]
        comment = Home directories
        valid users = %S
        read only = No
        create mask = 0664
        browseable = No
[temp]
        comment = the user groups work directory
        path = /home/temp
        valid users = @users
        read only = No
        guest ok = Yes
阅读(1035) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~