ファイル:/etc/samba/smb.conf
#======================= Global Settings =====================================
[global]
workgroup = GROUP_NameName <= Windows の Workgroup 名を指定
server string = SambaServer <= Windows の 「コンピュータの説明」に相当する
Explorerでは「SambaServer(マシン名)」と見える
hosts allow = 192.168.xx. <= 接続を許可するアドレス(複数記述可)
max log size = 100 <= ログファイルの最大サイズ (Default : 50Kbytes)
encrypt passwords = yes <= パスワードを暗号化して転送(95,古いNTは暗号化機能がない)
name resolve order = host lmhosts bcast <= 名前解決の順位設定(自分がWinsサーバーになる場合)
wins support = yes <= winsサーバーになる
;wins server = <= wins support と排他的(コメントにすること)
;wins proxy = yes <= wins support と排他的(コメントにすること)
dns proxy = yes <= winsサーバーになる時は必要
domain master = yes <= Domain master になる(他にいない時設定)
dos charset = cp932 <= 文字コードの設定(2.x と 3.x で異なるので注意)
display charset = cp932 <= SWATの画面に表示されるコード
|