Samba/設定
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
**設定 [#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 ...
full_audit:success = connect disconnect mkdir rmdir ...
[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 ...
full_audit:success = connect disconnect mkdir rmdir ...
終了行:
**設定 [#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 ...
full_audit:success = connect disconnect mkdir rmdir ...
[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 ...
full_audit:success = connect disconnect mkdir rmdir ...
ページ名: