Bug 5634 - complie samba 3.2 with ads and ldap support
Summary: complie samba 3.2 with ads and ldap support
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.2.0
Hardware: PPC AIX
: P3 major
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-25 00:17 UTC by ketabchy
Modified: 2008-12-17 17:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ketabchy 2008-07-25 00:17:37 UTC
./configure --prefix=/usr/local/samba --with-ldap=/usr/local/openldap/include/ldap.h --with-ads

..........
checking for LDAP support... auto
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: WARNING: ldap.h is needed for LDAP support
checking for ber_tag_t... no
configure: WARNING: ber_tag_t is needed for LDAP support
checking for Active Directory and krb5 support... yes
configure: error: Active Directory Support requires LDAP support
--------
it breaks here.
i have compiled openldap in /usr/local/openldap with BDB
Comment 1 ketabchy 2008-07-25 01:02:33 UTC
 ./configure --prefix=/usr/local/samba --with-ldap --with-ads

..........
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
....
break.
ldap.h is available on the system.
Comment 2 Björn Jacke 2008-12-17 17:59:25 UTC
that configure option does only take yes/no as argument. If you have your ldap installation at a non standard place you need to set environment variables like CFLAGS