Cardbook for Thunderbird › Forums › Main Forum › LDAP are searched for all accounts
- This topic has 7 replies, 2 voices, and was last updated 1 month, 4 weeks ago by
CardBook.
-
AuthorPosts
-
-
17th November 2020 at 17:35 #3077
pyhair
ParticipantHello,
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
Regards
-
17th November 2020 at 20:49 #3078
CardBook
Keymastermy main issue with LDAP is that I don’t have LDAP address books to test… may you provide test accounts ?
-
17th November 2020 at 23:20 #3079
pyhair
ParticipantFor testing, I successfully used this 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.
-
17th November 2020 at 23:48 #3080
pyhair
ParticipantTwo 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
cardbookRepository.js:1766:19
and
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 2 months ago by
pyhair.
-
This reply was modified 2 months ago by
-
19th November 2020 at 21:15 #3089
CardBook
Keymasterthanks a lot, I will test this…
-
19th November 2020 at 21:16 #3090
CardBook
KeymasterI’m able to search euclid…
how do you restrict the LDAP account to one email account ?
-
This reply was modified 1 month, 4 weeks ago by
CardBook.
-
20th November 2020 at 09:04 #3092
pyhair
Participanthow 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.
-
This reply was modified 1 month, 4 weeks ago by
-
20th November 2020 at 09:23 #3093
CardBook
Keymasterwith this I’m autonomous, thanks 🙂
-
-
AuthorPosts
- You must be logged in to reply to this topic.