If you’ve been using SonarQube with TFS on-premises chances are you using the LDAP plugin to integrate with your Active Directory. We are currently running version 5.4 of SonarQube with v1.5.1 of the LDAP plugin and are migrating to SonarQube 5.6 which brought this to my attention.
In Update Center in SonarQube you will see the following update
I deployed SonarQube 5.6 and went to the Update Center to look for the Active Directory plugin referenced above but instead I saw this
This had the words Active Directory in the name of the plugin but wasn’t quite what I needed so I went back to the internet and bing’d a few searches out which finally led to this:
I went to the releases page and downloaded the release candidate of the plugin and copied it to my plugins folder.
Next I edited the sonar.properties file and entered the following:
# Active Directory configuration
which replaced the entries I had for the LDAP plugin so I could safely remove these:
# LDAP Configuration
You should now be able to start SonarQube and if you take a look at the logs you should see the plugin load:
If you navigate to the SonarQube homepage
Clicking on Login should immediately log you into SonarQube which you can verify when your logon account is display (as shown below)
Good luck and of course if you have any questions please post them below. More information about the plugin can be found here in the readme.md