Configure checks for LDAP support and Active Directory support, despite explict --without on the command line. checking for LDAP support... no checking for Active Directory and krb5 support... no checking for ldap_initialize... no configure: WARNING: Active Directory Support requires ldap_initialize checking for ldap_domain2hostlist... no configure: WARNING: Active Directory Support requires ldap_domain2hostlist checking for ldap_add_result_entry... no configure: WARNING: Active Directory Support requires ldap_add_result_entry
env CC=cc CFLAGS="-O" /bin/sh configure --with-utmp --with-quotas --with-acl-support \ --without-ldap --without-ads --without-winbind --without-libsmbclient
Works fine in the urrent code. I cannot reproduce any failures.
On Irix, in Samba 3.0.22, I still get the warnings: checking for LDAP support... no checking for Active Directory and krb5 support... no checking for ldap_initialize... no configure: WARNING: Active Directory Support requires ldap_initialize checking for ldap_domain2hostlist... no configure: WARNING: Active Directory Support requires ldap_domain2hostlist checking for ldap_add_result_entry... no configure: WARNING: Active Directory Support requires ldap_add_result_entry
James, Can you look at this one? I can't reproduce it. Maybe something to do with IRIX headers?
(In reply to comment #4) > James, Can you look at this one? I can't reproduce it. Maybe > something to do with IRIX headers? Nope, it's a generic problem. configure.in doesn't correctly distinguish between "no" and "auto". Patch is on its way.
Created attachment 1852 [details] Don't do LDAP checks if LDAP support is disabled Jason, can you please try this patch?
--without-ldap --without-ads: configure:31458: checking for LDAP support configure:31472: result: no configure:32066: checking for Active Directory and krb5 support configure:32080: result: no That looks right! I also tried --with-ldap --without-ads, and the result was right also.
Fixed in r15046.