Thunderbird and the LDAP c-sdk

Mark Banner mbanner at mozilla.com
Mon Aug 13 13:24:34 UTC 2012


For a long time, we've been using the Mozilla LDAP c-sdk 
<https://wiki.mozilla.org/LDAP_C_SDK> to provide the backend for the 
LDAP implementation in Thunderbird. I don't know the full history, so I 
can't point you to it.

Over the last few years, the development of the LDAP c-sdk has been very 
limited, with few contributed patches.

Whilst it generally appears to be perfectly adequate for Thunderbird's 
needs, there's one problem that we keep on hitting. On Linux systems, 
Thunderbird can crash 
<https://bugzilla.mozilla.org/show_bug.cgi?id=292127>, if OpenLDAP is 
installed and set up for authentication (and probably a few variants of 
that). This is primarily due to the way module loading works on Linux, 
and the slight API differences between the two libraries.

Due to both the crash and the low maintenance of the Mozilla version, 
I'd like to propose that we consider replacing the Mozilla version that 
we're currently using. Discussions I've had previously with the module 
owners gave no objections to replacing it.

There's two possible routes I think we could go down:

 1. Replace the sdk with the OpenLDAP version, I believe this would need
    some API tweaks and obviously testing to ensure no functional
    difference, or
 2. Replace the sdk with a javascript version, which would obviously
    need some rewriting.

I'm not sure what javascript options exist, hopefully Joshua or someone 
can provide some additional information.

Mark.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/tb-planning/attachments/20120813/204cdca5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4123 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.mozilla.org/pipermail/tb-planning/attachments/20120813/204cdca5/attachment.p7s>


More information about the tb-planning mailing list