В начало → Gentoo LDAP-DNS Guide (Англ.) → Configuring OpenLDAP |
Now we need to configure OpenLDAP with the DNS schema. Open up /etc/openldap/sldap.conf
with your favorite editor and make sure the following three lines are listed:
Листинг 8. Editing /etc/openldap/slapd.conf
include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema
Bootstrap LDAP with the base dn you defined previously with ldapdns-conf. To accomplish this, we first create a file called bootstrap.ldif
(it is just a name) which we fill up with DNS information.
As an example, we provide a bootstrap.ldif
file for the fictitious domain cherchetoujours.org.
Now bootstrap your LDAP with this information:
В начало → Gentoo LDAP-DNS Guide (Англ.) → Configuring OpenLDAP |