Hi i am trying to use ADS in samba 3.3.12 on Aix...and facing the same issue (ldap_initialize missing). i have ibmldap installed... when i run ./configure --with-ads --with-pam --with-winbind --with-krb5=/usr/local/lib it stops giving this error...
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 ber_sockbuf_add_io... no checking for LDAP_OPT_SOCKBUF... no checking for LBER_OPT_LOG_PRINT_FN... no checking for ldap_init in -lldap... yes checking for ldap_set_rebind_proc... yes checking whether ldap_set_rebind_proc takes 3 arguments... 2 checking for ldap_initialize... no checking whether LDAP support is used... yes checking for Active Directory and krb5 support... yes checking for ldap_initialize... (cached) no configure: error: Active Directory support requires ldap_initialize -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
