more work on hf_nis and hf_vms