summaryrefslogtreecommitdiff
path: root/nss_client/group.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-10-13 07:00:54 -0400
committerSimo Sorce <idra@samba.org>2008-10-13 07:00:54 -0400
commit6389867a6038c8ae3b8bd1ea88726f3b650d067b (patch)
tree13f9704d655c831558ae175ef37d5d440f60a3fd /nss_client/group.c
parent40b2779eab3a91e6e1f131bbb1b85facaf3c4eaf (diff)
downloadsssd-6389867a6038c8ae3b8bd1ea88726f3b650d067b.tar.gz
sssd-6389867a6038c8ae3b8bd1ea88726f3b650d067b.tar.bz2
sssd-6389867a6038c8ae3b8bd1ea88726f3b650d067b.zip
Fix getgrgid()
Diffstat (limited to 'nss_client/group.c')
-rw-r--r--nss_client/group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss_client/group.c b/nss_client/group.c
index 152b4de1..43dbb6d6 100644
--- a/nss_client/group.c
+++ b/nss_client/group.c
@@ -290,7 +290,7 @@ enum nss_status _nss_sss_getgrgid_r(gid_t gid, struct group *result,
rd.len = sizeof(uint64_t);
rd.data = &group_gid;
- nret = sss_nss_make_request(SSS_NSS_GETPWUID, &rd,
+ nret = sss_nss_make_request(SSS_NSS_GETGRGID, &rd,
&repbuf, &replen, errnop);
if (nret != NSS_STATUS_SUCCESS) {
return nret;