samba.sh

发表于:2007-07-04来源:作者:点击数: 标签:
samba3.0以下 #======================= Global Settings ===================================== [global] workgroup = MOVIE server string = Samba Server security = share encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd socket optio
samba3.0以下


#======================= Global Settings =====================================
[global]

   workgroup = MOVIE
   server string = Samba Server
   security = share
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   socket options = TCP_NODELAY SO_RCVBUF=32768 SO_SNDBUF=32768
   os level = 30
   read size = 775
   null passwords = yes
   protocol = NT1
   bind interfaces only = yes
   host msdfs =yes
   directory mode =775
   map to guest = Bad Password
   stat cache size =128
   getwd cache = yes

;  hosts allow = 192.168.1. 192.168.2. 127
;   wins support = yes
;   wins server = w.x.y.z
;   wins proxy = yes
#============================ Share Definitions ==============================
;[homes]
 ;  comment = Home Directories
 ;  browseable = no
 ;  writable = yes
 ;  valid users = %S
 ;  create mode = 0664
 ;  directory mode = 0775
[files]
        path = /d/movie
        msdfs root = yes
        read list = nobody
        valid users = nobody,@nobody
        writeable = yes
        public = yes
        write list = gowl

[newmov]
        path = /d
        read list = gowl
        valid users = gowl,@gowl
        writeable = yes
        public = no
        write list = gowl
#[guest]
 #       path = /d/guest
  #      read list = nobody
   #     valid users = gowl,@gowl
    #    writeable = yes
     #   public = no
      #  write list = gowl

原文转自:http://www.ltesting.net