SAMBAの設定ファイルは/etc/smb.confで、このファイルの末尾に設定を追加すれば細かい設定ができるようだ。

以下のような設定を追加した。

[global]
    wins support = yes
    wins proxy = no
    dns proxy = no
    os level = 20
    local master = yes
    domain master = auto
    preferred master = auto

[homes]
   comment = %Uのホームディレクトリー
   browseable = no
   read only = no
   create mask = 0700
   directory mask = 0700
   valid users = %S

[共有フォルダ]
    comment = 共有フォルダ
    path = /Users/samba/shares
    browseable = yes
    guest ok = no
    writable = yes
    force user = root
    force group = wheel
    create mask = 0750
    directory mask = 0750
    valid users = @staff

コメントを残す