In its current incarnation, authconfig does not allow one to specify that
the server should explicitly bind to more than one server. Only a single
server, or broadcast, is allowed. This can cause problems like cron
sporadically spitting out error messages like
yp_all: clnt_call: RPC: Unable to receive; errno = Connection reset by peer
Which, according to Miquel van Smoorenburg at
is spit out to stderr by glibc during a NIS server switch. In the article
referenced he mentions that explicitly setting the server names instead of
using broadcast should help reduce the problem.
However, I can't get authconfig to do it for me by having multiple
--nisserver command-line options. I really would like this feature because
otherwise I'll have to tweak /etc/yp.conf manually during the
This is now fixed in the version of authconfig in our build tree. To simplify
the code that parses command-line options, you can list multiple NIS servers if
you separate them with commas (i.e., "--nisserver yp1.baz.com,yp2.baz.com").