[Pkg-openldap-devel] Bug#596343: other issue

FRLinux frlinux at frlinux.net
Mon Sep 13 13:11:11 UTC 2010


Hello, I am not sure this is related but found another issue. What we do
at the moment, is install the new slapd package on a replica, then
reconfigure it to use our stuff (some extra schemas and using BDB rather
than HDB).

When doing a reconfigure, i am now getting this:

ldap:~# dpkg-reconfigure slapd
Stopping OpenLDAP: slapd.
  Creating initial configuration... Loading the initial configuration from
the ldif file () failed with
the following error while running slapadd:
    ldif_read_record: include file:///etc/ldap/schema/core.ldif failed

Surely enough, there was no schemas there, so my quick fix was just to
rsync the ones we had from another squeeze (earlier version using 2.4.17
before your migration to /etc/ldap/slapd.d/) and that worked:

ldap:~# dpkg-reconfigure slapd
Stopping OpenLDAP: slapd.
  Creating initial configuration... done.
  Creating LDAP directory... done.
Starting OpenLDAP: slapd.

Cheers,
Steph






More information about the Pkg-openldap-devel mailing list