[Samba] trouble compiling --with-ads

Kevin Kretz kevin at rentec.com
Tue Jul 24 20:55:13 GMT 2007

Hi again,

In working on my previous problem with joining a domain, I'm trying to 
join with AD instead of NTLM.  I've got openldap v2.3.19 installed, and 
the libraries are in my LD_LIBRARY_PATH.

configure --with-ads fails:

checking for LDAP support... auto
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_tag_t... yes
checking for ber_scanf in -llber... no
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_initialize... no
configure: WARNING: libldap is needed for LDAP support
checking for Active Directory and krb5 support... yes
configure: error: Active Directory Support requires LDAP support


:~/samba-3.0.25b/source # grep ldap_init /usr/lib/libldap.so
Binary file /usr/lib/libldap.so matches
:~/samba-3.0.25b/source # grep ber_scanf /usr/lib/liblber.so
Binary file /usr/lib/liblber.so matches
:~/samba-3.0.25b/source # grep ldap_set_rebind_proc /usr/lib/libldap.so
Binary file /usr/lib/libldap.so matches
:~/samba-3.0.25b/source # grep ldap_initialize /usr/lib/libldap.so
Binary file /usr/lib/libldap.so matches

How does this make sense?

More information about the samba mailing list