首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

LDAP-Series-一-Chapter-2

2013-11-09 
LDAP-Series-1-Chapter-2Config LDAP.Directory struct.|-- ACL.conf(make by myself to contain ACL conf

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.



热点排行