Support syncing nested groups when logging in through LDAP
We need to investigate how nested groups are passed in the memberOf
field from LDAP.
Currently we are syncing the group for the first CN
in every entry in the memberOf
field.
Possibly we need to sync every CN
, but we need to investigate how nested groups are passed in memberOf
.
See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1819#note_28921955 for more info.