#freeze
**設定 [#l19dd1ef]

#contents

----
***smb.conf [#p4edbe17]
例。
 #======================= Global Settings =====================================
 [global]
   workgroup = HOGE
   dos charset = CP932
   unix charset = UTF-8
   display charset = UTF-8
 
   max protocol = SMB2
 
   server string = Samba Server
 
   security = user
 
   hosts allow = 192.168.xxx. 127.
 
   log file = /usr/local/samba/var/log.%m
   max log size = 50
 
   bind interfaces only = yes
   interfaces = eth0 127.
 
   client ntlmv2 auth = yes
 
 #============================ Share Definitions ==============================
 [homes]
     comment = Home Directories
     valid users = %S
     browseable = no
     writable = yes
     vfs objects = recycle full_audit
     recycle:keeptree = yes
     recycle:versions = yes
     full_audit:failure = connect disconnect mkdir rmdir open rename unlink
     full_audit:success = connect disconnect mkdir rmdir open rename unlink
 
 [share]
     comment = share containts
     path = /usr/local/hoge
     browseable = no
     writable = yes
     valid users = hoge
     force user = hoge
     vfs objects = recycle full_audit
     recycle:keeptree = yes
     recycle:versions = yes
     full_audit:failure = connect disconnect mkdir rmdir open rename unlink
     full_audit:success = connect disconnect mkdir rmdir open rename unlink

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS