How to configure Heimdal Kerberos to use OpenLDAP?

From http://www.h5l.org/manual/HEAD/info/heimdal/Using-LDAP-to-store-the-database.html#Using-LDAP-to-store-the-database

A current release of Heimdal, configured with --with-openldap=/usr/local

The OpenBSD package of Heimdal is not configured with OpenLDAP support. I would like compile it with OpenLDAP support.

I downloaded the OpenBSD ports tree and installed it. I can make the heimdal port, but I'm not sure exactly how to configure it to use OpenLDAP

I tried adding --with-openldap=/usr/local/bin to CONFIGURE_ARGS in Makefile, and make ran, but OpenLDAP wasn't included

It's also possible to configure the ldap backend as a shared module, see option –hdb-openldap-module to configure

How can I do this?

1
задан 24 August 2017 в 02:30
1 ответ

Повторная попытка с новой установкой OpenBSD. Сейчас работает

Сначала я установил openldap-client, используя pkg_add

в / usr / ports / security / heimdal / Makefile , я изменил:

CONFIGURE_ARGS +=   --bindir=${PREFIX}/heimdal/bin \
                    --sbindir=${PREFIX}/heimdal/sbin \
                    --libexecdir=${PREFIX}/heimdal/libexec \
                    --libdir=${PREFIX}/heimdal/lib \
                    --includedir=${PREFIX}/heimdal/include

на

CONFIGURE_ARGS +=   --bindir=${PREFIX}/heimdal/bin \
                    --sbindir=${PREFIX}/heimdal/sbin \
                    --libexecdir=${PREFIX}/heimdal/libexec \
                    --libdir=${PREFIX}/heimdal/lib \
                    --includedir=${PREFIX}/heimdal/include \
                    --with-openldap=${LOCALBASE}

Затем я запустил make install и проверил, что он работает, используя kdc --builtin-hdb

0
ответ дан 4 December 2019 в 04:40

Теги

Похожие вопросы