# Original `smb.conf' file. # Written by mettice. # # This is the main Samba configuration file. # SMB protocol is a matter of Session Message Block protocol. [global] log file = /var/log/samba/log.%m # ログサイズ。単位は KB。 max log size = 50 # 日本語コード client code page = 932 coding system = EUC # ワークグループ名かドメイン名。 workgroup = U.F.O.P. # よくある説明。 server string = U.S.S. Stargazer # 接続許可リスト hosts allow = 192.168.0. 127.0.0.1 valid users = root mettice # セキュリティレベル security = user # その他 browseable = yes printing = bsd load printers = no # Windows NT を使うときは付けとくコト。 # パスワードを暗号化せず使ってるのなら構わないんだけど。 # (デフォルトでは暗号化パスワードが使われてるのです) encrypt passwords = yes # コレを付けないと WINS が云々うるさい(謎) wins support = true # おまじないのよーなモノ(Win9x 対策みたいなモノらしい) mangle case = no case sensitive = no default case = upper preserve case = yes short preserve case = yes # 各共有ディレクトリの設定、ね。 # オプションなんかは見たまんまでそ?(爆) [public] comment = Public directory path = /home/samba public = yes writable = yes printable = no read only = no [homes] comment = Home directory writable = yes printable = no read only = no