Bug 21228

Summary: finger no longer returns multiple matches for partial name queries
Product: Base System Reporter: Mike Andrews <mandrews>
Component: binAssignee: Brian Somers <brian>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   

Description Mike Andrews 2000-09-12 18:20:00 UTC
	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.

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.
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.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-09-12 19:31:33 UTC
Responsible Changed
From-To: freebsd-bugs->brian

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?
Comment 2 Brian Somers freebsd_committer freebsd_triage 2000-09-12 22:58:46 UTC
State Changed
From-To: open->closed

Fixed in -current.  I'll MFC in three days assuming no problems.