向 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

相關內容