(Fedora Core 7 machines)
Ok, so I've got a network set up with the following:
A1 - NIS master server
A2 - NIS slave server
C1,C2,... - Various NIS client machines
This issue is that NIS clients cannot authenticate against the NIS database. In other words, logging in to a client box over ssh is unsuccessful, with the following in /var/log/secure (some data replaced by brackets <>):
Quote:
<TIME> localhost sshd[17625]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh rus= rhost=<IP_1> user=<USER_1>
<TIME> localhost sshd[17625]: Failed password for <USER_1> from <IP_1> port 1345 ssh2
|
So, it's a standard auth failure message, nothing special here.
However, `ypcat passwd |grep USER_1` returns a different password hash than `ypmatch USER_1 passwd`.
ypcat passwd |grep USER_1:
Quote:
USER_1:<PASSWORD HASH A>:503:504::/home/USER_1:/bin/bash
|
ypmatch USER_1 passwd:
Quote:
USER_1:<PASSWORD HASH B>:503:504::/home/USER_1:/bin/bash
|
Running yppasswd to change the password (or changing the local user's password on A1 (NIS master) and running `cd /var/yp && make`) changes the password hash for ypcat but ypmatch remains the same.
I think this might be a clue to something, but I can't find anything on the internet specifically about this condition, so I'm asking here. Any tips? If there's more information you need just ask. Thanks.