0
I am trying to configure the LDAP plugin for SonarQube 7.9.2.30863, but I am getting this error sonarqube_web.log :
LdapException: Unable to retrieve details for user in
Caused by: javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0907C2, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v2580 ]
I’ve added the following configuration in sonar.properties:
sonar.security.realm=LDAP
ldap.url=ldap://companyUrl:1234
ldap.bindDn=admin@companyDomain
ldap.bindPassword=password
ldap.user.baseDn=dc=companyName,dc=DOMAIN
ldap.user.request=(&(sAMAccountName={0}))
ldap.user.realNameAttribute=name
ldap.user.emailAttribute=mail
ldap.group.request=(objectClass=group)
ldap.group.idAttribute=cn