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:

Using LDAPGroups without LDAP authentication
LDAPGroups needs to have information about which LDAP domain configuration to use for a user logging in. For this it uses a table in the database. When using Extension:LDAPAuthentication2 this table automatically gets the necessary data filled in.

If you use another type of authentication (e.g. Auth_remoteuser or SimpleSAMLphp) you have to find another way of feeding this table. If you are using only one LDAP domain you can e.g. add this to your LocalSettings.php (again based on the example config for LDAPProvider):