Today, i finally compile the ldap module of freeradius in solaris platform successfully.
I hope the following steps can help:
 
1. install openssl in to /usr/local
cd /usr/local/src/openssl
./config --prefix=/usr/local
2. install openldap into /usr/local/openldap
3. install freeradius
cd /usr/local/src/freeradius
./configure --prefix=/usr/local/radiusd
Note: in this stage, you will still find that the rlm_ldap can't be compiled successfully, but don't give up
4. compile the freeradius ldap module now 
cd /usr/local/src/freeradius/src/modules/rlm_ldap
./configure --prefix=/usr/local/radiusd --with-rlm-ldap-lib-dir=/usr/local/openldap/lib  --with-rlm-ldap-include-dir=/usr/loca/openldap=include
you will find that you should not have any "Failure" appear
make
make install
5. Finally, you will find the rlm_ldap lib will go to /usr/local/radiusd/lib
 
Brian

Reply via email to