SonarQube - Community Edition Version 8.9.9
SonarQube - Community Edition Version 9.9.4
We have two environments with the versions given above. On both the environments we face the same issue.
We use AD authentication for our users. There is this one particular user unable to login to SonarQube. Nobody else has any issues logging in except this user. The error we see in the web.log is given below. I’ve modified certain environment specific details for the sake of security.
DEBUG web[AY5SCx4GD8P4WVs5AJxv][o.s.a.l.LdapUsersProvider] Requesting details for user johndoe
DEBUG web[AY5SCx4GD8P4WVs5AJxv][o.s.a.l.LdapSearch] Search: LdapSearch{baseDn=DC=abc,DC=xyz,DC=org, scope=subtree, request=(&(samaccountname={0})(objectclass=person)), parameters=[johndoe], attributes=[mail, name]}
DEBUG web[AY5SCx4GD8P4WVs5AJxv][o.s.a.l.LdapSearch] Search: LdapSearch{baseDn=DC=abc,DC=xyz,DC=org, scope=subtree, request=(&(samaccountname={0})(objectclass=person)), parameters=[johndoe], attributes=null}
DEBUG web[AY5SCx4GD8P4WVs5AJxv][o.s.a.l.LdapAuthenticator] User johndoe not found
DEBUG web[AY5SCx4GD8P4WVs5AJxv][auth.event] login failure [cause|Realm returned authenticate=false][method|FORM][provider|REALM|LDAP][IP|11.11.11.11|][login|johndoe]
DEBUG web [org.apache.http.wire] http-outgoing-3 >> “{“from”:0,“size”:50,“query”:{“bool”:{“must”:[{“multi_match”:{“query”:“johndoe”,“fields”:[“email^1.0”,“email.user_search_grams_analyzer^1.0”,“login^1.0”,“login.user_search_grams_analyzer^1.0”,“name^1.0”,“name.user_search_grams_analyzer^1.0”],“type”:“best_fields”,“operator”:“AND”,“slop”:0,“prefix_length”:0,“max_expansions”:50,“zero_terms_query”:“NONE”,“auto_generate_synonyms_phrase_query”:true,“fuzzy_transpositions”:true,“boost”:1.0}}],“filter”:[{“bool”:{“must”:[{“term”:{“active”:{“value”:true,“boost”:1.0}}}],“adjust_pure_negative”:true,“boost”:1.0}}],“adjust_pure_negative”:true,“boost”:1.0}},“sort”:[{“name”:{“order”:“asc”}}]}”
What is going on? Any help is appreciated.