* nis/nis_defaults.c (searchXYX): New functions. Used by both