[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Issue importing CGP schema into LDAP (centos 7)



--On Wednesday, May 03, 2017 12:30 PM -0400 John Cooter <jcooter@atlantech.net> wrote:

I attempted that this morning as well, and will present reference here:
Contents of test.conf

include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/misc.schema
include         /etc/openldap/schema/ppolicy.schema
include         /etc/openldap/schema/cgp.schema (the referenced schema
for conversion)

testing directory created

slaptest -f test.conf -F testing

error message:

5909f790 /etc/openldap/schema/cgp.schema: line 8 attributetype: Duplicate
attributeType: "2.16.840.1.113730.3.1.241" slaptest: bad configuration
directory!

Fix your cgp.schema to not include the definition for displayName, since that already comes from inetorgperson.schema. And remove any other attributes it is incorrectly defining that are provided from other schema as well.

--Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>