Address Book/LDAP duplicates returned field values

Originator:atlauren
Number:rdar://7695789 Date Originated:02/26/2010
Status:Open Resolved:
Product:Mac OS X Product Version:10.6.2
Classification:UI/Usability Reproducible:Always
 
Summary:

Under Snow Leopard, the LDAP search facility (Address Book/Mail) combines the givenname and cn (minus the first word) fields for display. If the givenname field includes an initial (or a multiple-word value), this results in duplication of either the initials or non-first-words in the cn field.

Mangled results appear in Address Book searches, and as addressees in Mail.  The associated misspellings of people's names in Mail is particularly embarrassing.

Steps to Reproduce:

In Snow Leopard, search the LDAP directory for records with multiple-word values in givenname:

dn: uid=CJPETERS,ou=University of California Irvine,o=University of California
 ,c=US
displayName: Christopher J PETERS
givenName: Christopher J
sn: PETERS
cn: Chris Christopher J PETERS
cn: Christopher J PETERS

Expected Results:

Address Book should display either of the CN or DisplayName fields

Actual Results:

"Christopher J J PETERS"

Regression:

Tested and verified on Snow Leopard 10.6.2.
Not present on Leopard 10.5.8.
Verified that Thunderbird 3.0 and Outlook 2007 use either cn or displayname fields.

Notes:

Attached LDIF file with example records (more than just the one in this description.)
Attached screenshots for Snow Leopard, Leopard, Outlook 2007, Thunderbird 3.0

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!