Skip to content

Optimize LDAP group sync operations

Separate the LDAP group sync process from the regular LDAP access checks and optimize.

So far, this is a somewhat working PoC that splits the group sync operation to a new worker. It updates all members for a group as it iterates, instead of looping through users and updating groups that way. I am adding lots of logging because this would have been extremely helpful in the past.

There are lots of things still broken, or not considered. However, at least group members are added and updated when I use it in my idyllic dev environment 😃

Do these in another merge request

Merge request reports