Description of Problem: ypmatch does not work properly for checking services. Even though the /var/yp/nicknames is setup to to lookup byname and not bynumber. How Reproducible: asdfjkl$ ypmatch nntp hosts Can't match key nntp in map hosts.byname. Reason: No such key in map asdfjkl$ grep services /etc/nsswitch.conf /var/yp/nicknames /etc/nsswitch.conf:services: nis files /var/yp/nicknames:services services.byname Steps to Reproduce: 1. bind to a yp server 2. make sure you /etc/nsswitch.conf and /var/yp/nicknames looks like mine. 3. ypmatch <servicename> services Actual Results: Expected Results: Fix ypmatch code to do correct lookups for byname, not just bynumber. Additional Information:
Fixed in ypserv 2.2-5.