From mandrews@mindcrime.bit0.com  Tue Sep 12 10:12:38 2000
Return-Path: <mandrews@mindcrime.bit0.com>
Received: from mindcrime.bit0.com (mindcrime.bit0.com [208.6.169.69])
	by hub.freebsd.org (Postfix) with ESMTP id DE4CB37B423
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Sep 2000 10:12:36 -0700 (PDT)
Received: (from mandrews@localhost)
	by mindcrime.bit0.com (8.11.0/8.11.0) id e8CHB0p18893;
	Tue, 12 Sep 2000 13:11:00 -0400 (EDT)
	(envelope-from mandrews)
Message-Id: <200009121711.e8CHB0p18893@mindcrime.bit0.com>
Date: Tue, 12 Sep 2000 13:11:00 -0400 (EDT)
From: Mike Andrews <mandrews@mindcrime.bit0.com>
Reply-To: mandrews@mindcrime.bit0.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: finger no longer returns multiple matches for partial name queries
X-Send-Pr-Version: 3.2

>Number:         21228
>Category:       bin
>Synopsis:       finger no longer returns multiple matches for partial name queries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 12 10:20:00 PDT 2000
>Closed-Date:    Tue Sep 12 14:58:46 PDT 2000
>Last-Modified:  Tue Sep 12 14:59:30 PDT 2000
>Originator:     Mike Andrews
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

	4.1-STABLE as of 5 Sep 2000, maybe earlier.
	4.1-RELEASE is OK.

>Description:

	finger only displays a single match (the first one in the passwd file)
	for any partial name query, i.e. fingering last names or first names.
	Previously it would show all matching accounts.

>How-To-Repeat:

	Create 10 accounts on a machine with "Smith" as the user's last name,
	then "finger smith".  On 4.1-STABLE, only the first match in the passwd
	file will be shown.  On 4.1-RELEASE, all 10 will be shown.

>Fix:

	Have not tried to make a patch yet.
	From doing a quick diff between the 4.1-R and 4.1-S versions
	it appears to be related to the finger.conf changes in finger.c,
	in the general vicinity of line 300.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Tue Sep 12 11:31:33 PDT 2000 
Responsible-Changed-Why:  
Confirmed on 5.0-CURRENT (development branch).  Brian, the originator 
suspects that this has to do with the newly-introduced finger.conf 
support.  Could you check it out? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21228 
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Tue Sep 12 14:58:46 PDT 2000 
State-Changed-Why:  
Fixed in -current.  I'll MFC in three days assuming no problems. 

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