On Apr 9, 2009, at 11:21 AM, Gary Gatten wrote:
This is a new thread, so not sure what you mean?  Maybe my other posts
re. new package system?  Unintentional hijack - just venting, sorry.

I'm aware of the pkg_delete -f; but I don't want to break FreeRADIUS.
This will process involves getting FreeRADIUS hooked into AD, and one
method I'm looking into is the SAMBA / NTLM thing. SAMBA won't install
unless krb5 is "happy".

Do I need to force heimdal removal, install krb5, reinstall heimdal and
HOPE it works and nothing breaks in the process?

Nope. FreeRADIUS' Makefile claims to support both Heimdal and Kerberos5, but you have to choose one or the other via the options ("make config"):

.ifdef(WITH_KERBEROS)
.ifdef(WITH_HEIMDAL)
LIB_DEPENDS+=   krb5.23:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=--enable-heimdal-krb5
.else
LIB_DEPENDS+=   krb5.3:${PORTSDIR}/security/krb5
.endif

Likewise with Samba:

.if defined(WITH_ADS)
SAMBA_WANT_LDAP=        yes
SAMBA_WANT_KRB5=        yes
CONFIGURE_ARGS+=        --with-ads
.else
CONFIGURE_ARGS+=        --without-ads
.endif
# Kerberos5 is necessary for ADS
.if defined(SAMBA_WANT_KRB5)
.if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so)
CONFIGURE_ARGS+=        --with-krb5="${KRB5_HOME}"
.elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/ libgssapi.so)
CONFIGURE_ARGS+=        --with-krb5="${HEIMDAL_HOME}"
.elif exists(/usr/lib/libkrb5.so) && exists(/usr/bin/krb5-config)
CONFIGURE_ARGS+=        --with-krb5="/usr"
.else
LIB_DEPENDS+=           krb5:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+=        --with-krb5="${LOCALBASE}"
.endif


Regards,
--
-Chuck

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to