FreeRadius Failed to link to module 'rlm_ldap'

Status
Not open for further replies.

Niels Erik

Dabbler
Joined
Aug 9, 2015
Messages
18
Hi
I have installed FreeRADIUS in a FreeBSD 11.0 Jail on a FreeNAS.

The packet is installed with pkg, since i prefer binary installs.
pkg install FreeRadius
Code:
  radiusd -v 
radiusd: FreeRADIUS Version 3.0.15, for host amd64-portbld-freebsd11.0, built on Aug 24 2017 at 07:17:48
FreeRADIUS Version 3.0.15 

I have configured Radius to authenticate from LDAP, but it fails to load the ldap module.
Code:
  radiusd -XC 
/usr/local/etc/raddb/mods-enabled/ldap[9]: Failed to link to module 'rlm_ldap': Cannot open "/usr/local/lib/freeradius-3..15/rlm_ldap.so"

I have tried to figure out from where to get the missing module, the directory contanins other rlm_*.so filrs, but not rlm_ldap.so
It is nowhere on my system..
Somewhere on the net there is reference to a packet named freeradius-ldap, but I can’t find it in the ports collection.
I have also tried to locate the packet by searching the FreeBSD repo on github..
The file is the FreeRADIUS repro, but I don’t what to mess with compiling the module myself..
https://github.com/FreeRADIUS/freeradius-server/blob/v4.0.x/src/modules/rlm_ldap/rlm_ldap.c
How do i get rlm_ldap.so installed on my system without too much hassle?..
 
D

dlavigne

Guest
For that you'll have to build the port as the LDAP option is disabled by default (meaning it's not built into the package).
 
Status
Not open for further replies.
Top