HDB2BASE
ret = ldap_search_ext(HDB2LDAP(db), HDB2BASE(db),
if (HDB2BASE(db))
free(HDB2BASE(db));
rc = ldap_search_ext_s(HDB2LDAP(db), HDB2BASE(db),
rc = ldap_search_ext_s(HDB2LDAP(db), HDB2BASE(db), LDAP_SCOPE_SUBTREE,