Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 10:18:32 +0100
From:      Yoann Gini <yoann.gini@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   FreeBSD 10 and Heimdal with LDAP backend
Message-ID:  <29C4F665-CC21-4FAB-BA25-8BF17124B1E1@gmail.com>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_C172E8F7-FCFD-41FC-AF66-9F0AD6DE8896
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hello,

I=92m Yoann Gini and I=92m new on this list. I=92m a system =
administrator specialized on OS X and OS X Server. I run an FreeBSD =
server for my personal usage.

I=92m sorry for the cross-list posting, I=92ve already post my question =
on the question list but someone redirect me here=85

I actually trying to install a new server on FreeBSD 10. I=92ve =
installed most of my necessary ports but I=92ve a problem with the =
Heimdal port.

I=92ve installed it with the LDAP backend (to use an OpenLDAP as the =
Kerberos backend database, it=92s better for server sync) then I=92ve =
recreated my configuration to use it (see the interesting part below).

When I try to start the server, it fail and I get this message in =
debug.log

Feb  6 21:09:16 turing kdc[79684]: error trying to load dynamic module =
/usr/lib/hdb_ldap.so: Cannot open "/usr/lib/hdb_ldap.so"
Feb  6 21:09:16 turing kdc[79684]: No database support for =
ldap:ou=3DKerberos,dc=3Dauthdata

What am I supposed to do with this error? I=92ve already check the LDAP =
backend option=85

If someone have an idea I can be really nice :-)

I=92ve run find on my system, hdb_ldap.so don=92t exist at all (neither =
on FreeBSD 9).

And by the way, why does it look in /usr/lib instead of /usr/local/lib?


krb5.conf:
[kdc]  =20
       database =3D {
               dbname =3D ldap:ou=3DKerberos,dc=3Dauthdata
               hdb-ldap-structural-object =3D inetOrgPerson
               mkey_file =3D /var/db/heimdal/m-key
               acl_file =3D /var/db/heimdal/acl_file
       }

Best regards,
Yoann.=

--Apple-Mail=_C172E8F7-FCFD-41FC-AF66-9F0AD6DE8896
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s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hpnx1sTEWBzc+nvtY1aOzYvxC
1hkS2DNvlIhpNXeDhAfOkWrH19I8IholYwHK4KZjzDKHQVDJz7h1JAz1JMukj3QKropV4o1k4uGn
MW5tS43LMea+v7ZeAAAAAAAA

--Apple-Mail=_C172E8F7-FCFD-41FC-AF66-9F0AD6DE8896--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29C4F665-CC21-4FAB-BA25-8BF17124B1E1>