Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 1998 23:50:11 -0500 (EST)
From:      Keith Mitchell <kmitch@cslab.vt.edu>
To:        ibex@physik.TU-Berlin.DE (Dirk Froemberg)
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/5610: getpwnam and getpwuid do not use the +@netgroup convention in /etc/passwd.
Message-ID:  <199802120450.XAA21342@labrador.cslab.vt.edu>
In-Reply-To: <19980211203542.52477@physik.TU-Berlin.DE> from Dirk Froemberg at "Feb 11, 98 08:35:42 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > The getpwnam and getpwuid system calls do not correctly lookup netgroups
> > int the passwd file via a +@netgroup entry.  They do, however work with
> > a +user entry.  The getpwent system call does parse the netgroup
> > imports.
> 
> The attached patch to getnetgrent.c solved the problem for me. Please have
> a look at it and feel free to use it.


Yes,

this patch appears to fix the problem.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802120450.XAA21342>