docs: private SearchCursor searchOneLevel(Dn parent) throws NoSuchNodeException, MissingParentException {
          try {
              if (!connection.exists(parent.getParent())) {
                  throw new MissingParentException(lastMatch(parent));
              } else if (!connection.exists(parent)) {
                  throw new NoSuchNodeException(parent);
              }
          } catch (LdapException e) {
              throw new LdapDaoException(e);
          }
          SearchRequest searchRequest = new SearchRequestImpl();
          searchRequest.setBase(parent);
          searchRequest.setScope(SearchScope.ONELEVEL);
          try {
              searchRequest.setFilter("(objectclass=*)");
              return connection.search(searchRequest);
          } catch (LdapException e) {
              throw new LdapDaoException(e);
          }
      }