Open Bug 531150 Opened 15 years ago Updated 3 years ago

any custom LDAP attribute mapping breaks LDAP search

Categories

(Thunderbird :: Address Book, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: michael.waldvogel, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091121 Thunderbird/3.0

I use a custom LDAP schema. If I add any ldap attribute mapping by means of a property like

 * user_pref("ldap_2.servers.default.attrmap.FirstName", "givenname");
 * or user_pref("ldap_2.servers.xxx.attrmap.FirstName", "givenname");

where xxx is internally used name of a directory server then the LDAP search doesn't return any result. In fact the LDAP Server (openldap) does not even log any request.

This setup was completely working in Thunderbird 2.0.0.x.

This problem occurs with GSSAPI authentication and simple authentication as well.

Reproducible: Always

Steps to Reproduce:
1. override any ldap attribute mapping either local to a server or global
2. try to lookup some entries in affected directory server

Actual Results:  
No entries are found ...

Expected Results:  
List of entries that match the entered pattern

This bug is old and as of Thunderbird 78.6.1 ldap_2.servers.default.attrmap.FirstName default value is givenname like in your first example. I don't have access to an LDAP server to make tests.

Do you have the ability to check again to see if the issue is solved or still appears?

(In reply to Codain from comment #1)

This bug is old and as of Thunderbird 78.6.1 ldap_2.servers.default.attrmap.FirstName default value is givenname like in your first example. I don't have access to an LDAP server to make tests.

Do you have the ability to check again to see if the issue is solved or still appears?

Unfortunately the reporter is gone. But perhaps nomis101 can comment

Flags: needinfo?(Nomis101)

My default is "givenName" (with uppercase N). Seems to work for me.

Flags: needinfo?(Nomis101)
You need to log in before you can comment on or make changes to this bug.