Comment 4 for bug 1333163

Revision history for this message
Ryan Tandy (rtandy) wrote : Re: [Bug 1333163] Re: package slapd 2.4.31-1+nmu2ubuntu8 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

On 24/06/14 03:11 AM, Torkil Svensgaard wrote:
> I noticed that the two topmost entries in the file had empty dn
> fields.

OK, so that part at least is confirmed.

Can you do "sudo -u openldap slapcat > /tmp/db.ldif" and see whether
that file has those entries? e.g. "grep '^dn: $' /tmp/db.ldif"

If the bogus entries are in your database, to get rid of them you'll
probably have to perform a slapcat dump like above, edit the LDIF, and
slapadd it into an empty database (see the relevant manpages and the
OpenLDAP Admin Guide for details).