Unknown module

Bubuk Gabrok bubuk.gabrok at gmail.com
Wed Jul 26 06:34:02 CEST 2006


I have compiled and install freeradius but when I ran
# /usr/local/sbin/radiusd  -X -A

I got these error messages:
...
...
Module: Instantiated mschap (mschap)
Module: Loaded System
 unix: cache = no
 unix: passwd = "(null)"
 unix: shadow = "(null)"
 unix: group = "(null)"
 unix: radwtmp = "/usr/local/var/log/radius/radwtmp"
 unix: usegroup = no
 unix: cache_reload = 600
Module: Instantiated unix (unix)
radiusd.conf[738] Failed to link to module 'rlm_ldap': file not found
radiusd.conf[1917] Unknown module "ldap".
radiusd.conf[1917] Failed to parse "ldap" entry.
#

I have the rlm_ldap libraries in /usr/local/lib/rlm_ldap:
# ll /usr/local/lib/rlm_ldap*
lrwxrwxrwx    1 root     root           11 Jul 26 12:33
/usr/local/lib/rlm_ldap-1.1.2.la -> rlm_ldap.la
-rwxr-xr-x    1 root     root        89103 Jul 26 12:33
/usr/local/lib/rlm_ldap-1.1.2.so
-rw-r--r--    1 root     root        99154 Jul 26 12:33
/usr/local/lib/rlm_ldap.a
-rwxr-xr-x    1 root     root          916 Jul 26 12:33
/usr/local/lib/rlm_ldap.la
lrwxrwxrwx    1 root     root           17 Jul 26 12:33
/usr/local/lib/rlm_ldap.so -> rlm_ldap-1.1.2.so
#

and ldd on rlm_ldap.so gave:

# ldd /usr/local/lib/rlm_ldap.so
        libradius-1.1.2.so => /usr/local/lib/libradius-1.1.2.so (0x4000b000)
        libldap_r-2.2.so.7 => /root/ldapx/lib/libldap_r-2.2.so.7 (0x40020000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4012d000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40142000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40154000)
        libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40162000)
        liblber-2.2.so.7 => /root/ldapx/lib/liblber-2.2.so.7 (0x4018f000)
        libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x4019b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/libdl.so.2 (0x401ae000)

What else could be wrong? HELP!



More information about the Freeradius-Users mailing list