Alan Buxey A.L.M.Buxey at lboro.ac.uk
Wed Nov 9 21:09:24 CET 2011


> *Sorry for the confusion I made. I have put the name of LDAP server
> accordingly , not the localhost. Just for privacy I didn't put here.*


> Here is the output of radiusd -X command:

and there. bingo.

>         libdir = "/usr/local/lib/freeradius-2.1.10"

urgh. why? really...why?

when you did the ./configure stage did you ask for it to go into
this special non-standard directory?

if its there....then you need to ensure that your system knows
its there too - and a default server wont. you will need to edit
the configuration file for your dynamic linker - usually /etc/ld.so.conf
..and then re-run /sbin/ldconfig

..you need to ensure your linker shows that it knows this.... 

/sbin/ldconfig -v    if you need to check and double-check. if you dont see
the freeradius libraries there at all then you need to check again.

finally...if you dont see the rlm_ldap.so then go back one more step...and check
that the LDAP module was actually built int he first place!

./configure --with-whatever-options  | grep WARN

you need to ensure you have LDAP support installed - the ldap development libraries
usually something like openldap-devel in your package manager

the fact that all the other bits work suggests that the other .so files are found..which
points to the lack of ldap development libraries as the main culprit

> /usr/local/etc/raddb/modules/ldap[29]: Failed to link to module 'rlm_ldap':
> file not found
> /usr/local/etc/raddb/sites-enabled/inner-tunnel[237]: Failed to load module
> "ldap".
> /usr/local/etc/raddb/sites-enabled/inner-tunnel[237]: Failed to parse "ldap"
> entry.

yep. the .so dynamic library file cannot be loaded


More information about the Freeradius-Users mailing list