>>>> "Raymond" == Raymond Toy
<toy(a)rtp.ericsson.se> writes:
Oscar> First check the manpages. If you don't find anything about
Oscar> ldap_set_option then you can try to undefine
Oscar> HAVE_LDAP_SET_OPTION in the file eldap.c and recompile it.
Raymond> I'll try this in a few minutes.
Raymond> This doesn't work. gcc complains that I'm dereferencing a pointer
to
Raymond> an incomplete type on lines 319 of eldap.c. This is true. I can't,
Raymond> for the life of me, actually find out where struct ldap is really
Raymond> defined. The only hint is in /usr/include/ldap.h where a comment says
Raymond> LDAP is the opaque connection type. No kidding!
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.
I second that. In its current state, Sun's LDAP implementation seems to be fairly
unusable : manpages and header files are inconsistent and ldap.h doesn't
provide neither a definition of struct ldap nor a prototype for
ldap_set_option.
Sigh...
Raymond> Oh well, if this is true, I think we'll have to put something in
Raymond> configure so that we DON'T use Sun's ldap on Solaris 2.7. (I hope
I
Raymond> didn't miss anything.)
I fear this is going to be really difficult: I must find some sure way of
identifying this particular implementation. I'll give it a look.
Oscar