[389-devel] Please review: [389 Project] #47402: Attribute names are incorrect in search results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://fedorahosted.org/389/ticket/47402

https://fedorahosted.org/389/attachment/ticket/47402/0001-Ticket-47402-Attribute-names-are-incorrect-in-search.patch

Bug Description: Attribute list given by a client to ldapsearch
 is first copied to op->o_searchattrs to respect the client input.
 Then the attribute types are normalized and if the list contains
 any forbidden attributes, they are removed from the list.  When
 the search result is returned, the internal normalized attribute
 types are replaced with the original input op->o_searchattrs,
 respectively. Since forbidden attributes are in op->o_searchattrs
 but not in the internal attribute list, wrong type from copy is
 associated to the value and returned to the client.

 Fix Description: This patch removes the forbidden attribute
 before copying the original attribute list to op->o_searchattrs.

 Note: 1.3.1 and newer does not have this problem.


--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel





[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux