After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 247156 - First and last name wrong way around in LDAP addresses
First and last name wrong way around in LDAP addresses
Status: RESOLVED WONTFIX
Product: evolution
Classification: Applications
Component: Contacts
pre-1.5 (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks: 257885
 
 
Reported: 2003-07-31 00:56 UTC by Vesa Halttunen
Modified: 2005-08-18 08:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The data I get from the LDAP server using ldapsearch (596 bytes, text/plain)
2003-07-31 10:13 UTC, Vesa Halttunen
Details
Screenshot of Evolution's interpretation of the data (16.80 KB, image/png)
2003-07-31 10:14 UTC, Vesa Halttunen
Details

Description Vesa Halttunen 2003-07-31 00:56:46 UTC
Description of Problem:
When using an LDAP server for getting contact information the names of the
contacts are the wrong way around (first name = last name, last name =
first name).

Steps to reproduce the problem:
1. Add a data source ldap.kolumbus.fi, base dn c=fi
2. Search for names beginning with Andsten
3. Look at the results

Actual Results:
Even though ldapsearch -h ldap.kolumbus.fi -b c=fi returns the following
information:

sn: Andsten
cn: Andsten Anne
givenName: Anne

the information appears as "Anne, Andsten" instead of "Andsten, Anne" in
the ldap contacts view.

Expected Results:
The contact should be displayed as "Andsten, Anne"

How often does this happen? 
Every time

Additional Information:
I'm currently using OpenLDAP 2.1.22. The same thing happened with 2.0.xx.
Comment 1 Gerardo Marin 2003-07-31 05:05:54 UTC
Seems to work for me...
Comment 2 Vesa Halttunen 2003-07-31 10:13:51 UTC
Created attachment 42750 [details]
The data I get from the LDAP server using ldapsearch
Comment 3 Vesa Halttunen 2003-07-31 10:14:33 UTC
Created attachment 42751 [details]
Screenshot of Evolution's interpretation of the data
Comment 4 Vesa Halttunen 2003-07-31 10:16:16 UTC
Data from LDAP server and a screenshots of Evolution's interpretation
attached. Full name should be "Anne Andsten" and File as should be
"Andsten, Anne".
Comment 5 Sushma Rai 2005-08-18 08:17:49 UTC
full name is mapped to cn value
and since your cn is 'secondname firstname" 
evolution also displayes the same.
If your CN is 'Anne Andsten', it would work as expected.
we don't read cn, sn and then compare sn and cn to find the full name.

According to me it's not fixable. 
reopen the bug if i have not not understood it correctly.