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




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to