summaryrefslogtreecommitdiffstats
path: root/kerberos5/usr.bin
diff options
context:
space:
mode:
authormr <mr@FreeBSD.org>2003-06-18 09:11:34 +0000
committermr <mr@FreeBSD.org>2003-06-18 09:11:34 +0000
commitde0f8d4cffdece57312d0849ec5485c743671571 (patch)
tree3e374b0f50cb295eb6cd799e9c9f938cc11176ea /kerberos5/usr.bin
parentf029c2aa2fd1004fec3361ef3025d7e55770fb7e (diff)
downloadFreeBSD-src-de0f8d4cffdece57312d0849ec5485c743671571.zip
FreeBSD-src-de0f8d4cffdece57312d0849ec5485c743671571.tar.gz
Add (optional, default off) support to kerberos5 for supporting openldap.
Tests with openldap20 where successful whereas openldap21 didn't like the way hdb-ldap accessed openldap (doesn't like non-bind access). To activate the support put a USE_OPENLDAP=yes in your make.conf. The OPENLDAPBASE is also optional and points to /usr/local as default. Approved by: markm MFC after: 2 weeks
Diffstat (limited to 'kerberos5/usr.bin')
-rw-r--r--kerberos5/usr.bin/kadmin/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/kerberos5/usr.bin/kadmin/Makefile b/kerberos5/usr.bin/kadmin/Makefile
index a220cb6..ee6681b 100644
--- a/kerberos5/usr.bin/kadmin/Makefile
+++ b/kerberos5/usr.bin/kadmin/Makefile
@@ -32,18 +32,19 @@ CFLAGS+= -I${KRB5DIR}/include \
-I${KRB5DIR}/kadmin \
-I${ASN1OBJDIR} \
-I${HDBOBJDIR} \
- -I${.OBJDIR}
+ -I${.OBJDIR} \
+ ${LDAPCFLAGS}
LDADD= -L${KADM5COBJDIR} -lkadm5clnt -L${KADM5SOBJDIR} -lkadm5srv \
-L${KRB5OBJDIR} -lkrb5 \
-L${ROKENOBJDIR} -lroken \
-L${VERSOBJDIR} -lvers \
-L${HDBOBJDIR} -lhdb \
-L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err \
- -L${SLOBJDIR} -lsl -lreadline -lcurses
+ -L${SLOBJDIR} -lsl -lreadline -lcurses ${LDAPLDADD}
DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} \
${LIBKADM5CLNT} ${LIBKADM5SRV} ${LIBHDB} \
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} \
- ${LIBSL} ${LIBREADLINE} ${LIBCURSES}
+ ${LIBSL} ${LIBREADLINE} ${LIBCURSES} ${LDAPLIBS}
MAN= kadmin.8
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud