A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
I followed part of that, can't profess to be an expert in library interaction and such, sorry. I am not sure really what to do next. Most of the libraries I got from standard installs off the ubuntu repos, are we talking fairly significant compilation of other stuff do you think?
remove the openldap2-dev package
grab the latest openldap source from their page (or mirror) , ./configure, make, make install (it'll all go into /usr/local/ )
then redo the freeradius configure stuff..... should pick up the local openldap dev stuff.
ensure tht the local openldap library is known (output of ldconfig -v shows it....may need to add the /usr/local/lib as first path in /etc/ld.so.conf
make ; make install - when you do the ldd stuff against rlm_ldap.so it should show openssl linkage instead
Be very careful which such an advice. Depending on the system's nsswitch.cnf using custom LDAP libs can lead to a library mix crashing the software. You could do it right. But you have to really know what you're doing regarding all the dependency stack of libldap -> cyrus-sasl -> berkeley-DB... Ciao, Michael.