블로그 이미지
namGoos
IQ.152 천재 남구스

calendar

      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

    '2009/07'에 해당되는 글 1

    1. 2009/07/31 samba smb.conf 설정
    2009/07/31 18:02 Web Dev/Debian Server

    #======================= Global Settings =======================

    [global]

    ## Browsing/Identification ###

    # Change this to the workgroup/NT-domain name your Samba server will part of
       workgroup = dev_box

    # server string is the equivalent of the NT Description field
       server string = %h BestPlay Development Server

    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable its WINS Server
    #   wins support = no

    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ;   wins server = w.x.y.z

    # This will prevent nmbd to search for NetBIOS names through DNS.
       dns proxy = no

    # What naming service and in what order should we use to resolve host names
    # to IP addresses
    ;   name resolve order = lmhosts host wins bcast

    ## For SVN Ver1.5.xx by namGoos!!
    create mask = 0644
    force create mode = 0600
    security mask = 0555
    force security mode = 0600

    #### Networking ####

    # The specific set of interfaces / networks to bind to
    # This can be either the interface name or an IP address/netmask;
    # interface names are normally preferred
    ;   interfaces = 127.0.0.0/8 eth0

    # Only bind to the named interfaces and/or networks; you must use the
    # 'interfaces' option above to use this.
    # It is recommended that you enable this feature if your Samba machine is
    # not protected by a firewall or is a firewall itself.  However, this
    # option cannot handle dynamic or non-broadcast interfaces correctly.
    ;   bind interfaces only = yes

    ## access ip by namGoos
    hosts allow = 58.181.20.

    ## charset setting for windog by namGoos
    unix charset=utf-8
    dos charset=utf-8


    #======================= Share Definitions =======================

    [Trunk]
    comment = Trunk Box
    path=/var/www/trunk
    public = yes
    writable = yes
    create mode = 0664
    directory mode = 0775
    force user = totoro
    force group = www-data

    [Branches]
    comment = Branches Box
    path=/var/www/branches
    public = yes
    writable = yes
    create mode = 0664
    directory mode = 0775
    force user = totoro
    force group = www-data

    [Tags]
    comment = Tags Box
    path=/var/www/tags
    public = yes
    writable = yes
    create mode = 0664
    directory mode = 0775
    force user = totoro
    force group = www-data


    [DataBox]
    comment = Data Boxes
    path=/var/samba
    public = yes
    writable = yes
    create mode = 0664
    directory mode = 0775
    force user = nobody
    force group = nogroup

    저작자 표시
    크리에이티브 커먼즈 라이선스
    Creative Commons License

    'Web Dev > Debian Server' 카테고리의 다른 글

    SVN 서버 주소가 변경 시 폴더 정보 변경  (0) 2011/01/18
    eClipse : myLyn = redMine : SVN 설치 방법  (1) 2009/08/13
    samba smb.conf 설정  (0) 2009/07/31
    posted by namGoos
    prev 1 next