Emmanuel Dreyfus writes:
As far as I know, it is not possible to match an IP subnet.
For instance, if I have an object like this:
dn: cn=foo,o=example
managedAddr: 192.0.2.0/24
And this kind of thing does not seems available:
ldapsearch 'managedAddr:addressInSubnetMatch:=192.0.2.1'
Remember that even if it were, OpenLDAP does not support indexing for
such filters. So each search would have to inspect every IP-subnet
entry in scope.
That's another thing which would be quite nice if someone implemented
someday: Indexing for extended filters. Not me though...