<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    For a long time, we've been using the <a
      href="https://wiki.mozilla.org/LDAP_C_SDK">Mozilla LDAP c-sdk</a>
    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.<br>
    <br>
    Over the last few years, the development of the LDAP c-sdk has been
    very limited, with few contributed patches.<br>
    <br>
    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 <a
      href="https://bugzilla.mozilla.org/show_bug.cgi?id=292127">can
      crash</a>, 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.<br>
    <br>
    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.<br>
    <br>
    There's two possible routes I think we could go down:<br>
    <ol>
      <li>Replace the sdk with the OpenLDAP version, I believe this
        would need some API tweaks and obviously testing to ensure no
        functional difference, or<br>
      </li>
      <li>Replace the sdk with a javascript version, which would
        obviously need some rewriting.</li>
    </ol>
    <p>I'm not sure what javascript options exist, hopefully Joshua or
      someone can provide some additional information.<br>
    </p>
    <p>Mark.<br>
    </p>
    <p><br>
    </p>
  </body>
</html>