summaryrefslogtreecommitdiff
path: root/src/nsssd/nsssd-unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nsssd/nsssd-unix.c')
-rw-r--r--src/nsssd/nsssd-unix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nsssd/nsssd-unix.c b/src/nsssd/nsssd-unix.c
index e158c9f..6cbb3f2 100644
--- a/src/nsssd/nsssd-unix.c
+++ b/src/nsssd/nsssd-unix.c
@@ -115,6 +115,12 @@ int nsssd_grp_getbyname (void *handle, struct group *gr, char const *name)
return 1 ;
}
+int nsssd_grp_getlist (void *handle, char const *user, gid_t *gids, size_t n, size_t *r)
+{
+ (void)handle ;
+ return nsss_unix_getgrouplist_preadjust(user, gids, n, r) ;
+}
+
void nsssd_grp_end (void *handle)
{
nsss_unix_endgrent() ;