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
27 lines
632 B
Makefile
27 lines
632 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= kstash
|
|
SRCS= kstash.c hdb_err.h
|
|
CFLAGS+= -I${KRB5DIR}/include \
|
|
-I${KRB5DIR}/lib/roken \
|
|
-I${KRB5DIR}/lib/krb5 \
|
|
-I${KRB5DIR}/lib/asn1 \
|
|
-I${KRB5DIR}/lib/hdb \
|
|
-I${KRB5DIR}/kdc \
|
|
-I${ASN1OBJDIR} \
|
|
-I${HDBOBJDIR} \
|
|
-I${.OBJDIR} \
|
|
${LDAPCFLAGS}
|
|
LDADD= -L${HDBOBJDIR} -lhdb \
|
|
-L${KRB5OBJDIR} -lkrb5 \
|
|
-L${ROKENOBJDIR} -lroken \
|
|
-L${VERSOBJDIR} -lvers \
|
|
-L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
|
|
DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} \
|
|
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPLIBS}
|
|
MAN= kstash.8
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${KRB5DIR}/kdc
|