Any restrictions with NIS emulation mode?

From: Jeremy Jin @ Nucleus (@)
Date: Tue Oct 07 2003 - 17:58:27 EDT


Hello,

I setup a Solaris machine as NIS+ server and a Linux computer as NIS+
client, I can login the NIS+ client without any problem.

Because NIS+ client for Linux is not so popular, so I tried to change it to
NIS client. At first, I run NIS+ server in NIS emulation mode, then I
followed all steps in NIS/NIS+ HOWTO to setup the NIS client.
(change /etc/nsswitch.conf, /etc/pam.d/login).

Then I run "ypcat passwd", it can show the passwd table. (but the password
filed is NP )

Then I run autofs, if I "cd /home/user-a", it can automaticly mount
/home/user-a.

But I can NOT login as a user whose name is in passwd table. This is the
only problem with my NIS client.

Error messages in /var/log/messages,
--------------
Oct 7 14:48:57 linux login(pam_unix)[2068]: authentication failure;
logname= uid=0 euid=0 tty=pts/1 ruser= rhost=host-a user=user-a
Oct 7 14:48:59 linux login[2068]: FAILED LOGIN 1 FROM host-a FOR user-a,
Authentication failure
----------------

I read carefully the NIS howto document and some other articles, I didn't
find anything wrong with my configuration. So I have to ask, is this problem
caused by NIS server instead of client?

I did find somebody ask the similar question (only the error message
different), but I didn't find any summary for that question, so I don't know
if that guy solved this problem.

Thanks in advance!

Jeremy
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:15 EDT