Sent: Sat Aug 11 2012 18:06:49 GMT-0400 (EDT)
From: Jeff Dickens <[email protected]>
To: Gavin Henry <[email protected]> [email protected]
Subject: Re: got into a "checksum error" situation
Yes, I edited it by hand. Clearly not advisable since the comments said "don't do that", but since the server wouldn't start I couldn't use ldapmodify.

On Fri, Aug 10, 2012 at 6:51 AM, Gavin Henry <[email protected] <mailto:[email protected]>> wrote:

      Not knowing what else to do, I removed the lines containing
    > "olcTLS" from /etc/ldap/slapd.d/cn=config.ldif.  Then I was able
    to restart
    > slapd (congratulating myself) and then re-ran my ldapmodify
    command to enter
    > the correct locations of the cert and key.  But I still get a
    checksum error
    > in syslog:

    > Aug  8 17:04:53 grackle slapd[2028]: slapd starting
    > Aug  8 17:05:01 grackle slapd[2028]: ldif_read_file: checksum
    error on
    > "/etc/ldap /slapd.d/cn=config.ldif"

    So you edited this by hand?


You can use 'slapcat' and 'slapadd' to modify the config database offline. This is the recommended way.

Reply via email to