I recently replaced our Solaris NIS server with a Centos 7 machine. The NIS clients are all ubuntu 12.04 and 14.04.
Today I added a new user to the server for the first time (I had already added a ot of them during installation ofcourse), basically using the useradd command in a little script that also does a
Code: Select all
cd /var/yp
Code: Select all
make
After doing this I noticed something very strange.
On the clients the new user was not known (id and su not working). Restarting ypbind did not help
doing a
Code: Select all
ypcat passwd
Running
Code: Select all
yptest
Finally doing a
Code: Select all
systemctl restart ypserv.service
It is still possible ofcourse that i made some misstake, but to me this looks like a bug, likely in centos.
Any comments and tips are appreciated.
Nico