Hi, Wouldn't it be a good idea to include in the ypserv init script a way for the NIS server to get his NIS domain name; maybe with using the "ypdomainname -y" command gathering something like yp.conf to get the domain name ? It is kind of strange that on each NIS server we need to include "ypdomainname -y nisdomainname" in local.start, it would be easier to include this in the initscript... just an idea... Thanks for having a look at this.
Yes, I noticed the same thing when I set up an NIS domain on gentoo a few months back. I also noticed that the portage versions of all three NIS packages were behind the current state of linux-nis (see www.linux-nis.org for the current versions), and it looks like they still are. I posted a bug with updated ebuilds a while back, but nothing came of it (and I can't find it on bugzilla now--maybe I screwed up posting it?). At any rate, I have ebuilds which fix the domainname issue, as well as another issue there was having to do with the (formerly nonexistent) rpc.yppasswdd startup script. If you'd like to take a look at them I can send them to you via email. Also, if gentoo is looking for NIS package maintaners, I'd be willing to help out. I'm using gentoo + NIS (both servers and clients), and interoperating with an additional debian NIS client. Cheers, Owen
This is fixed in ypserv-2.8 which is in the portage tree. I propose this gets marked as FIXED.
thanks