/freeradius-server

FreeRADIUS - A multi-protocol policy server. Modified for mschapv2 - kerberos

Primary LanguageCGNU General Public License v2.0GPL-2.0

Freeradius-server

Modified for the 42Network

GNU

Server setup / Dev setup

  • 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.

Changes

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).

rlm_mschap_kerberos

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
   [...]
}