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

bitwise search filter?



Is there such a thing as a bitwise matching rule for an attribute?  For
example if I have a numeric attribute called permissionMask with values 0
- 31, and I want to write a filter something like (permissionMask&16) (in
an ACL, actually) to see if a particular bit is set.

So the entire acl would be something like:

access to filter=(permissionMask&16) attrs=<attr1>,<attr2>,...,<attrN>
   by group=<some group dn> read
   by * none



Currently using OpenLDAP 2.0.23.

Allan