summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-07-24 11:56:49 -0700
committerJeremy Allison <jra@samba.org>2008-07-24 11:56:49 -0700
commita4932d66576be2a514c534131ae09614e061c621 (patch)
treeb753655c25d0b75a4466fee8ec6310473815e120
parent890361db59ec293860fe2af7aaf7bdac0b7c03cb (diff)
downloadsamba-a4932d66576be2a514c534131ae09614e061c621.tar.gz
samba-a4932d66576be2a514c534131ae09614e061c621.tar.bz2
samba-a4932d66576be2a514c534131ae09614e061c621.zip
Use sys_getgrnam not getgrnam. Pointed out by Herb.
Jeremy. (This used to be commit 43eec6517023e7865618791c231e54cc1b800ceb)
-rw-r--r--source3/passdb/util_unixsids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/util_unixsids.c b/source3/passdb/util_unixsids.c
index 8c92f95778..83a5f5cab4 100644
--- a/source3/passdb/util_unixsids.c
+++ b/source3/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;
}