LDAP-Gruppen und SonarQube-Konfiguration

Sind wir der Planung und Implementierung von LDAP-Konfiguration in SonarQube-Einstellungen.
Also in sonar.properties-Datei ist wie folgt

(&(objectClass=user)(|(memberOf=CN=GL_group,OU=Groups,DC=project,DC=company,DC=com))(sAMAccountName={login}))

Nun sind wir auf die Planung zu erstellen, die Active Directory (AD) - Gruppe für alle Projekt-und dann fügen wir diese in GL_group der AD-Gruppe.

Werden wir auch Projekt-Gruppe in SonarQube, um die Synchronisierung mit AD.

Meine Frage ist, wird das funktionieren? also:

  • Neues Projekt hinzufügen " in AD
  • Fügen Sie dieser Gruppe in GL_group in AD
  • Benutzer angemeldet Sonar
  • Benutzer automatisch zum Projekt Hinzugefügt-Gruppe

Wird es Hinzugefügt werden GL_group-ODER Projektgruppe?

LDAP-Einstellungen

sonar.security.realm:                      LDAP
sonar.security.savePassword:               false
sonar.authenticator.createUsers:           true
ldap.url:                                  ldap://sonar.engagement.project.country.company.com:389
ldap.bindDn:                               svc_user
ldap.bindPassword:                         password
ldap.authentication:                       simple
ldap.user.baseDn:                          DC=engagement,DC=project,DC=country,DC=company,DC=com
ldap.user.request:                         (&(objectClass=user)(|(memberOf=CN=GL_projectEngagementUsers,OU=projectGroups,DC=engagement,DC=project,DC=country,DC=company,DC=com))(sAMAccountName={login}))
ldap.user.realNameAttribute:               displayName
ldap.user.emailAttribute:                  mail
ldap.group.baseDn:                         DC=engagement,DC=project,DC=country,DC=company,DC=com
ldap.group.idAttribute:                    cn
ldap.group.request:                        (&(objectClass=group)(member={dn}))
Schreibe einen Kommentar