I'm trying to install samba version 3.0.20b on AIX version 5.2 ML 1 and I receive the following error message when running: configure --with-ads --with-ldap checking whether to use DFS clear-text auth... no checking for LDAP support... yes checking ldap.h usability... no checking ldap.h presence... no checking for ldap.h... no checking lber.h usability... no checking lber.h presence... no checking for lber.h... no configure: error: ldap.h is needed for LDAP support You have mail in /usr/spool/mail/root I have installed the ldap fileset from my aix media and the ldap.h file does exist in /usr/ldap/include
I have resolved this problem by using CPPFLAGS. CPPFLAGS="-I/usr/ldap/include" ./configure --with-ads --with-ldap