From: Jeremy Allison Date: Thu, 24 Jul 2008 18:56:49 +0000 (-0700) Subject: Use sys_getgrnam not getgrnam. Pointed out by Herb. X-Git-Tag: samba-3.3.0pre1~408 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43eec6517023e7865618791c231e54cc1b800ceb;p=thirdparty%2Fsamba.git Use sys_getgrnam not getgrnam. Pointed out by Herb. Jeremy. --- diff --git a/source/passdb/util_unixsids.c b/source/passdb/util_unixsids.c index 8c92f957780..83a5f5cab47 100644 --- a/source/passdb/util_unixsids.c +++ b/source/passdb/util_unixsids.c @@ -93,7 +93,7 @@ bool lookup_unix_group_name(const char *name, DOM_SID *sid) { struct group *grp; - grp = getgrnam(name); + grp = sys_getgrnam(name); if (grp == NULL) { return False; }