Thanks for the info, it was a big help. After talking to our network
guys, it turns out they haven't enabled SASL on the server, so I'm
forced into using SSL. I was confused on why the API provided three
different ssl client init methods, but your comments above cleared it
up. Thanks again.
After doing *much* research through the code, I found out : the library
refuses to process a reference URL if it contains a scope or a filter.
Cf.
http://lxr.mozilla.org/mozilla1.8/source/directory/c-sdk/ldap/libraries/libldap/request.c#1119.
Unfortunately, the OpenLDAP server adds automatically
[EMAIL PROTECTED] wrote:
After doing *much* research through the code, I found out : the library
refuses to process a reference URL if it contains a scope or a filter.
Cf.
http://lxr.mozilla.org/mozilla1.8/source/directory/c-sdk/ldap/libraries/libldap/request.c#1119.
Unfortunately, the OpenLDAP
Well, I don't know if it has to be considered as a bug (failure ?
feature request ?). Because the comment in the code does say :
/*
* XXXmcs: we don't support scope or filters in search referrals yet,
* so if either were present we return an error which is probably
* better than just ignoring
[EMAIL PROTECTED] wrote:
Well, I don't know if it has to be considered as a bug (failure ?
feature request ?). Because the comment in the code does say :
/*
* XXXmcs: we don't support scope or filters in search referrals yet,
* so if either were present we return an error which is probably
*
Rich Megginson wrote:
Dan Mosedale wrote:
This might be a bit more complicated, since (I presume) on at least
one system (Solaris) the system mozilla-based LDAP sdk is in
/usr/include/ldap. Perhaps Anton can confirm or deny?
The Solaris situation is quite complicated, but Anton and I are
Rich Megginson wrote:
Dan Mosedale wrote:
I guess what I'm really hoping can be avoided is having to have a
little maze of ifdefs in crossplatform code that decide whether or not
to include ldap/ldap.h or mozldap/ldap.h.
I thought that's what pkg-config was designed to eliminate? E.g. if
So one last related question. I read in the Sun Directory SDK that
LDAPSSLSocketWrapFactory class doesn't support certificate-based client
authentication, and also that the LDAPSSLSocketFactory class can only
do certificate-based authentication inside the browser (i.e. as an
applet).
So what