SonarQube 5.6.6 Integration with LDAP

Hi Team,

We are using SonarQube version 5.6.6. We wanted to configure the SonarQube with LDAP. For this we have installed LDAP plugin version 2.0 and gave the below configurations in the sonar.properties file

sonar.security.realm=LDAP

ldap.url=ldaps://ldap.xxx.xxx:636/
ldap.bindDn=CN=xxxxx,OU=xxxxxx,DC=xxx,DC=xxx
sonar.log.level=DEBUG
ldap.bindDn=xxxxx
ldap.bindPassword=xxxxxxx
ldap.followReferrals=false

User Configuration

ldap.user.baseDn=xxxxxxxx
ldap.user.request=(&(objectCategory=Person)(memberOf=cn=xxxxxx,ou=xxxxx,dc=xxxxx,dc=xxxx))
ldap.user.realNameAttribute=xxxxxxx
ldap.user.realNameAttribute=cn
ldap.user.emailAttribute=mail
ldap.user.request=xxxxx

Please let us know if we are missing anything. As current configuration is not working and we are not able to login to sonarqube with the LDAP user.

Note: - We have also tried similar configuration with LDAP plugin version 2.2 and that also didn’t work

Please help us in resolving this issue

Hi,

As of 1 July, 5.6.6 is 2 LTSs old. The current LTS is 7.9 (7.9.1 imminent) and the previous LTS is 6.7.7. You’re going to have a hard time finding help for 5.6.6. You should upgrade to 7.9.* (via 6.7.7) at your earliest convenience.

 
Ann