Lars,

> Von: Lars Wirzenius <[EMAIL PROTECTED]>
> An: Debian Bug Tracking System <[EMAIL PROTECTED]>
> Betreff: Bug#316117: /usr/share/man/man3/getgrnam.3.gz: manpages-dev:   
> getgrnam(3) says /etc/group, should be "group database"
> Datum: Tue, 28 Jun 2005 19:21:46 +0300
> 
> Package: manpages-dev
> Version: 2.02-2
> Severity: normal
> File: /usr/share/man/man3/getgrnam.3.gz
> 
> >>From getgrnam(3):
> 
>        The getgrnam() function returns a pointer to a structure 
>        containing the
>        group information from /etc/group for the entry that matches the 
>        group name name.
> 
>        The getgrgid() function returns a pointer to a structure 
>        containing the
>        group information from /etc/group for the entry that matches the 
>        group gid gid.
> 
>         ...
>         
>   FILES
>        /etc/group
>               group database file
> 
> In reality, glibc uses other sources also to find information about
> groups, not just /etc/group. 

Yes.

> For example, NIS: see #295680, which
> started with a misunderstanding about this. Changing the working to say
> something like "group information from the group database (e.g., in
> /etc/group, NIS, and LDAP)" in the first two paragraphs and "default
> group database file" in the FILES section might be good.

Yes, I agree that a change to getgrnam.3 along these lines is 
needed.

Do you agree that analogous changes are also required in the
following pages:

getgrnam.3
getpwent.3
getpwnam.3

and perhaps:

getspnam.3

?

Cheers,

Michael

-- 
Michael Kerrisk
maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 

Want to help with man page maintenance?  Grab the latest
tarball at ftp://ftp.win.tue.nl/pub/linux-local/manpages/
and grep the source files for 'FIXME'.

5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to