nis auth problems

Nalin Dahyabhai nalin at redhat.com
Mon Feb 23 20:00:37 UTC 2004


On Mon, Feb 23, 2004 at 02:08:38PM -0500, Fedora at TinyCreatures wrote:
> I recently set up a NIS server on a box running FreeBSD 5.2. Everything
> went well. The clients are Linux machines, running Fedora Core 1.
> I tried to configure one, it
> connects to the NIS server, all yp commands return successfull queries,
> made the necessary changes in nsswithch.conf as well, however, when i'm
> trying to log on with a user that exists only on the NIS server i get
> "Login incorrect" messages all the time.
> What could be the problem?

We're going to need more detailed information.

Which yp commands did you use to verify that NIS was working properly?
Does 'ypwhich' print the name of your NIS server?  Does 'ypcat -x' list
your nicknames table?  Does 'ypmatch nameofusergoeshere passwd' print
the user's entry in your passwd map?

Exactly what changes did you make to /etc/nsswitch.conf?

If you're logging in via sshd, did you restart sshd after modifying
/etc/nsswitch.conf?

HTH,

Nalin





More information about the users mailing list