Red Hat Bugzilla – Bug 61233
yphelper does not like Solaris servers.
Last modified: 2007-04-18 12:40:57 EDT
Description of Problem:
The yphelper program used by the ypinit script does not appear to work when
attempting to set up a slave NIS server to a Sun master NIS server
Version-Release number of selected component (if applicable):
1.3.12-2 on 7.2 w/ all current eratta installed
Steps to Reproduce:
1. Attempt to configure 7.2 to be a slave NIS server
ypinit fails with
Can't enumerate maps from <master server hostname>. Please check that is running
Map transfer should have proceded without incident.
In ypinit, there is a commented line above the yphelper line that uses ypwhich
-m filtering through grep/awk. uncommenting that line and commenting out the
yphelper line allowed the script to work properly, however this is prone to
failure if one isn't careful how they enter the hostname of the master NIS server.
Tests with yphelper by itself on the command line with the same options that the
script uses results in no output generated at all where the ypwhich -m /grep/awk
combination always returned the correct results.
*** This bug has been marked as a duplicate of 26362 ***