getldap_scan_hash
newp = getldap_scan_hash(type, from, idx);
idx = getldap_scan_hash(type, from, idx);