samba的配置文件

简介:

[global]

    workgroup = WORKGROUP

    server string = Samba Server Version %v

    netbios name = CentOS for WorkGroup

    log file = /var/log/samba/log.%m

    max log size = 50

    security = user

        map to guest = bad user

        dns proxy = no

;   passdb backend = tdbsam

;   wins support = yes

;   wins server = w.x.y.z

;   wins proxy = yes


;   dns proxy = yes

[public]

    comment = Share Storage

    path = /mnt/public

    public = yes

    writable = yes

    printable = no

        guest ok = yes

        read only = no


[secured]

    comment = secured storage

        path = /mnt/secured

        valid users = @smbgrp

        guest ok = no

        writable = yes 

        browsable = yes 

        printable = no


[nopasswd]

    comment = Share Storage

    path = /mnt/shared/nopasswd/

    public = yes 

    writable = yes 

    printable = no

    guest ok = yes 

    read only = no












本文转自ting2junshui51CTO博客,原文链接:http://blog.51cto.com/ting2junshui/1729676 ,如需转载请自行联系原作者


相关文章
|
Web App开发 网络协议 安全
|
网络协议 Unix Linux
Samba服务的安装与配置
Samba服务的安装与配置
2538 0
|
安全 开发工具
SAMBA 服务器安装与配置
#!/bin/bash #SAMBA  window co-connect linux #SAMBA  NETBIOS #SAMBA nmbd:137 138  smbd:139 445 #samba samba-client samba-common /etc/samba/smb.
930 0
|
数据安全/隐私保护 安全 Linux
|
Web App开发 网络协议 安全
|
Linux 数据安全/隐私保护
|
安全 数据库 数据安全/隐私保护
|
测试技术 Linux 数据库
|
Linux 数据安全/隐私保护