summaryrefslogtreecommitdiffstats
path: root/kerberos5/libexec
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/libexec
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/libexec')
-rw-r--r--kerberos5/libexec/hpropd/Makefile7
-rw-r--r--kerberos5/libexec/ipropd-master/Makefile7
-rw-r--r--kerberos5/libexec/ipropd-slave/Makefile7
-rw-r--r--kerberos5/libexec/kadmind/Makefile7
-rw-r--r--kerberos5/libexec/kdc/Makefile7
-rw-r--r--kerberos5/libexec/kpasswdd/Makefile7
6 files changed, 24 insertions, 18 deletions
diff --git a/kerberos5/libexec/hpropd/Makefile b/kerberos5/libexec/hpropd/Makefile
index 0b98752..606d65d 100644
--- a/kerberos5/libexec/hpropd/Makefile
+++ b/kerberos5/libexec/hpropd/Makefile
@@ -11,13 +11,14 @@ CFLAGS+= -I${KRB5DIR}/include \
-I${KRB5DIR}/kuser \
-I${ASN1OBJDIR} \
-I${HDBOBJDIR} \
- -I${.OBJDIR}
+ -I${.OBJDIR} \
+ ${LDAPCFLAGS}
LDADD= -L${KRB5OBJDIR} -lkrb5 \
-L${HDBOBJDIR} -lhdb -L${ROKENOBJDIR} -lroken \
-L${VERSOBJDIR} -lvers \
- -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err
+ -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} \
- ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
+ ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPLIBS}
MAN= hpropd.8
.include <bsd.prog.mk>
diff --git a/kerberos5/libexec/ipropd-master/Makefile b/kerberos5/libexec/ipropd-master/Makefile
index f77b54e..544a94d 100644
--- a/kerberos5/libexec/ipropd-master/Makefile
+++ b/kerberos5/libexec/ipropd-master/Makefile
@@ -11,15 +11,16 @@ CFLAGS+= -I${KRB5DIR}/include \
-I${KRB5DIR}/kuser \
-I${ASN1OBJDIR} \
-I${HDBOBJDIR} \
- -I${.OBJDIR}
+ -I${.OBJDIR} \
+ ${LDAPCFLAGS}
LDADD= \
-L${KADM5SOBJDIR} -lkadm5srv \
-L${KRB5OBJDIR} -lkrb5 \
-L${HDBOBJDIR} -lhdb -L${ROKENOBJDIR} -lroken \
-L${VERSOBJDIR} -lvers \
- -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err
+ -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} \
- ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
+ ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPLIBS}
NOMAN= yes
.include <bsd.prog.mk>
diff --git a/kerberos5/libexec/ipropd-slave/Makefile b/kerberos5/libexec/ipropd-slave/Makefile
index 0614f5a..3d304d4 100644
--- a/kerberos5/libexec/ipropd-slave/Makefile
+++ b/kerberos5/libexec/ipropd-slave/Makefile
@@ -11,15 +11,16 @@ CFLAGS+= -I${KRB5DIR}/include \
-I${KRB5DIR}/kuser \
-I${ASN1OBJDIR} \
-I${HDBOBJDIR} \
- -I${.OBJDIR}
+ -I${.OBJDIR} \
+ ${LDAPCFLAGS}
LDADD= \
-L${KADM5SOBJDIR} -lkadm5srv \
-L${KRB5OBJDIR} -lkrb5 \
-L${HDBOBJDIR} -lhdb -L${ROKENOBJDIR} -lroken \
-L${VERSOBJDIR} -lvers \
- -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err
+ -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} \
- ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
+ ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPLIBS}
NOMAN= yes
.include <bsd.prog.mk>
diff --git a/kerberos5/libexec/kadmind/Makefile b/kerberos5/libexec/kadmind/Makefile
index 46ca5d5..3f74663 100644
--- a/kerberos5/libexec/kadmind/Makefile
+++ b/kerberos5/libexec/kadmind/Makefile
@@ -13,16 +13,17 @@ CFLAGS+= -I${KRB5DIR}/include \
-I${KRB5DIR}/kadmin \
-I${ASN1OBJDIR} \
-I${HDBOBJDIR} \
- -I${.OBJDIR}
+ -I${.OBJDIR} \
+ ${LDAPCFLAGS}
LDADD= -L${KRB5OBJDIR} -lkrb5 \
-L${ROKENOBJDIR} -lroken \
-L${VERSOBJDIR} -lvers \
-L${KADM5SOBJDIR} -lkadm5srv \
-L${HDBOBJDIR} -lhdb \
- -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err
+ -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} \
${LIBKADM5CLNT} ${LIBKADM5SRV} ${LIBHDB} \
- ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
+ ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPLIBS}
NOMAN= yes
.include <bsd.prog.mk>
diff --git a/kerberos5/libexec/kdc/Makefile b/kerberos5/libexec/kdc/Makefile
index ac0d3ba..5526063 100644
--- a/kerberos5/libexec/kdc/Makefile
+++ b/kerberos5/libexec/kdc/Makefile
@@ -19,13 +19,14 @@ CFLAGS+= -I${KRB5DIR}/include \
-I${KRB5DIR}/kuser \
-I${ASN1OBJDIR} \
-I${HDBOBJDIR} \
- -I${.OBJDIR}
+ -I${.OBJDIR} \
+ ${LDAPCFLAGS}
LDADD= -L${KRB5OBJDIR} -lkrb5 \
-L${HDBOBJDIR} -lhdb -L${ROKENOBJDIR} -lroken \
-L${VERSOBJDIR} -lvers \
- -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err
+ -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} \
- ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
+ ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPLIBS}
MAN= kdc.8
.include <bsd.prog.mk>
diff --git a/kerberos5/libexec/kpasswdd/Makefile b/kerberos5/libexec/kpasswdd/Makefile
index faae574..1d82ce0 100644
--- a/kerberos5/libexec/kpasswdd/Makefile
+++ b/kerberos5/libexec/kpasswdd/Makefile
@@ -12,13 +12,14 @@ CFLAGS+= -I${KRB5DIR}/include \
-I${KRB5DIR}/kpasswd \
-I${ASN1OBJDIR} \
-I${HDBOBJDIR} \
- -I${.OBJDIR}
+ -I${.OBJDIR} \
+ ${LDAPCFLAGS}
LDADD= -L${KRB5OBJDIR} -lkrb5 -L${ROKENOBJDIR} -lroken \
-L${VERSOBJDIR} -lvers \
-L${KADM5SOBJDIR} -lkadm5srv -L${HDBOBJDIR} -lhdb \
- -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err
+ -L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
DPADD= ${LIBKRB5} ${LIBROKEN} \
- ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
+ ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPLIBS}
MAN= kpasswdd.8
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud