[389-devel] Please review: Bug 543080 - Bitwise plugin fails to return the exact matched entries for Bitwise search filter

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=543080

    Fix Description: The Microsoft Windows AD bitwise filters do not 
work exactl
    like the usual bitwise AND (&) and OR (|) operators.
    For the AND case the matching rule is true only if all bits from the 
value
    given in the filter value match the value from the entry.
    For the OR case, the matching rule is true if any bits from the 
value given
    in the filter match the value from the entry.
    For the AND case, this means that even though (a & b) is True,
    if (a & b) != b, the matching rule will return False.
    For the OR case, this means that even though (a | b) is True,
    this may be because there are bits in a.  But we only care
    about bits in a that are also in b.  So we do (a & b) - this
    will return what we want, which is to return True if any of
    the bits in b are also in a.
    Platforms tested: RHEL5 x86_64
    Flag Day: no
    Doc impact: no

https://bugzilla.redhat.com/attachment.cgi?id=386875&action=edit

https://bugzilla.redhat.com/attachment.cgi?id=386875&action=diff
--
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