Gentoo ~ # cp /etc/samba/smb.conf.example /etc/samba/smb.conf <= サンプル設定ファイルのコピー
Gentoo ~ # vi /etc/samba/smb.conf <= 設定ファイルの編集
[global]
unix charset = EUC-JP <= 追加(Gentooの日本語文字コード)
dos charset = CP932 <= 追加(Windowsの日本語文字コード)
display charset = EUC-JP <= 追加(Gentooの日本語文字コード)
workgroup = WORKGROUP <= Windowsのワークグループ名を指定
; hosts allow = 192.168.1. 192.168.2. 127.
↓
hosts allow = 192.168. 127. <= 許可するネットワークを指定
;[public]
; comment = Public Stuff
; path = /home/samba/public
; public = yes
; writable = no
; write list = @staff
↓
[public] <= コメント解除
comment = Public Stuff <= コメント解除
path = /home/samba/public <= コメント解除
public = yes <= コメント解除
writable = yes <= 変更(書き込みを許可)
; write list = @staff
|