Okay. Nearly at wits end, but having received a lot of good tips
from "JD DC", I post my situation for help.
I have a RedHat Linux 6.0 NIS server on a SPARCStation 5. It
seems to run well, and I seem to have it configured correctly.
(I have, for example, been able to utilize NIS maps on a Linux
client on the network.)
But my job calls for many other clients as well--SCO OpenServer,
SCO Unixware 2.x, SCO Unixware 7, Solaris 2.5 Intel, Solaris 7 SPARC,
etc. Today, at least, I would like to get the Unixware 7 and Solaris
clients to work.
When I try to log in using my NIS account at the Unixware 7 box, I
get "You have no password. / Choose a password. / Permission denied.",
and it returns to the login prompt. Solaris is less verbose. It
just returns to the prompt. I have followed the NIS-HOWTO religiously,
but alas, it doesn't provide all the details.
For example, in chapter 9 in the section on verifying the installation,
it suggests running a little program that calls getpwnam() (or you
can use the provided tool 'getent') which dumps the getpwnam()
return structure. The HOWTO makes the comment
This should show you which entry is incorrect. The most common
problem is, that the password field is overwritten with a "*".
but doesn't tell you what to do with your problems. In my case,
I can ypwhich, ypcat passwd, etc.--all connections to the server
are there--I just can't log in. On the NIS server, a ypcat passwd
shows the encrypted passwd field as part of the passwd record. On
the Solaris clients, ypcat passwd, shows the password field as an
"x". This is not a "*" as the HOWTO states, but should it return
the password? Also, point 8 in chapter 10 of the HOWTO says
Solaris doesn't use always privileged ports. So don't use
password mangling if you have a Solaris client.
Password mangling? What is this? It doesn't even describe it
or how to "turn it off".
So that's the Solaris client story. The Unixware 7 story is even
more disconcerting, because I have yet to figure out how to get it
to work. The passwd and useradd man page has all kinds of stuff
in it about adding +0::*:*::: (or somesuch) to /etc/passwd, other
stuff to /etc/shadow, adding "+user" for the NIS user to the
local /etc/passwd--all stuff that sounds ridiculous, and all stuff
I tried and doesn't work.
So if anyone has done this and knows *exactly* how to make it
work (preferably with repeatable steps), I'd enjoy hearing from
you. I've added Solaris clients to NIS when our NIS server was
an ancient SCO OpenServer 3 machine, but I can't get it to talk
to Linux NIS at all.
Brendan Miller
f
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]