Description
Currently, we always do a search, which is costly, when we can simply call the lookup method, which does not construct a cursor.
It has some impact though :
- the filtering of attributes does not work properly if we do a selection of inherited AT (like asking for 'name' instead of 'cn', etc)
We can also go a step farther, and call the lookup method even when the filter is different than (ObjectClass=*)