diff options
-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, |