Bug 4015 - trying to configure with ldap and ads support
Summary: trying to configure with ldap and ads support
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.23b
Hardware: PPC AIX
: P3 regression
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
Depends on:
Reported: 2006-08-11 04:28 UTC by martin van gorkom
Modified: 2006-09-13 07:53 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description martin van gorkom 2006-08-11 04:28:17 UTC
I'am trying to use the configure command with ldap and ads support.
I get the following 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_scanf in -llber... yes
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_dn2ad_canonical... no
checking whether LDAP support is used... yes
checking for Active Directory and krb5 support... auto
checking for ldap_initialize... no
configure: WARNING: Disabling Active Directory support (requires ldap_initialize)
checking for ldap_add_result_entry... yes

and in the config.log file following ERROR is reported:

configure:35097: checking whether LDAP support is used
configure:35099: result: yes
configure:35122: checking for Active Directory and krb5 support
configure:35136: result: auto
configure:35164: checking for ldap_initialize
configure:35221: gcc -o conftest -O -D_SAMBA_BUILD_ -I/usr/ldap/include -DLDAP_DEPRECATED -L/usr/ldap/lib -L/usr/ldap/lib/aix5 conftest.c
-lldap -llber   >&5
ld: 0711-317 ERROR: Undefined symbol: ldap_initialize
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
configure:35227: $? = 1

I did set the CPPFLAGS="-I/usr/ldap/include"
              LDFLAGS="-L/usr/ldap/lib -L/usr/ldap/aix5"
Running AIX5.3 ML 4
installed krb5.client.rte

As you can see I want to make use of the standard AIX krb5 and ldap. Not de opensource.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2006-08-22 11:14:34 UTC
We require the OpenLDAP libs for ADS support.
Marking this as later (matbe) unless you have a patch.
Comment 2 martin van gorkom 2006-09-13 02:46:45 UTC
Does this mean that samba is not going to work with the AIX LDAP implementation?

Or does this mean it will be implemented in a future release. If so which release will that be.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2006-09-13 07:53:17 UTC
There are no plans unless someone donates a patch that passes review.