"Lance Miller" <[EMAIL PROTECTED]> wrote: > First question, I have to compile the LDAP modules in order for it to = > work with a LDAP server correct?
Yes. > I run the package with the -X switch and get the follow error message > > Module: Instantiated unix (unix)=20 > radiusd.conf[361] Failed to link to module 'rlm_ldap': file not found=20 The error messages from libtool are *so* helpful. Later versions of libtool have better error messages, but they do NOT work. <sigh> > 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 Yeah. Do 'ldd rlm_ldap.so'. It will tell you which libraries are needed by rlm_ldap, and where those libraries exist. You haven't configured the dynamic linker (/etc/ld.so.conf on Linux) to tell it where the main LDAP libraries are. So, it can't link to them. Either fix ld.so.conf, or add the path to the LDAP libraries to the 'libdir' path in radiusd.conf. i.e.: libdir = ${prefix}/lib:/usr/local/ldap/lib Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html