差分
この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
os:freebsd:samba:plan1:start [2010/10/18 22:23] yuki |
os:freebsd:samba:plan1:start [2011/08/24 10:07] (現在) |
||
---|---|---|---|
ライン 2: | ライン 2: | ||
気にする点は少ない。 | 気にする点は少ない。 | ||
- | * キャラクタセットとデフォルトの公開ディレクトリを無効にする位でいいと思ってる。 | + | * キャラクタセットとデフォルトの公開ディレクトリを無効にする位でいいと思ってる。変更点だけ書く。 |
- | * 例 | + | * [global]セクションの下にキャラクタセット、公開したいディレクトリのセクションを作成する。 |
* <code> | * <code> | ||
[global] | [global] | ||
- | unix charset = UTF-8 | + | unix charset = UTF-8 |
- | dos charset = cp932 | + | dos charset = cp932 |
- | + | ||
- | # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH | + | |
- | workgroup = WORKGROUP | + | |
- | + | ||
- | # server string is the equivalent of the NT Description field | + | |
- | server string = TEST | + | |
- | + | ||
- | security = user | + | |
- | + | ||
- | # domain logons = no | + | |
- | domain master = yes | + | |
- | local master = yes | + | |
- | os level = 65 | + | |
- | wins support = yes | + | |
- | + | ||
- | ; hosts allow = 192.168.1. 192.168.2. 127. | + | |
- | hosts allow = 192.168.1. 127. | + | |
- | + | ||
- | ; load printers = yes | + | |
- | load printers = no | + | |
- | printing = bsd | + | |
- | printcap name = /etc/printcap | + | |
- | + | ||
- | log file = /var/log/samba34/log.%m | + | |
- | + | ||
- | max log size = 500 | + | |
- | + | ||
- | passdb backend = tdbsam | + | |
- | + | ||
- | + | ||
- | #============================ Share Definitions ============================== | + | |
- | ;[homes] | + | |
- | ; comment = Home Directories | + | |
- | ; browseable = no | + | |
- | ; writable = yes | + | |
[test] | [test] | ||
ライン 52: | ライン 17: | ||
browseable = yes | browseable = yes | ||
</code> | </code> | ||
+ | * WINSを使う場合は wins support = yesとos level = 65を[global]セクションに書いておこう。 | ||
+ | * socket optionsは下手に触らないのが吉。 | ||
+ | * 今のところ、宅内LAN環境だとデフォルトが最速。 | ||
+ | |||
+ |