URL:
https://github.com/SSSD/sssd/pull/541
Title: #541: memberof: keep memberOf attribute for nested member
sumit-bose commented:
"""
@pbrezina, have you checked if you have only 1.
user -> groupB -> groupC -> groupA
That the memberships to groupC and groupA are removed properly as well if the membership
to groupB is removed form the user?
And second that the memberships to groupC and groupA are remove if you remove groupC from
groupB but keep the user a member of groupB?
The comment in the removed code sounds a bit like one of those cases.
Another test case might be
user -> groupB -> groupC -> groupA
|-> groupA
(groupA is direct and indirect member of groupB and should be kept for user if groupC is
removed from groupB)
"""
See the full comment at
https://github.com/SSSD/sssd/pull/541#issuecomment-381891583