HomeFreeBSD

If a NIS server has long entries on its database that is bigger than

Description

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@panasas.com>,

		Lakshmi N. Sundararajan <lakshmi.n@msystechnologies.com>,
		Lewis, Fred <flewis@panasas.com>,
		Pushkar Kothavade <pushkar.kothavade@msystechnologies.com>

Approved by: bapt (mentor)
MFC after: 1 month
Differential Revision: D4095

Details

Provenance
araujoAuthored on
Differential Revision
D4095: Fix infinite loops in yplib.c
Parents
rS291072: Add the mlx5 and mlx5en modules to the i386 and amd64 kernel builds by
Branches
Unknown
Tags
Unknown