URL:
https://github.com/SSSD/sssd/pull/557
Title: #557: nss-idmap: use right group list pointer after sss_get_ex()
jhrozek commented:
"""
Thank you for providing the test program. In case someone else will try to run it, you
also need to add some includes and a #define:
```
#define IPA_389DS_PLUGIN_HELPER_CALLS
#include <stdio.h>
#include <string.h>
#include <sss_nss_idmap.h>
```
Then compile with:
```
gcc test.c -lsss_nss_idmap
```
Then the issue is indeed visible and it can be verified the issue was fixed.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/557#issuecomment-383036099