lookup_unix_group_name question

Jeremy Allison jra at samba.org
Thu Jul 24 17:48:50 GMT 2008


On Mon, Jul 21, 2008 at 01:03:36PM -0700, Herb Lewis wrote:
> In the file source/passdb/util_unixsids.c, this function calls
> getgrnam. Shouldn't this be sys_getgrnam?
> 
> The equiv user function lookup_unix_user_name calls getpwnam_alloc
> which then calls sys_getpwnam.

Yes, should be. Don't think it makes a difference in the
codepath but should definately be sys_getgrnam.

Jeremy.


More information about the samba-technical mailing list