[Samba] Problem compiling Samba 3.0.24 with OpenLDAP 2.3.35

Gavin Henry gavin.henry at gmail.com
Sat May 12 22:07:49 GMT 2007

On 11/05/07, Allysson Steve Mota Lacerda <stevelacerda at gmail.com> wrote:
> I'm trying to install Samba with LDAP support but there are some errors
> during the compilation.
> I've used the same script a few weaks ago. The only differences are the
> versions of Samba and OpenLDAP.
> That's my error message:
> checking for LDAP support... yes
> checking ldap.h usability... yes
> checking ldap.h presence... yes
> checking for ldap.h... yes
> checking lber.h usability... yes
> checking lber.h presence... yes
> checking for lber.h... yes
> checking for ber_scanf in -llber... yes
> checking for ldap_init in -lldap... no
> checking for ldap_set_rebind_proc... no
> checking whether ldap_set_rebind_proc takes 3 arguments... 3
> checking for ldap_dn2ad_canonical... no
> configure: error: libldap is needed for LDAP support

Check your config.log

It might be something else.

Also, please don't install OpenLDAP without running "make test".
That's just stupid.

More information about the samba mailing list