Sonarqube 9.0.1 ldap and crowd does not appear in the users sonar system

  • I can’t sync users from ldap and crowd system
  • I am doing the following steps. It stands up without any problems, but I see that no users come from crowd or ldap in the users section.

sonar.properties

LDAP configuration

General Configuration

sonar.security.realm=LDAP
ldap.url=ldap://192.168.1.130:389/
ldap.bindDn=cn=ldap.user,ou=system,ou=users,dc=example,dc=com
ldap.bindPassword=password12345

User Configuration

ldap.user.baseDn=ou=users,dc=example,dc=com
ldap.user.request=(&(objectClass=user)(sAMAccountName={login}))
ldap.user.realNameAttribute=cn
ldap.user.emailAttribute=mail

Group Configuration

ldap.group.baseDn=ou=groups,ou=users,dc=example,dc=com
ldap.group.request=(objectclass=groupOfUniqueNames)
ldap.group.request=(&(objectClass=posixGroup)(memberUid={uid}))

OR CROWD Config

Crowd Auth Settings

sonar.security.realm=Crowd
sonar.authenticator.createUsers=true
sonar.security.updateUserAttributes=true
crowd.url=http://example.com/crowd/
crowd.application=sdlc_sonar
crowd.password=password12345

Don’t use crowd for sonar account

sonar.security.localUsers=admin

CROWD Config

Add Application
Application name : sdlc_sonar
http://example.com/crowd/
192.168.1.130

Hi,

Users aren’t synched proactively when you start the server up, but only as each user logs in.

 
HTH,
Ann