I did so, and got the message below. I was attempting to import it with a minimal import, to create the .ldif file that would be able to be included in an ldapadd statement.
-----Original Message----- From: Michael Ströder [mailto:[email protected]] Sent: Tuesday, May 02, 2017 3:43 PM To: John Cooter <[email protected]>; [email protected] Subject: Re: Issue importing CGP schema into LDAP (centos 7) John Cooter wrote: > Upon attempting to perform a “slaptest -f > test.conf -F testing” where test.conf contains only an include statement that > points to > /etc/openldap/schema/cgp.schema, and testing is an empty directory, I receive > the > following error message: > > 59033edc /etc/openldap/schema/cgp.schema: line 640 objectClass: ObjectClass > not found: > "organization" Normally you have to include various schema files shipped with OpenLDAP and after that add the include statements for your custom schema. > I am able to verify that the various base includes in my LDAP server do > include an > objectClass “organization” and can verify same in phpLDAPadmin, and in other > methods. So simply add /etc/openldap/schema/cgp.schema to your existing config file and test this config file with slaptest. Ciao, Michael.
