I was seeking for a solution to the problem why I got constantly:
Code:
yppasswd: yppasswdd not running on NIS master host ("localhost.localdomain")
on my NIS (yp) clients.
All HOWTOs I could find so far, also in this forum,didn't lead to a solution. I followed everything given already in the HOWTOs to no avail.
Now I finally found the solution.
For some reason I don't know, ubuntu writes during installation
a line into /etc/hosts like
Code:
#
#
127.0.0.1 localhost mybox mybox.mydomain.com
#
(where mybox is the actual hostname that the computer has been given in DNS of mydomain.com).
This leads to confusion.
Changing the above to the more meaningful lines:
Code:
#
127.0.0.1 localhost
192.168.2.1 mybox mybox.mydomain.com
#
has immediately solved my problem after doing a
Code:
/usr/lib/ypinit -m
/etc/init.d/nis restart
(the latter on both, the server and the client)
Bookmarks