LDAP are searched for all accounts

Cardbook for Thunderbird Forums Main Forum LDAP are searched for all accounts

Viewing 6 reply threads
  • Author
    • #3077


      In TB with multiple e-mail accounts, it is possible to enable searching LDAP only for one account and not the others.

      Without CardBook enabled, this is working as expected, so the LDAP server is only searched by auto-complete AFTER I switched to the e-mail account for which it has been specifically enabled.

      When CardBook is enabled, both CardBook address books and LDAP server  are searched, which is absolutely fine for the account LDAP server has been selected, but the problem is that it makes no difference when I select another e-mail account, the LDAP is searched when it shouldn’t.

      This is not a blocking bug, but this allow to send by error an email to an LDAP member with the wrong e-mail account.

      I tried selecting the first option (CardBook as unique source), but of course, LDAP is no longer searched at all.

      Can you please confirm the bug or tell me what I make wrong ?

      Thank you


    • #3078

      my main issue with LDAP is that I don’t have LDAP address books to test… may you provide test accounts ?

    • #3079

      For testing, I successfully used this test server:

      Online LDAP Test Server

      You just need to configure a new LDAP server with:

      Name: any

      Host: ldap.forumsys.com

      Base DN: dc=example,dc=com

      Leave the rest by default

      If you are asked for, the password is: password

      Without CardBook enabled, you can search the server for the names given in the url above using the normal address book or the auto-complete in a new message.

      With CardBook enabled, there are some troubles.

      You may want to try enabling the LDAP search globally or only on one account, but don’t know if it makes any difference.

      Hope this helps.

      Thank you for your great job with CardBook.

    • #3080

      Two errors I saw in the console:

      Uncaught TypeError: MailServices is undefined

      isOutgoingMail chrome://cardbook/content/cardbookRepository.js:1766

      getCellText chrome://cardbook/content/formatEmailCorrespondents/ovl_formatEmailCorrespondents.js:163

      AbEditSelectedDirectory chrome://messenger/content/addressbook/abCommon.js:283

      doCommand chrome://messenger/content/addressbook/abCommon.js:205

      goDoCommand chrome://global/content/globalOverlay.js:101

      oncommand chrome://messenger/content/addressbook/addressbook.xhtml:1







      TypeError: Services is undefined6 LDAPAbCardFormatter.jsm:61:3



      Not sure the first one is related to LDAP though.

      However after restarting TB, I have not been able to reproduce them.

      • This reply was modified 6 months ago by pyhair.
    • #3089

      thanks a lot, I will test this…

    • #3090

      I’m able to search euclid…

      how do you restrict the LDAP account to one email account ?

      • This reply was modified 5 months, 4 weeks ago by CardBook.
      • #3092

        how do you restrict the LDAP account to one email account ?

        • Menu Tools > Account settings
        • Select an account > Composition & Addressing
        • Addressing > When looking up addresses
          • Use a different LDAP server
        • In global addressing preferences, disable Directory server or enable and select none. I suppose both should have the same effect.

        If you find another public LDAP server for tests, it would be nice to verify that two mail accounts connected to different LDAP servers really can find addresses in one and not the other.

        I can test that for you, but I cannot give you access to my professional LDAP server.

    • #3093

      with this I’m autonomous, thanks 🙂

Viewing 6 reply threads
  • You must be logged in to reply to this topic.