Technical article 118839

OpenServer NIS client fails to authenticate users against the master NIS server even though client is bound to master server and "ypcat passwd" returns expected map information.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written

Problem

OpenServer NIS client fails to authenticate users against the master
NIS server.  Other NIS clients are not having this problem, but the
OpenServer client appears to be correctly configured.  "ypwhich"
returns the proper NIS master server name, "domainname" returns the
correct NIS domain being used, and the "ypcat passwd" command is
outputting map file results from the NIS master server as expected.

Solution

This may be an indication that the /etc/default/security file on the
OpenServer NIS client is missing or not populated with the correct
entry required to enable NIS services.  View this file and look for
the following line in the file:
NIS_ENABLED=Y
If this entry does not exist or does not look exactly as above, then
edit the file and add or alter the entry.  This may resolve the
problem, as most NIS aware commands check the /etc/default/security
file to verify that this variable is set to "Y" before accessing NIS
servers for information.
Normally, running "ypinit" or "mkdev nis" will automatically add this
entry.  There is a deficiency in the "/etc/yp/ypinit" script, however,
that prevents this update if the security file already exists but does
not have the complete string "NIS_ENABLED=" already populated.

This has been reported to SCO Engineering.

See also

ta102425, "Known problems and solutions for NIS in SCO OpenServer Release 5." ta105947, "How to disable Network Information Service (NIS) on OpenServer 5."

From the Xinuos technical article database, record 118839. Reproduced with permission. The original is at www.sco.com/ta/118839, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.