[389-devel] Please review: [389 Project] #47313: Indexed search with filter containing '&' and "!" with attribute subtypes gives wrong result

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

 



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

https://fedorahosted.org/389/attachment/ticket/47313/0001-Ticket-47313-Indexed-search-with-filter-containing-a.patch

 Bug description: Index db files do not contain the subtype knowledge,
 which is only in the primary id2entry db and entries in the memory.
 If the search filter includes subtype in the NOT condition and
 the type is indexed, the condition is mistakenly simplified to
 the one equivalent to not having the subtype.

 E.g., if the given filter is (&(cn=A*)(!(cn;fr=ABC en)), it's
 evaluated as (&(cn=A*)(!(cn=ABC en)).

 Fix description: If a filter contains a subtype in NOT condition,
 we give up using the index and leave the not evaluation to the
 search return code.

--
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