Extension:LDAPGroups

This extension allows to sync user groups from a LDAP resource, when a user logs into the wiki.

Domain config settings
If you want to configure this in  you can extend the configuration for LDAPProvider like in this example: