Problem basically was that under Solaris 2.6, when I tried to create the
/var/yp/securenets file to limit hosts/networks that could talk to my NIS
server, ypxfrd and ypserv daemons would not start.
(Original question follows at the end of this message)
I don't know why, but adding an entry for localhost worked:
Thanks to Dan Stromberg for this solution. Doesn't make sense to me, since the
server (localhost) is part of the xxx.yyy.zzz subnet. But now it's not broken and
I'm not going to fix it!
When I restarted the NIS master server with this enabled, I had to reboot all
of our SunOS 4.1.4 systems, as they became very confused.
Dan Stromberg <email@example.com>
> Platform: Solaris 2.6, fully patched
> [ypserv and ypxfrd won't come up when /var/yp/securenets file exists]
> We recently moved our NIS master server from a SunOS 4.1.4 system (don't ask...)
> to a Solaris 2.6 Ultra 450. We had been using the /var/yp/securenets file to
> improve security somewhat. When we install this file on the Solaris system,
> ypserv and ypxfrd will not come up. I've checked the FAQ and the archives of
> this list, and several books, but didn't find anything.
> Here's the contents of this file:
> # /var/yp/sercurenets file
> # The format of this file is one of more lines of
> # netmask netaddr
> # Both netmask and netaddr must be dotted quads.
> 255.255.255.128 xxx.yyy.zzz.0 # xxx.yyy.zzz is our local network
> I have also tried using:
> 255.255.255.128 xxx.yyy.zzz.255
> because of the difference in broadcast addresses between SunOS and Solaris, and
> 255.255.255.255 xxx.yyy.zzz.255
> following the instructions in the man page (not very helpful!).
> None work. Can someone please tell me what I'm doing wrong? Summary to follow.
> Dave Foster
> David Foster National Center for Microscopy and Imaging Research
> firstname.lastname@example.org UCSD/Department of Neuroscience
> (858) 534-7968 http://www-ncmir.ucsd.edu/
David Foster National Center for Microscopy and Imaging Research
email@example.com UCSD/Department of Neuroscience
(858) 534-7968 http://www-ncmir.ucsd.edu/
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:32 CDT