I have a yp master on a 9.3 box (machine M), and a yp slave server on a 9.2 box (machine S). A normal user log on yet another 9.2 box using a NIS account (machine C). If he then uses yppasswd to change his password on machine C, he can use the new password to log on M and S, but not on C. He has to use the old password to log on machine C. On M, there is a entry in /var/log/messages saying rpc.ypasswdd: update user (uid=25010) from host ip_address_of_c successful. Did try to restart ypbind on C using the root account, but not helping. Also restarted ypserv on S, not helping neither. Does anyone know how to trigger an yp update?
Chiu, PCM (Peter) wrote:
I have a yp master on a 9.3 box (machine M), and a yp slave server on a 9.2 box (machine S).
A normal user log on yet another 9.2 box using a NIS account (machine C).
If he then uses yppasswd to change his password on machine C, he can use the new password to log on M and S, but not on C.
He has to use the old password to log on machine C.
Most probable cause: Is nscd running? nscd caches account-information. If you also have a reliable local DNS infrastructure, turn it off. (rcnscd stop; chkconfig -d nscd) It leads to more problems than it's worth. If you don't have a local DNS infrastructure, configure it in /etc/nscd.conf to not cache password information. If you don't have nscd running: Does ypmatch <user> passwd give differences on M, S, and C? What does ypwhich output on C? Is the user account on C also in /etc/passwd? Cheers, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany
participants (2)
-
Chiu, PCM (Peter)
-
Joachim Schrod