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

Re: Error adding schema: empty AttributeDescription



--On Thursday, May 11, 2017 4:34 PM -0400 Prentice Bisbal <pbisbal@pppl.gov> wrote:

Is my perception wrong?

Yes. You could, for example, to convert "test.schema" that had dependencies on core, cosine, and inetorgperson.schema do the following.

a) Create a file named "/tmp/test.conf" with the following contents:

include /opt/zimbra/openldap/etc/openldap/schema/core.schema
include /opt/zimbra/openldap/etc/openldap/schema/cosine.schema
include /opt/zimbra/openldap/etc/openldap/schema/inetorgperson.schema
include /tmp/ldap/schema/test.schema

b) mkdir -p /tmp/ldap

c) slaptest -f /tmp/test.conf -F /tmp/ldap

d) Go and grab your newly converted schema file. It will have been numbered in order as it appeared in the conf file, so you'll likely want to tweak it slight, and adjust the dn for adding it via ldapadd.

Hope that helps!

--Quanah

--

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