git clone https://github.com/FreeRADIUS/freeradius-client.git
cd freeradius-client/
./configure
make
make install
Installing build time dependencies:
apt-get update
apt install libfreeradius-dev libldap2-dev libpcre2-dev libc-ares-dev
Building Event-driven-servers
git clone https://github.com/MarcJHuber/event-driven-servers.git
cd event-driven-servers/
Modify file tac_plus-ng/headers.h line 110 .
This is needed because Ubuntu 20 doesn't provide openssl 3.0
Replace
#warning Disabling OpenSSL support. Please upgrade to version 3.0
with
//#warning Disabling OpenSSL support. Please upgrade to version 3.0
Modify file mavis/ldapmavis-mt.c line 918 and 919
Ubuntu 20 doesn't provide tls 1.3 headers
Replace
else if (!strcmp(tmp, "TLS1_3"))
ldap_tls_protocol_min = LDAP_OPT_X_TLS_PROTOCOL_TLS1_3;
with
// else if (!strcmp(tmp, "TLS1_3"))
// ldap_tls_protocol_min = LDAP_OPT_X_TLS_PROTOCOL_TLS1_3;
Then build and install event-driven-servers
./configure --debug --with-freeradius-client --with-ldap --with-pcre2
make
make install