Bug 21228 - finger no longer returns multiple matches for partial name queries
Summary: finger no longer returns multiple matches for partial name queries
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 4.1-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Brian Somers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-12 18:20 UTC by Mike Andrews
Modified: 2000-09-12 22:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.