openldap にカスタム属性を追加する

openldap にカスタム属性を追加する

セットアップを試みていますConTagged - LDAP アドレス帳しかし、いくつかの属性に問題があります。問題は、それらのいくつかが未定義であり、inetorgperson.schema に存在しないように見えることです。これらのカスタム属性を設定するにはどうすればよいでしょうか?

参考までに、連絡先を変更するたびに表示されるエラーを次に示します。

The LDAP server returned the following errors
Invalid syntax
Undefined attribute type(del anniversary)
Undefined attribute type(del marker)
Object class violation(mod c)
Undefined attribute type(del custom1)
Undefined attribute type(del custom2)
Undefined attribute type(del custom3)
Undefined attribute type(del custom4)

答え1

リードミーこれらの属性を追加する手順については、ldapab.schemaサーバー上で以下を含めますslapd.conf:

include /etc/ldap/schema/ldapab.schema

関連情報