[Samba] "./configure" LDAP checks failing on AIX

Gilles Pion gilles.pion at gmail.com
Thu Jul 25 08:40:00 MDT 2013


Samba version 4.0.7
Aix 6.1
Compiler: IBM xlc

Last lines of "./configure" output:
Checking for ldap_init : not found 
Checking for ldap_init_fd : not found 
Checking for ldap_initialize : not found 
Checking for ldap_set_rebind_proc : not found 
Checking for ldap_add_result_entry : ok 
Checking whether ldap_set_rebind_proc takes 3 arguments : ok 
Active Directory support not available: LDAP support ist not available.
<path>/wscript:760: error: Active Directory support not found. 
Use --without-ads for building without Active Directory support.


Reason (verified)
the generated "test.c" file user in configure checks doesn't have the required 
ldap include:
#include <ldap.h>


I've not found a "clean" way to patch configure to fix this

Anyone able to help?




More information about the samba mailing list