#289 reproduced

Error messages in console regarding ldapl

Reported by niels | October 1st, 2012 @ 03:53 AM


While I was searching my log files for an other error I stumbled over a MailMate error message by accident:

01.10.12 05:45:50,768 MailMate[9037]: Error loading /System/Library/Security/ldapdl.bundle/Contents/MacOS/ldapdl: dlopen(/System/Library/Security/ldapdl.bundle/Contents/MacOS/ldapdl, 262): no suitable image found. Did find:
/System/Library/Security/ldapdl.bundle/Contents/MacOS/ldapdl: mach-o, but wrong architecture

I am not sure if this is really an issue or only "noise" because MailMate "behaves well".


Comments and changes to this ticket

  • benny

    benny October 1st, 2012 @ 06:43 AM

    • State changed from “new” to “reproduced”

    Apparently ldapdl is 64 bit only on Mountain Lion. This is not the case on Lion. I'm not sure why this has changed and when the Security framework tries to load ldapdl. I'm not sure how/if it affects MailMate when it fails, but it is unlikely to be fixed until MailMate goes 64 bit – probably when MailMate also requires 10.7.

  • Bill Cole

    Bill Cole February 16th, 2013 @ 08:19 PM

    I have seen these errors as well, and I think I've figured out what's happening and what the impact could be.

    I set up a pristine VM installation of Mountain Lion and tried to reproduce the error messages by manually configuring it in small steps to match the machine where I saw the errors. The critical step to make that happen is a system preference that is exposed only in the Keychain Access utility: "Search directory services for certificates". That is not on by default in a fresh ML install, but it may have been on by default in the past. A system that has been upgraded from an earlier OS or had a user migrated from an older OS may have it on even if the machine isn't in an environment where OpenDirectory actually has certificates. So the impact is that if you expect to use an OpenDirectory-based PKI with MailMate, it won't work and you may instead get SSL/TLS certificate errors that don't happen in 64-bit apps.

    (Tangent: figuring out exactly what ldapdl does is quite a research project. It is a backend module for the deprecated CDSA API suite and Apple has never documented the specific functionality of such modules. The CDSA implementation that lives in /System/Library/Security seems to only have survived in ML because Apple's own tools and supported OS services/API's use it.

  • benny

    benny February 19th, 2013 @ 04:10 AM

    @Bill: Thanks for the detailed analysis!

  • benny

    benny September 28th, 2017 @ 02:33 PM

    • State changed from “reproduced” to “fixreleased”

    Just noticed this old ticket which I assume is fixed. MailMate has been 64 bit for a long time.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket