[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:
http://www.zytrax.com/books/ldap/ch6/slapd-config.html

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

HTH

Regards,
Torsten

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