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-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> 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,
Well, those are conffiles belonging to the slapd package; you can remove
them (as you appear to have done), but if you do so, you'll have to provide
your own schemas in their place. And if you remove core.ldif, your setup is
incompatible with the package autoconfiguration.
So no, that's not related to this bug.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slan...@ubuntu.com vor...@debian.org
Alright, thanks for your reply.
Steph