slapd itself. When you run slapd with both -f and -F specified, it will convert all of the slapd.conf and any included files into LDIF. Also any of the slap tools will do the same. slapacl will do it in 2.3.3beta without invoking a lot of extraneous functions; slaptest works in the current HEAD and 2.3 candidate. Then you can issue an ldapsearch against the config backend to retrieve the individual schema entries, or just copy the files directly out of the cn=config file hierarchy.Howard Chu <hyc@symas.com> writes:
Dieter Kluenter wrote:Is there any tool to convert schema files to ldif format?
Include files are only supported for backward compatibility withHi, I am experimenting with back-config. The schema files initially defined in slapd.conf are included and rewritten in cn=schema, but how can additional schema files be added persistantly? Adding an include entry in cn=config just works in the actual session, but after a restart this additional include{x}.ldif is not read at all.
slapd.conf, they really are not supported under cn=config. Add new
schema as an entry under cn=schema,cn=config.