- Install all deps
$ apt install git libldap-dev libssl1.0-dev make gcc libsasl2-modules-gssapi-mit ldap-utils libtalloc-dev
# Your working env should looks like :
# - working dir
# |- krb5
# |- freeradius-server
# That's because freeradius will looks for ../../krb5.
As per GNUv2 we must specify which change we've made to the source code. This repo provide an additional modules, named rlm_mschapv2_kerberos which aims to provide compatibility between KRB5 and MSCHAPv2 protocole (based on Ether42).
Config sample:
mschapv2_kerberos {
#
# libkdb path for dynamic linking
#
libkdb_path = /usr/local/lib/libkdb5.so
#
# libkdb_ldap path for dynamic linking
#
libkdb_ldap_path = /usr/local/lib/libkdb_ldap.so
[...]
}