Commit 46a4c26 nss-idmap: do not set a limit

1 file Authored by sbose a month ago , Committed by jhrozek a month ago ,
nss-idmap: do not set a limit

If the limit is set the needed size to return all groups cannot be
returned.

Related to https://pagure.io/SSSD/sssd/issue/3715

Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

    
 1 @@ -96,7 +96,9 @@
 2                                            inp->result.initgrrep.start,
 3                                            inp->result.initgrrep.ngroups,
 4                                            &(inp->result.initgrrep.groups),
 5 -                                          *(inp->result.initgrrep.ngroups));
 6 +                                          /* no limit so that needed size can
 7 +                                           * be returned properly */
 8 +                                          -1);
 9           break;
10       default:
11           return EINVAL;