[Date Prev][Date Next] [Chronological] [Thread] [Top]

multiple names of an attribute returned incorrectly (ITS#2503)



Full_Name: Pawel Salek
Version: 2.1.17
OS: Linux
URL: 
Submission from: (NULL) (213.132.111.215)


Atributes having multiple names are not returned correctly: the first name on
the list of attribute names is returned, instead of the requested one.
When user queries for eg. attribute "rfc822Mailbox", "mail" is returned.

Example:
$ ldapsearch -LL -x uid=pawsa cn rfc822Mailbox

Actual result:
dn: uid=pawsa,dc=theochem
cn: Pawel Salek
mail: pawsa@domain.name
 
Expected result:
dn: uid=pawsa,dc=theochem
cn: Pawel Salek
rfc822Mailbox: pawsa@domain.name