Michael Reifenberger bdf5603500 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
2003-06-18 09:11:34 +00:00

29 lines
754 B
Makefile

# $FreeBSD$
PROG= ipropd-master
SRCS= ipropd_master.c iprop.h kadm5_locl.h kadm5_err.h hdb_err.h
CFLAGS+= -I${KRB5DIR}/include \
-I${KRB5DIR}/lib/kadm5 \
-I${KRB5DIR}/lib/krb5 \
-I${KRB5DIR}/lib/asn1 \
-I${KRB5DIR}/lib/hdb \
-I${KRB5DIR}/lib/roken \
-I${KRB5DIR}/kuser \
-I${ASN1OBJDIR} \
-I${HDBOBJDIR} \
-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 ${LDAPLDADD}
DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBHDB} ${LIBROKEN} \
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPLIBS}
NOMAN= yes
.include <bsd.prog.mk>
.PATH: ${KRB5DIR}/lib/kadm5