Hi ports,

This is my first patch submission.

I have made a patch to enable support for openldap as a backend for heimdal KDC.
With the KDC database in openldap it can now replicate to other hosts using
syncrepl, this avoids the need to setup iprop(8).

I have tested the patch on OpenBSD 6.7 and snapshots and so far everything
works.

With the patch heimdal now requires 'libldap.so' which is provided by
openldap-client.

I think the patch needs more work to be accepted. But I don't know if a flavor
should be add to heimdal or whether openldap-client should become a dependency,
or perhaps there is another solution.

Any feedback would be welcome.

sincerely,
Tiemen Werkman

--- /usr/ports/security/heimdal/Makefile        Wed Aug 19 19:09:35 2020
+++ Makefile    Wed Aug 19 19:09:15 2020
@@ -108,7 +108,8 @@
                        --sbindir=${PREFIX}/heimdal/sbin \
                        --libexecdir=${PREFIX}/heimdal/libexec \
                        --libdir=${PREFIX}/heimdal/lib \
-                       --includedir=${PREFIX}/heimdal/include
+                       --includedir=${PREFIX}/heimdal/include \
+                       --with-openldap=${LOCALBASE}

 MAKE_ENV=              INSTALL_CATPAGES=no

Reply via email to