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

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



So, just to confirm what you're saying, that EVEN THOUGH the existing schema has all the prerequisite objectClass and other object types, and even though I'm attempting to use slaptest to convert a single extended .schema, a holdover from an earlier version of openldap, to an .ldif in the configuration cn, that my test.conf, must have lines that include all the other base schema files as well?

-----Original Message-----
From: Quanah Gibson-Mount [mailto:quanah@symas.com] 
Sent: Tuesday, May 02, 2017 5:21 PM
To: John Cooter <jcooter@atlantech.net>; openldap-technical@openldap.org
Subject: RE: Issue importing CGP schema into LDAP (centos 7)

--On Tuesday, May 02, 2017 5:02 PM -0400 John Cooter <jcooter@atlantech.net> wrote:

> The existing configuration, was created as follows:
> Install ldap and related services
> ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/cosine.ldif 
> ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/nis.ldif 
> ldapadd -Y EXTERNAL -H ldapi:/// -f 
> /etc/openldap/schema/inetorgperson.ldif create test.conf which only 
> contains a single line: include /etc/openldap/schema/cgp.schema run 
> slaptest statement, as listed below. Get error.
> This slaptest statement should normally allow me to create the ldif to 
> add to the schema, but it keeps failing. And I'm trying to figure out 
> why and what I'm doing wrong.

Your test LDIF file for converting schema must include all other schema that it is dependent upon for it to be able to convert properly.

--Quanah

--

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