Samba 解説

第4章 SambaとLDAPの連携

【リスト4-5】 LDAP連携時の smb.conf設定(サンプル)

[global]
        dos charset = CP932
        unix charset = EUCJP-MS
        display charset = CP932
        workgroup = SAMBADOM
        netbios name = SAMBAPDC
        os level = 64
        preferred master = yes
        domain master = yes
        security = user
        encrypt passwords = yes
        domain logons = yes
        admin users = Administrator
 
        passdb backend = ldapsam:ldap://localhost
        ldap suffix = dc=miraclelinux,dc=com
        ldap admin dn = cn=Manager,dc=miraclelinux,dc=com
        ldap user suffix = ou=People
        ldap group suffix = ou=Groups
        ldap machine suffix = ou=Computers
        ldap passwd sync = yes
        idmap uid = 40000-50000
        idmap gid = 40000-50000
        template primary group = miracle

        logon path = 
	      

閉じる