I need some clarification here about accessing LDAP with freeradius, and compiling 
freeradius to work with LDAP.

First question, I have to compile the LDAP modules in order for it to work with a LDAP 
server correct?

This is what I done so far.

I am compiling this on solaris 8 box.

When first compile openldap-2.0.18 with the following switches

--disabled=slapd --disabled=slurpd --disabled-ldbm

it compiled and install okay.

Then I compiled the freeradius=0.3 package with the following switches

/configure  --prefix=/usr/local/radiusd --with-rlm-ldap-include=/usr/local/include 
--with-rlm-ldap-include=/usr/local/lib --enable-ltdg-install --enable-ltdl-install

I put ldap in the authenticate section

looks like this 

authenticate {
        pam
        unix
        ldap
}

I run the package with the -X switch and get the follow error message

Module: Instantiated unix (unix) 
radiusd.conf[361] Failed to link to module 'rlm_ldap': file not found 

I also looked in the lib directory to see if the modules compiled correctly, and got 
the following

/usr/local/raidusd/lib

-rw-r--r--   1 root     other      62344 Dec 20 09:20 rlm_ldap.a
-rwxr-xr-x   1 root     other        747 Dec 20 09:20 rlm_ldap.la
lrwxrwxrwx   1 root     other         17 Dec 20 09:20 rlm_ldap.so -> rlm_ldap.so.0.0.0
lrwxrwxrwx   1 root     other         17 Dec 20 09:20 rlm_ldap.so.0 -> 
rlm_ldap.so.0.0.0
-rwxr-xr-x   1 root     other      65212 Dec 20 09:20 rlm_ldap.so.0.0.0

Any ideas where I went wrong or what I need to do? Thanks in advance.

Thanx much,

Lance Miller






-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to