Subject: lib/20183: HESIOD does not use the grplist HesiodNameType
To: None <>
From: None <>
List: netbsd-bugs
Date: 02/03/2003 13:19:29
>Number:         20183
>Category:       lib
>Synopsis:       HESIOD does not use the grplist HesiodNameType
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 03 10:20:00 PST 2003
>Originator:     Roland Dowdeswell
>Release:        NetBSD 1.6_BETA1
	The NetBSD Project
System: NetBSD 1.6_BETA1 NetBSD 1.6_BETA1 (ARIOCH) #0: Fri Jun 28 12:36:20 EDT 2002 alpha
Architecture: alpha
Machine: alpha
	Our implementation of Hesiod does not use the grplist type
	which is specified by the MIT implementation.  For example,

		$ hesinfo elric grplist

	This map provides quick lookups of user->group membership
	and should be used by getgrouplist(3).

	Currently, our Hesiod implementation iterates over the
	entire list of groups using the non-standard group-<n>.group
	Use Hesiod and note its behaviour.
	I'm working on some code for this one.  Basically, the
	approach is to try the grplist map and if it does not exist
	fall back to the iterated (group-<n>.group) method.