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).
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).