Am using ypserv under RHL6.2 on a large hetrogenious network. Sun boxes (Solaris 8) see the NIS server, a ypcat passwd yeilds reasonable results, but when one attempts to login the sun box indicates bad passwd/login. Other Linux boxes okay (mostly RHL6.x). Had a RHL 6.1 box running ypserv-1.3.9-1(dont think that was the version that shipped w/ 6.1) and all was cool and froody. details: RHL6.2 Linux version 2.2.14-5.0 (root.redhat.com) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) ypserv-1.3.9-3 yp-tools-2.4-1
This apears to be related to the way passwds are being encrypted in the /etc/shadow file. I have two NIS(yp) servers and old one that works and a the new one that does not. If I copy the encrypted password from the old machine to the new one and then try to login to the sun box all is cool and froody; furthermore, I can still log into the linux boxes okay.
Right. Disable md5 passwords and use normal crypt passwords that are only 13 characters long. Florian La Roche