Hello,

I have sssd 1.13.00 working against FreeIPA 4.2 domain. This domain has a trust relationship with a active directory domain.

One of the systems we are using requires to enumerate all users in groups by (unfortunate) design (Apache Ranger). This is done by using
“getent group”. During this enumeration the full user list for a group that has a nested external member group* is not always returned so we thought to 
add “getent group mygroup” in order to get more details. Unfortunately this does not seem to work consistently: sometimes this gives information sometimes it does not:

[root@master centos]# getent group ad_users
ad_users:*:1950000004:

[root@master centos]# id bolke@ad.local
UID=1796201107(bolke@ad.local) GID=1796201107(bolke@ad.local) groepen=1796201107(bolke@ad.local),1796200513(domain users@ad.local),1796201108(test@ad.local)

[root@master centos]# getent group ad_users
ad_users:*:1950000004:bolke@ad.local

If I clear the cache (sss_cache -E) the entry is gone again:

[root@master centos]# getent group ad_users
ad_users:*:1950000004:

My question is how do I get sssd to enumerate *all users* in a group consistently?

Thanks!
Bolke


https://docs.fedoraproject.org/en-US/Fedora/18/html/FreeIPA_Guide/trust-groups.html