From jfh@myrtle.cise.ufl.edu  Mon Aug 25 11:03:10 2003
Return-Path: <jfh@myrtle.cise.ufl.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A086216A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Aug 2003 11:03:10 -0700 (PDT)
Received: from myrtle.cise.ufl.edu (myrtle.cise.ufl.edu [128.227.205.228])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E2A0E44001
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Aug 2003 11:03:07 -0700 (PDT)
	(envelope-from jfh@myrtle.cise.ufl.edu)
Received: from myrtle.cise.ufl.edu (localhost [127.0.0.1])
	by myrtle.cise.ufl.edu (8.12.9/8.12.9) with ESMTP id h7PI37Q6092519
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Aug 2003 14:03:07 -0400 (EDT)
	(envelope-from jfh@myrtle.cise.ufl.edu)
Received: (from jfh@localhost)
	by myrtle.cise.ufl.edu (8.12.9/8.12.9/Submit) id h7PI369T092518;
	Mon, 25 Aug 2003 14:03:06 -0400 (EDT)
Message-Id: <200308251803.h7PI369T092518@myrtle.cise.ufl.edu>
Date: Mon, 25 Aug 2003 14:03:06 -0400 (EDT)
From: "James F. Hranicky" <jfh@cise.ufl.edu>
Reply-To: "James F. Hranicky" <jfh@cise.ufl.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: sshd: HostBasedAuthentication does not seem to work with NIS
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55964
>Category:       conf
>Synopsis:       sshd: HostBasedAuthentication does not seem to work with NIS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 25 11:10:18 PDT 2003
>Closed-Date:    Sun Aug 29 06:27:05 GMT 2004
>Last-Modified:  Sun Aug 29 06:27:05 GMT 2004
>Originator:     James F. Hranicky
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
University of Florida CISE Department
>Environment:
System: FreeBSD myrtle 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Mon Aug 11 17:15:47 EDT 2003 root@myrtle:/private/freebsd-src/obj/private/freebsd-src/src/sys/CISEKERN i386

>Description:
	When using HostBasedAuthentication with sshd, NIS does not appear to
	be consulted. When /etc/netgroup is non-existent, empty, or containing
	a '+', sshd prompts for a password. When /etc/netgroup contains valid
	data (i.e., "ypcat -k netgroup > /etc/netgroup"), I am logged in without 
	a password.

	I have the trusted netgroup in /etc/hosts.equiv.

	However, I have determined that innetgr and {set,end,net}grent do appear
	to consult NIS when called from a simple C program.

	I have the following in /etc/nsswitch.conf:

		passwd: 	nis files
		group: 		nis files

>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Aug 29 06:26:36 GMT 2004 
State-Changed-Why:  
Resubmitted, with more detail, as conf/55991. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55964 
>Unformatted:
