1.Requirement: configure sonrqube to log in with active directory domain account.
2.Version information: sonarqube 7.9.3
3.sonar.properties configuration details:
4.After sonarqube is started web.log Log information:web.log (12.0 KB)
5.Login failed with AD domain account, as follows:access.log (5.9 KB)
Now I want to configure sonrqube to connect to the AD domain account, but the login has always failed. Who can help me analyze the problem? Thank you very much!
The rest of the log information is as follows: es.log (3.8 KB) ce.log (1.3 KB) sonar.log (4.0 KB)
Thanks for the logs in DEBUG.
The issue raised during authentication is the following one :
2020.11.18 18:49:28 DEBUG web[AXXa9lLQF5xNmGvvAAAa][o.s.p.l.LdapUsersProvider] User appbugs not found in default
2020.11.18 18:49:28 DEBUG web[AXXa9lLQF5xNmGvvAAAa][auth.event] login failure [cause|No user details][method|FORM][provider|REALM|LDAP][IP|0:0:0:0:0:0:0:1|][login|appbugs]
Could you please check that the user ‘appbugs’ can be found when using the LDAP info you set in the configuration ?
Sorry if I was to clear. The user you’re trying to authenticate with cannot be found with the LDAP search parameters you’ve set.
Could you please use a LDAP tool to check that the query is correct ?