freebsd-src/lib/libc/yp
Marcelo Araujo 2cb0cc3c47 MFC: r291073
If a NIS server has long entries on its database that is bigger than
1024 specified on YPMAXRECORD the ypmatch can get in an infinite retry
loop when is requesting the information from the NIS server.

The ypmatch(1) will return an error until the command receives an
kill(1).

To avoid this problem, we check the MAX_RETRIES that is by default set
to 20 and avoid get in infinet loop at the client side.

NOTE: FreeBSD nis(8) server doesn't present this issue.

Submitted by:   Ravi Pokala <rpokala at panasas.com>,
                Lakshmi N. Sundararajan <lakshmi.n at msystechnologies.com>,
                Lewis, Fred <flewis at panasas.com>,
                Pushkar Kothavade <pushkar.kothavade at msystechnologies.com>
2015-12-21 14:32:29 +00:00
..
Makefile.inc Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
Symbol.map Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
xdryp.c Handle failures to malloc memory to hold key or val copies. 2011-12-23 01:56:25 +00:00
yplib.c MFC: r291073 2015-12-21 14:32:29 +00:00