LDAP Fixes

Stefan (metze) Metzmacher metze at metzemix.de
Wed Jul 9 06:31:42 GMT 2003

At 20:27 08.07.2003 -0500, Matt Roberts wrote:
>On Tuesday 08 July 2003 08:04, Jerry Carter wrote:
> >
> > - -lresolv was needed by older versions of OpenLDAP 2.0, but not 2.1 IIRC.
> >
>That may be true, I am using the 2.0.25-ish version of OpenLDAP.  Is the 2.1
>going to be a requirement for 3.0 when it is released, or do you want to
>support both?
>Somebody mentioned earlier in the list that the resolv library is detected
>earlier in 'configure' and I did notice that, but I wasn't sure how to use
>that value to make sure that LDAPLIBS was properly updated.  The problem is
>that even if LIBS includes lresolv, I don't think it is provided in the
>right-most position so that when smbd links (I was using a static LDAP
>module) it finds what it needs at the right time in the link process.
>I wouldn't mind digging further into 'configure.in' but what changes need to
>be made depends on whether or not you want to support the OpenLDAP 2.0 libs.
>I was just trying to get it to compile so I could play with the new LDAP
>features, and thought I'd share what I found.

can you try you openldap 2.0.*

with the patch I posted to the list
Subject: [PATCH] krb5,ldap ads detection v06

this should fix your problem...

Stefan "metze" Metzmacher <metze at metzemix.de> 

More information about the samba-technical mailing list