Comment 5 for bug 420277

Revision history for this message
Christian Roessner (christian-roessner-net) wrote : Re: [Bug 420277] Re: ldap tls refusing to initialize

Ok, I finally got it work. I had purged slapd completely and removed all
of its /var/lib/ldap/* stuff as well as the slapd.d directory
under /etc/ldap.

After that I tried to install slapd. Same error! So I really wondered
how a fresh install could present me with the same error message,
although there was absolutely no TLS support, yet. And then I got it: I
had a look inside /etc/ldap/ldap.conf, which was the only file left from
the previous installation:

TLS_RANDFILE /dev/urandom

was the problem. I simply removed this tag. Then I put back my saved
backup from intrepid (including overlays and TLS support), started slapd
and now everything is working as expected. So my guess is that this
option is broken under jaunty. It is unnecessary, because the man page
tells that /dev[u]random is looked automatically. But this got broken
from intrepid to jaunty.