Juan Miguel Corral wrote:
I am installing a Heimdal KDC with OpenLDAP backend, and I have found that
when i try to use kadmin, I get following error:

    kadmin: hdb_open: ldap_sasl_bind_s: Can't contact LDAP server

Permissions are right. The problem is that heimdal is trying to connect to
LDAP socket in /var/run/slapd/ldapi, but slapd creates it in
/var/run/ldapi.

The problem gets fixed just with a symlink:
    ln -s /var/run/ldapi /var/run/slapd/ldapi

And then I can use kadmin normally. But I think the problem
should be fixed before release.
This isn't a Heimdal bug, it is an LDAP issue. Heimdal uses the ldap libraries which have the path hard coded.

In libldab-2.4 they changed the path from /var/run/ldapi to /var/run/slapd/ldapi

I can only assume you are using an old version of slapd, as the version I have on Etch and Lenny will create the symlink automatically. I suspect they will
use the new path by default too.

Just to confirm: what version of slapd do you have?

Brian May



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to