From nik@coconut.blueberry.co.uk  Tue Nov  5 09:54:13 1996
Received: from coconut.blueberry.co.uk ([194.70.52.66])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA13081
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 5 Nov 1996 09:54:11 -0800 (PST)
Received: (from nik@localhost) by coconut.blueberry.co.uk (8.7.5/8.7.3) id RAA06381; Tue, 5 Nov 1996 17:55:06 GMT
Message-Id: <199611051755.RAA06381@coconut.blueberry.co.uk>
Date: Tue, 5 Nov 1996 17:55:06 GMT
From: Nik Clayton <nik@blueberry.co.uk>
Reply-To: nik@blueberry.co.uk
To: FreeBSD-gnats-submit@freebsd.org
Subject: finger(1) and NIS failure
X-Send-Pr-Version: 3.2

>Number:         1964
>Category:       bin
>Synopsis:       In my NIS environment, finger(1) fails.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov  5 10:00:01 PST 1996
>Closed-Date:    Wed Feb 26 08:53:02 PST 1997
>Last-Modified:  Wed Feb 26 08:53:23 PST 1997
>Originator:     Nik Clayton
>Release:        FreeBSD 2.1.5-RELEASE i386
>Organization:
Blueberry New Media
>Environment:

	2.1.5-RELEASE
	NIS

	Skeleton passwd file in /etc, real passwd file in 
	/var/yp/master.passwd

>Description:

	In an otherwise working NIS installation, finger fails to find users
	who are not in /etc/passwd.

	For my NIS installation, I've chosen to keep a skeleton passwd file
	in /etc, (which I can rdist around multiple machines), and keep
	the real passwd file in /var/yp/master.passwd.

	Take two users, 'root' and 'nik'. 'root' appears in /etc/passwd,
	'nik' appears in /var/yp/master.passwd.

	A finger(1) on 'root' will turn up the correct information. Doing
	the same to 'nik' fails with the message 'no such user'.

	Repeating this with the '-m' flag to finger works.

	% finger root
	Login: root			Name: Charlie Root
	...

	% finger nik
	finger: nik: no such user

	% finger -m root
	Login: root			Name: Charlie Root

	% finger -m nik
	Login: nik			Name: Nik Clayton
	...

	In every other respect, NIS appears to be working correctly --
	usernames are being looked up correctly, password changes are
	propogating around the network and so on.

>How-To-Repeat:

	# Install 2.1.5               
	# Turn on NIS
	# Install some users in /var/yp/master.passwd and not /etc/passwd

	% finger root
	Login: root                     Name: Charlie Root
	...

	% finger nik
	finger: nik: no such user

	% finger -m root
	Login: root                     Name: Charlie Root

	% finger -m nik
	Login: nik                      Name: Nik Clayton
	...

	The actual usernames do not appear to be important. In particular,
	it does not need to be the 'root' account.

>Fix:
	
	Not known
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Wed Feb 26 08:53:02 PST 1997 
State-Changed-Why:  
The originator says that this is fixed in 2.1.7. 
>Unformatted:
