Comment 14 for bug 652433

Ryan Tandy (rtandy) wrote :

I have noticed that the slapd init script terminates before slapd is actually ready to accept connections, and I think that is the problem you're having too. In my scripts that stop/start slapd I always have to insert a 'sleep 1' before I can do any LDAP operations. I've also noticed that on a sufficiently fast machine the time between S17slapd and S18krb5-kdc is short enough that the KDC can fail to start. I worked around it by adding 'invoke-rc.d krb5-kdc start' in /etc/rc.local but I'm sure a better solution is possible.