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

(ITS#5769) Behaviour of ldap_sort_entries on a multivalued attribute

Full_Name: Emmanuel Duru
Version: 2.4.11
OS: Windows
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Currently, ldap_sort_entries when used with a multivalued attribute assumes that
the attribute values are in the same order for all the entries. It would be
better if this was not the case.
For example, I would like to use ldap_sort_entries to sort entries according to
objectclass attribute, so as to group entries by kind of objects.
Let be 3 entries: 
==>cn=n1, objectclass: person, organizationalperson
==>ou=ou1, objectclass: organizationalunit
==>cn=n2, objectclass: organizationalperson, person
result of ldap_sort_entries on objectclass: n2, ou1, n1, whereas I expected n1,
n2, ou1.