diff options
author | Simo Sorce <idra@samba.org> | 2008-10-13 07:00:54 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-10-13 07:00:54 -0400 |
commit | 6389867a6038c8ae3b8bd1ea88726f3b650d067b (patch) | |
tree | 13f9704d655c831558ae175ef37d5d440f60a3fd | |
parent | 40b2779eab3a91e6e1f131bbb1b85facaf3c4eaf (diff) | |
download | sssd-6389867a6038c8ae3b8bd1ea88726f3b650d067b.tar.gz sssd-6389867a6038c8ae3b8bd1ea88726f3b650d067b.tar.bz2 sssd-6389867a6038c8ae3b8bd1ea88726f3b650d067b.zip |
Fix getgrgid()
-rw-r--r-- | nss_client/group.c | 2 | ||||
-rw-r--r-- | nss_client/sss_nss.h | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/nss_client/sss_nss.h b/nss_client/sss_nss.h index 646f8ffe..d4136810 100644 --- a/nss_client/sss_nss.h +++ b/nss_client/sss_nss.h @@ -39,7 +39,7 @@ enum sss_nss_command { /* group */ SSS_NSS_GETGRNAM = 0x0021, - SSS_NSS_GETGRUID = 0x0022, + SSS_NSS_GETGRGID = 0x0022, SSS_NSS_SETGRENT = 0x0023, SSS_NSS_GETGRENT = 0x0024, SSS_NSS_ENDGRENT = 0x0025, |