>>>> "Raymond" == Raymond Toy
<toy(a)rtp.ericsson.se> writes:
Raymond> The manpage for ldap_open gives an example for the elements of struct
Raymond> ldap, but I can't find that in any include file.
Oscar> I second that. In its current state, Sun's LDAP
Oscar> implementation seems to be fairly unusable : manpages and
Oscar> header files are inconsistent and ldap.h doesn't provide
Oscar> neither a definition of struct ldap nor a prototype for
Oscar> ldap_set_option.
Raymond> I took a look at ldap.h in the UMICH version. The struct ldap looks
Raymond> very, very much like the example code in Sun's ldap_open manpage.
Raymond> Maybe it's the same. :-)
It's certainly the same (most LDAP implementations derive from the UMich
distribution, Sun's is no exception, see the copyright statement at the top of
ldap.h) but we cannot make any assumptions based on this.
Raymond> Maybe we should just not do auto-detect of ldap on Solaris 2.7, and
Raymond> add yet another option to configure to use ldap explicitly.
This could be a solution. The switch --with-ldap already exists. If I don't
find a solution to identify precisely Sun's implementation I think I will
disable auto-detection for Solaris 2.7
Raymond> Or punt and just put it in the Problems file and tell people to get
Raymond> the some other ldap library.
Raymond> (BTW, has anyone successfully used Netscape's implementation? I tried
Raymond> it once, didn't get it to work, and used the UMICH version, which,
Raymond> obviously, works.)
I did some builds and a few searches with it. It's supposed to work, problems
with it should be reported.
Oscar