How to configure LDAP

A.L.M.Buxey at A.L.M.Buxey at
Tue Feb 17 13:00:44 CET 2015


> Yes, i have a warning for the modules rlm_ldap
> root at test /home/freeradius-server-2.2.6/src/modules/rlm_ldap # ./configurechecking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for pthread_create in -lpthread... yes
> checking for ldap_init in -lldap_r... no
> checking for ldap.h... no
> configure: WARNING: silently not building rlm_ldap.
> configure: WARNING: FAILURE: rlm_ldap requires:  libldap_r ldap.h.
> configure: creating ./config.status
> config.status: creating Makefile

building from source..... so need the LDAP development stuff

apt-get install libldap2-dev


More information about the Freeradius-Users mailing list