Hello,
We are currently using SonarQube Enterprise version 10.6 and we manage user authorization with LDAPS. However, we are facing a problem: LDAPS users are automatically assigned to the sonar-users group when they log in to SonarQube. Our goal is to correctly assign users to LDAP groups.
Our current LDAPS configuration is as follows:
sonar.security.realm=LDAP
ldap.url=ldaps://ldaps.mycompany.local:636
ldap.bindDn=CN=my CN,OU=GenericMailAccounts,OU=AddressList,DC=mycompany,DC=local
ldap.bindPassword=myldapbindpassword
ldap.user.baseDn=DC=mycompany,DC=local
ldap.user.request=(&(objectClass=user)(sAMAccountName={login}))
ldap.group.baseDn=OU=No Desktop Control,DC=mycompany,DC=local
ldap.group.request=(&(objectClass=group)(memberof={dn}))
sonar.authenticator.downcase=true
sonar.authentication.createUsers=true
At this point I have a few questions:
- Do we need to manually create LDAP groups in SonarQube beforehand?
- Is there a mistake in our configuration?
- Is there a need for additional configuration to correctly assign LDAPS users to LDAP groups?
Thank you in advance for your help.