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

Re: Schemas and back-config



On Tue, 6 May 2008, Daniel Durgin wrote:

What is the best way to convert .schema files into schema.ldif files?

I'd use slaptest, i.e.

$ echo include /etc/openldap/schema/core.schema > convertme.conf
$ mkdir outputdir
$ slapd -T test -f convertme.conf -F outputdir
config file testing succeeded
$ find outputdir -ls | grep core
69992554   16 -rw-------   1 richton  richton     15428 May  7 08:32 outputdir/cn=config/cn=schema/cn={0}core.ldif