David M. Fetter wrote:
On Tue, 2005-08-23 at 18:25 -0700, Doug Summers wrote:

Doug Summers wrote:

Matthias Kurz wrote:


On Tue, Aug 23, 2005, Doug Summers wrote:

[...]


I'm not even getting to the test for the kerberos files as it's failing on OpenLDAP:

checking for LDAP support... yes
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... no
checking for ldap_domain2hostlist... no
checking for ldap_set_rebind_proc... no
checking whether ldap_set_rebind_proc takes 3 arguments... 3
checking for ldap_initialize... no
configure: error: libldap is needed for LDAP support



You should always check config.log in such cases. I guess there was a
problem with compiling/linking of a config check.


  (mk)


I get the exact same error when using the sources I downloaded from Samba. I'll take a look to see what happened.

From everything I'm reading (and I ran into the same problem compiling all parts from scratch on AIX & Solaris) I'm supposed to add some LDFLAGS & CPPFLAGS settings which point to where the openldap files are installed, none of which are working. I tried reinstalling all of the samba w/ldap parts using 'openpkg build samba | sh', which also fails the same way (RHEL 3 w/U5 and Solaris 9):

builds pth
builds openldap
builds popt
fails on samba
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org



Ah, yes, the old samba with ADS support.  I looked into this quite some
time ago and it was on my task list for my place of work to get it
implemented, though priorities changed.  From my research into it, there
is a special patch that is not in the current sources for samba that
must be applied in order for ADS to function properly.  You can find
examples of the patch by looking at other linux distributions because
they all pretty much included it so they can advertise the
functionality.  So, the answer is, yes there are plans to add this but
it's a little more work than just adding an option.

Well, I didn't have to patch anything with the Samba 3.0.14a code I downloaded from samba.org. The only issues I had were with Kerberos & OpenLDAP playing together. At this point I think I could get ADS support working if I could just get Samba w/LDAP support compiled. If you have any tricks let me know - I can't get it to work on Linux or Solaris.

Doug
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to