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

Re: How to initialize cn=schema,cn=config with the system schema

On Thursday 10 July 2008 01:50:04 Mathias Gug wrote:
> On Tue, Jul 08, 2008 at 09:01:19PM -0700, Howard Chu wrote:

> I've attache the three ldif files that I'm using to create a new
> configuration. Here are the steps that I'm following to initialize a new
> setup:
> # mkdir /etc/ldap/slapd.d/
> # slapadd -F /etc/ldap/slapd.d/ -n 0 -l slapd.d.init.ldif
> # slapadd -F /etc/ldap/slapd.d/ -n 0 -l slapd.d.load_hdb_module.ldif
> # slapadd -F /etc/ldap/slapd.d/ -n 0 -l slapd.d.new-db.ldif
> slapadd: could not add entry dn="olcDatabase=hdb,cn=config" (line=1):
> autocreation of "olcDatabase={-1}frontend" failed

If I convert my working configuration back-config, I get:

olcModuleLoad: {7}back_relay.la


olcModuleLoad: /usr/lib/ldap/back_hdb

See the explanation of the 'moduleload' directive in slapd.conf(5).