LDAP サーバーのセットアップ など、いくつかのスキーマをインポートする必要がありますeduPerson
。開発者によって発行された LDIF ファイルがあります。
# This LDIF file can be used to add to add the eduPerson schema to
# an OpenLDAP server > 2.4 that uses the new configuration format.
# Put this file to /etc/ldap/schema/ and then execute the following
# comand to add this schema:
# ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/eduperson.ldif
一方、ある LDAP 管理者は、スキーマを LDAP 構成 (例: /etc/openldap/slapd.conf
) に含めて LDAP デーモンを再起動することでスキーマをインポートすると聞いています。
したがって、私が調査したことから、スキーマを含めることが適切な方法であり、LDIF はスキーマ自体ではなくデータのインポートに使用されるようです。あれは正しいですか?両方の違いは何ですか? また、それぞれをいつ使用する必要がありますか?