Closed Bug 333571 Opened 19 years ago Closed 19 years ago

make it possible to link ldap50 and prldap50 statically into TB/SM

Categories

(MailNews Core :: LDAP Integration, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 292127

People

(Reporter: wolfiR, Unassigned)

Details

(for some reason this pops up the first time) On a recent Linux system Thunderbird just crashes at startup when LDAP is used for nss (name service switch) resolution. This happens because nss_ldap is loaded into the process which links dynamically against openldap usually while TB pulls in libldap50.so and libprldap50.so. Both LDAP implementations have namespace collisions and therefore the application crashes. Please see for reference: https://bugzilla.novell.com/show_bug.cgi?id=157078 I would propose to evaluate if ldap stuff can be linked statically by default or by request into Thunderbird to avoid that. Any other idea is welcome though.
Even if the mozilla ldap libs were statically linked into t-bird, wouldn't that still cause problems with nss_ldap and pam_ldap? I think whichever libs are linked in first are going to cause problems with the other libs. If the mozilla ldap libs are statically linked, won't nss_ldap and pam_ldap use the mozilla functions that are already available in the executable address space, and not the openldap shared libs they are linked against? And AFAIK, this will cause the same problems - crashes and other badness. This bug is really a duplicate of bug 292127 which has more information about possible future solutions to this bug. I'd like to resolve this bug as a duplicate.
if we built ldap w/ enough ns_hidden bits, it'd probably work.
you are right. It's more or less a dupe (haven't found it :-()
*** This bug has been marked as a duplicate of 292127 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Blocks: 342639
No longer blocks: 342639
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.