bdf5603500
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
35 lines
720 B
Makefile
35 lines
720 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= kdc
|
|
SRCS= \
|
|
config.c \
|
|
connect.c \
|
|
kdc_locl.h \
|
|
kerberos5.c \
|
|
log.c \
|
|
main.c \
|
|
misc.c
|
|
|
|
CFLAGS+= -I${KRB5DIR}/include \
|
|
-I${KRB5DIR}/kdc \
|
|
-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${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}
|
|
MAN= kdc.8
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${KRB5DIR}/kdc
|