Bug 7749

Summary: Client will not bind to NIS server if server's hosts.deny has any rule
Product: [Retired] Red Hat Linux Reporter: Lan Barnes <lanbarnes>
Component: ypbindAssignee: Cristian Gafton <gafton>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-27 19:13:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lan Barnes 1999-12-11 06:56:02 UTC
I have a NIS master server (no slaves) with hosts.allow:

ALL:	LOCAL, .mydomainname.com

and hosts.deny:

ALL:	ALL

In this configuration, no clients will bind (reason, permission denied).
However, when I comment out the "ALL: ALL" in the master server's
hosts.deny, everything works.

Others in my LUG have had the same problem, but only after upgrading from
5.2 to 6.0 or higher.

Comment 1 chris 2000-01-18 04:18:59 UTC
THe ypserv that comes with redhat 6.1 (and I presume 6.0 also) is compiled to
use securenets rather than tcp_wrappers (do a /usr/sbin/ypserv --version to
prove this for yourself).

do a `man ypserv` to learn how the /var/yp/securenets file is set up.

If you must use tcp_wrappers, then you'll need to recompile with the appropriate
options.

Comment 2 Cristian Gafton 2000-01-27 19:13:59 UTC
not a real bug, the network configuration needs to be updated.