LDAP issue in Plugin

Paul Aurich paul at darkrain42.org
Wed Sep 23 23:11:12 UTC 2009


On Sep 23, 2009, at 15:45, Jon Snyder wrote:
> That's exactly what I thought.  I went over it again at your  
> suggestion and simplified my LDAP method down to:
>

<snip/>

> Is it possible that some framework Adium uses is built against a  
> different version of OpenLDAP?  I'm just not sure what could be  
> causing this, and like you, I'm not sure why LDAP is even involved  
> in the Jabber SSL process.

The issue is with the XMPP prpl's use of S*A*SL, not SSL, probably  
because LDAP uses it for authentication.

I have no idea why it's crashing on you (being conversant in neither  
cyrus sasl's nor openldap's API), but the following snippet from  
libpurple's ./libpurple/protocols/jabber/libxmpp.c might (or might  
not) be pertinent:

     /* XXX - If any other plugin wants SASL this won't be good ... */
#ifdef HAVE_CYRUS_SASL
     if ((ret = sasl_client_init(NULL)) != SASL_OK) {
         purple_debug_error("xmpp", "Error (%d) initializing SASL.\n",  
ret);
     }
#endif

~Paul




More information about the devel mailing list