如何configurationHeimdal Kerberos来使用OpenLDAP?

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

当前版本的Heimdal,使用–with-openldap = / usr / localconfiguration

Heimdal的OpenBSD包没有configurationOpenLDAP支持。 我想用OpenLDAP支持进行编译。

我下载了OpenBSD ports树并安装它。 我可以make heimdal端口,但我不确定如何configuration它以使用OpenLDAP

我尝试在Makefile添加--with-openldap=/usr/local/binCONFIGURE_ARGS ,然后运行,但不包括OpenLDAP

也可以将ldap后端configuration为共享模块,请参阅选项-hdb-openldap-module来configuration

我怎样才能做到这一点?

再次尝试使用全新的OpenBSD。 现在工作

我首先使用pkg_add安装了openldap-client

/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并testing它是否使用kdc --builtin-hdb