Error LDAP module not available
Hi, I've compiled and installed the FreeRADIUS 2.0.0 version. Everything works OK, I can run the radtest example. The problem happens when I try to activate the LDAP module. After that when I run "radiusd -X" a get the error: .... /usr/local/etc/raddb/radiusd.conf[696]: Failed to link to module 'rlm_ldap': rlm_ldap.so: cannot open shared object file: No such file or directory /usr/local/etc/raddb/sites-enabled/default[135]: Failed to find module "ldap". /usr/local/etc/raddb/sites-enabled/default[34]: Errors parsing authorize section. } } Errors initializing modules ..... Then I issue the command "locate rlm_ldap" I don't get any files but those on src. What I've done wrong? Do I have to write any flag when compiling radius to activate/compile the LDAP Module? BR. Antares
Cheers, I am suspecting there is shared library path in not included in ld.so.conf , add in this then try it ... it will do On Sun, Feb 24, 2008 at 1:17 PM, C A <antares.pt@gmail.com> wrote:
Hi,
I've compiled and installed the FreeRADIUS 2.0.0 version. Everything works OK, I can run the radtest example. The problem happens when I try to activate the LDAP module. After that when I run "radiusd -X" a get the error:
....
/usr/local/etc/raddb/radiusd.conf[696]: Failed to link to module 'rlm_ldap': rlm_ldap.so: cannot open shared object file: No such file or directory /usr/local/etc/raddb/sites-enabled/default[135]: Failed to find module "ldap". /usr/local/etc/raddb/sites-enabled/default[34]: Errors parsing authorize section. } } Errors initializing modules
.....
Then I issue the command "locate rlm_ldap" I don't get any files but those on src. What I've done wrong? Do I have to write any flag when compiling radius to activate/compile the LDAP Module?
BR. Antares
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Regards Vipul Ramani vipulramani@gmail.com vipulramani@yahoo.com ~~~~~We Know HoW NeTWoRkS !!!!~~~
But the big problem is that I have not anywhere the file "rlm_ldap.so". The file simply doesn't exists in the system and I think that when I was installing the freeRADIUS that file created, or not? Best regards, Antares On Sun, Feb 24, 2008 at 6:17 PM, C A <antares.pt@gmail.com> wrote:
Hi,
I've compiled and installed the FreeRADIUS 2.0.0 version. Everything works OK, I can run the radtest example. The problem happens when I try to activate the LDAP module. After that when I run "radiusd -X" a get the error:
....
/usr/local/etc/raddb/radiusd.conf[696]: Failed to link to module 'rlm_ldap': rlm_ldap.so: cannot open shared object file: No such file or directory /usr/local/etc/raddb/sites-enabled/default[135]: Failed to find module "ldap". /usr/local/etc/raddb/sites-enabled/default[34]: Errors parsing authorize section. } } Errors initializing modules
.....
Then I issue the command "locate rlm_ldap" I don't get any files but those on src. What I've done wrong? Do I have to write any flag when compiling radius to activate/compile the LDAP Module?
BR. Antares
C A wrote:
But the big problem is that I have not anywhere the file "rlm_ldap.so". The file simply doesn't exists in the system and I think that when I was installing the freeRADIUS that file created, or not?
No. You need to *build* the module when FreeRADIUS builds. This usually involves installing the ldap development headers && libraries for your system. Alan DeKok.
participants (3)
-
Alan DeKok -
C A -
Vipul Ramani