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?
Повторная попытка с новой установкой 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