是否可以同时使用 inetOrgPerson 和residentialPerson ?
我有以下条目要添加到 ldap
dn: mail=james@email.com,ou=development,dc=company,dc=com
objectclass: inetOrgPerson
objectclass: residentialPerson
cn: James Lin
sn: Lin
l: the address
mail: james@email.com
在 slapd.conf 中,我包含了以下模式
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
当我尝试通过 slapadd 添加条目时,出现以下错误
additional info: invalid structural object class chain (residentialPerson/inetOrgPerson)