tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

enabling ldap for racoon ?



Hello
I did spend some time to improve the ldap support in racoon(8).
It's now working fine for me.
Would anyone object enabling ldap support by default ?
See attached patch

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--
Index: Makefile
===================================================================
RCS file: /cvsroot/src/usr.sbin/racoon/Makefile,v
retrieving revision 1.35
diff -u -p -u -r1.35 Makefile
--- Makefile	1 Apr 2018 23:00:40 -0000	1.35
+++ Makefile	25 Nov 2020 18:16:46 -0000
@@ -58,6 +58,12 @@ CPPFLAGS+=-DHAVE_OPENSSL_IDEA_H
 CPPFLAGS+=-DINET6
 .endif
 
+.if (${USE_LDAP} != "no")
+CPPFLAGS+=-DHAVE_LIBLDAP
+LDADD+=-lldap
+DPADD+= ${LIBLDAP}
+.endif
+
 LDADD+= -lcrypto -lcrypt
 DPADD+= ${LIBIPSEC} ${LIBCRYPT}
 


Home | Main Index | Thread Index | Old Index