Subject: lib/20183: HESIOD does not use the grplist HesiodNameType
To: None <gnats-bugs@gnats.netbsd.org>
From: None <elric@imrryr.org>
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
>Closed-Date:
>Last-Modified:
>Originator: Roland Dowdeswell
>Release: NetBSD 1.6_BETA1
>Organization:
The NetBSD Project
>Environment:
System: NetBSD arioch.imrryr.org 1.6_BETA1 NetBSD 1.6_BETA1 (ARIOCH) #0: Fri Jun 28 12:36:20 EDT 2002 elric@arioch.imrryr.org:/usr/src/sys/arch/alpha/compile/ARIOCH alpha
Architecture: alpha
Machine: alpha
>Description:
Our implementation of Hesiod does not use the grplist type
which is specified by the MIT implementation. For example,
$ hesinfo elric grplist
staff:20:wheel:0:wsrc:9:dialer:117:chaos:666
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
structure.
>How-To-Repeat:
Use Hesiod and note its behaviour.
>Fix:
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.
>Release-Note:
>Audit-Trail:
>Unformatted: