goauthentik / authentik

The authentication glue you need.
https://goauthentik.io
Other
13.02k stars 866 forks source link

LDAP Source: Indirect Memberships not working #7791

Open eiclu opened 9 months ago

eiclu commented 9 months ago

Describe your question/ FreeIPA supports indirect group memberships, meaning you can be member of a group by being member of a child group. The problem stems from how those indirect group memberships are mapped to LDAP: The group stored in a memberOf attribute of the user, but the user is not stored in a member attribute of the group. This normally is not a problem, since many applications get the group memberships from an user's memberOf attribute. But as far as I can see, Authentik only supports getting memberships from a group attribute, which does not work correctly with FreeIPA.

Relevant infos We use a FreeIPA Server.

eiclu commented 9 months ago

Sidenote: The code to sync group memberships says it iterates the users (what I would need), but it iterates the groups image