Automatically add user to admin group from LDAP

  • SonarQube 9.8 LTS Dev and Community
  • Dockerswarm
  • Trying to synchronize an LDAP group to an admin group in Sonarqube.

Hello everyone,

I’ve been trying to synchronize a LDAP group to an Admin group in Sonarqube, here is the deal :

Our Sonarqube is synchronized with our Active Directory for it’s user list.
Users connecting to Sonarqube with their LDAP Account are automatically added in the default user group.
What I’ve been trying to do is to create a group in Sonarqube, with admin rights, with the same name as the group of user I want in the Active Directory.
In theory, following this ticket : Unable to add AD user as admin - #2 by Colin, it should recognize the OU of the group and automatically add the users in the admin group Sonarqube side.
However it’s behavior has not changed since I’ve created the group Sonarqube side. Does anyone have faced this issue ?

Thank you

Hi,

Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

9.8 → 9.9.2 → 10.2.1 (last step optional)

You may find this helpful:

If you have questions about upgrading, feel free to open a new thread for that.

Regarding your question, group membership is synced for each user when that user logs in.

Have any of your users logged in since you created the group on the SonarQube side?