SonarQube LDAP group lookup is slow

SonarQube Enterprise Edition Version 10.1

Currently SonarQube performs a lookup of “ou=groups,o=op” to determine the group memberships of a user upon login. This is done with every login, including logins made through REST API. With automations in place, it can get quite expensive.

Is it possible to perform group membership lookups in more efficient manner in SonarQube, or is the current way the only possibility?

Hey there.

  • Yes, this is the only way
  • You might consider using a local technichal user for Rest API calls, which don’t authenticate via LDAP.

Ok thanks for the info Colin!