Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

Returns

This function returns non-zero if dn matches the scoping criteria given by base and scope.