I google a lot but I couldn't find an answer for how to integrate LDAP with sonarqube. Most of the documents are showing that we need to modify in /sonarqube-6.2/conf/sonar.properties as below;
# LDAP configuration
# General Configuration
sonar.security.realm=LDAP
ldap.url=ldap://myserver.mycompany.com
ldap.bindDn=my_bind_dn
ldap.bindPassword=my_bind_password
# User Configuration
ldap.user.baseDn=ou=Users,dc=mycompany,dc=com
ldap.user.request=(&(objectClass=inetOrgPerson)(uid={login}))
ldap.user.realNameAttribute=cn ldap.user.emailAttribute=mail
# Group Configuration
ldap.group.baseDn=ou=Groups,dc=sonarsource,dc=com
ldap.group.request=(&(objectClass=posixGroup)(memberUid={uid}))
but the thing is I could find any block with LDAP integration as above in sonar.properties. Do I need to add these lines manually or will it be there already? I also tried with plugin but I couldn't find the next steps using plugin after installation.