读书人

LDAP-Series-一-Chapter-2

发布时间: 2013-11-09 17:06:53 作者: rapoo

LDAP-Series-1-Chapter-2

Config LDAP.

    Directory struct.
|-- ACL.conf(make by myself to contain ACL config)|-- DB_CONFIG.example|-- ldap.conf|-- ldap.conf.default|-- schema|-- slapd.conf|-- slapd.conf.bck|-- slapd.conf.default|-- slapd.ldif`-- slapd.ldif.default
    First, you should vi slapd.confinclude /usr/local/openldap/etc/openldap/schema/core.schema
    include /usr/local/openldap/etc/openldap/schema/cosine.schema
    include /usr/local/openldap/etc/openldap/schema/inetorgperson.schema (inetorgperson)
    include /usr/local/openldap/etc/openldap/schema/nis.schema (posixaccount,posixgroup) All above is schema.include /usr/local/openldap/etc/openldap/ACL.conf (ACL file)
    database bdb
    suffix "dc=xxx,dc=org"
    rootdn "cn=admin,dc=xxx,dc=org"
    directory /usr/local/openldap/var/weiwejiaLdap (dir to contain the ldap)
OK, the dn of super root is "cn=admin,dc=xxx,dc=org" now. Password set as rootpw, Using slappasswd to generate.



读书人网 >其他数据库

热点推荐