2

Initially I've installed Freeradius from stable branch as follows:

apt-get install python-software-properties
apt-add-repository ppa:freeradius/stable-3.0
apt-get update
apt-get install freeradius make

And I thought, that all modules were also installed; but now, when I need to get Freeradius be authenticated against LDAP-Directory, and I'm trying to reconfigure Freeradius and when I run it in Debugging mode (-X) I see the following error:

/etc/freeradius/mods-enabled/ldap: Failed to link to module 'rlm_ldap' : /user/lib/freeradius/rlm_ldap.so: cannot open shared object file: No such file or directory 

That's why I believe, that LDAP-Module for Freeradius was not be installed.

How could I make it from PPA:repository from the same branch, in order to not damage Freeradius and get them both (with LDAP-module) working.

Ubuntu Server 16.04.1TLS, Freeradius 3.11

Update1:

$dpkg -l | grep freeradius 

freeradius        3.0.11-ppa3~xenial
freeradius-common 3.0.11-ppa3~xenial
freeradius-config 3.0.11-ppa3~xenial
freeradius-utils  3.0.11-ppa3~xenial
libfreeradius3    3.0.11-ppa3~xenial
Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227

1 Answers1

0

To have support for LDAP in FreeRadius, please install the corresponding package with the command:

sudo apt-get install freeradius-ldap

Also relating to your doubts about mixed versions, to check up the version installed, do:

dpkg -l | grep freeradius

and/or:

dpkg -l freeradius-ldap
Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227