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

Re: Import of a schema file into the cn=schema, cn=config tree

Hi Peter!

It depends what exactly you mean by "schema file". In case you mean a
traditional schema file as opposed to an LDIF file, you will need to
convert the file into LDIF format first, then in most cases you have to to
some manual editing of the LDIF file to make sure  your schema objects end
up in the correct part of your LDAP tree.

The canonical method of converting any traditional OpenLDAP config files
into LDIF format for cn=config is to use slaptest with -f and -F options
set accordingly; see:

Not very obvious, but once you know it, it's simple.



On Tue, 5 Apr 2011 09:54:12 +0000 (UTC), Peter SchÃtt
> Hallo,
> what is the best way to import a schema file into the
> tree?
> Thanks for any hints.
> Ciao
>   Peter SchÃtt