If you have query like (|(objectclass=*)(objectclass=ldapsubentry)),
may a scope=0, as for I know the filters get evaluated independently
objectclass=* then objectclass=ldapsubentry , then an intersection of
two sets is computed . The resulting entry ids would be checked against
the ancestorid index for the subtree , scope to arrive at the final
results . Is this a correct understanding ?
Is there any other way the scope is handled ?