Samba 解説

第2章 Windowsドメインの構築

【リスト2-1】 PDC設定のサンプル

[global]
        dos charset = CP932
        unix charset = EUCJP-MS
        display charset = CP932
        workgroup = SAMBADOM
        netbios name = domainpdc
        os level = 64
        preferred master = Yes
        domain master = Yes
        security = user
        encrypt passwords = Yes
        domain logons = Yes
        passdb backend = tdbsam
        admin users = domadm
        logon home = \\%L\%U
        logon drive = Z:
        logon path = \\%L\profiles\%U
        logon script = %U.bat

[netlogon]
        comment = Script for Domain Logon
        path = /var/samba/netlogon
        writeable = No
        guest ok = Yes

[homes]
        comment = %U's Home Directories
        writeable = Yes
        browseable = No

[profiles]
        comment = User Profile Directory
        path = /var/samba/profiles
        writeable = Yes
        browseable = No
        guest ok = No

[share]
        comment = User Share Space
        path = /opt/share
        browseable = yes
        writeable = yes
	      

閉じる