tech:notes_sonar_ldap
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| tech:notes_sonar_ldap [2025/06/01 11:00] – Jean-Baptiste | tech:notes_sonar_ldap [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Notes Sonar SonarQube LDAP | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * http:// | ||
| + | |||
| + | Voir aussi : | ||
| + | * Checkmarx - KICS | ||
| + | * MegaLinter | ||
| + | |||
| + | `sonar/ | ||
| + | ~~~ini | ||
| + | sonar.jdbc.username=sonar | ||
| + | sonar.jdbc.password=P@ssw0rd | ||
| + | sonar.jdbc.url=jdbc: | ||
| + | |||
| + | # General Configuration | ||
| + | sonar.security.realm=LDAP | ||
| + | ldap.url=ldap:// | ||
| + | ldap.bindDn=admin | ||
| + | ldap.bindPassword=P@ssw0rd | ||
| + | |||
| + | # User Configuration | ||
| + | ldap.user.baseDn=DC=acme, | ||
| + | ldap.user.request=(& | ||
| + | ldap.user.realNameAttribute=cn | ||
| + | ldap.user.emailAttribute=mail | ||
| + | |||
| + | # Group Configuration | ||
| + | # | ||
| + | # | ||
| + | ~~~ | ||
| + | |||
| + | Err | ||
| + | ~~~ | ||
| + | org.sonar.plugins.ldap.LdapException: | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | NC | ||
| + | ~~~ | ||
| + | LdapUserMapping{baseDn=cn=users, | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ~~~bash | ||
| + | ldapsearch -D admin -W -h acme.local -b " | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Service SystemD | ||
| + | |||
| + | Voir exemple_4_-_systemd_appelant_un_script_sysv_init [[systemd_service_-_exemples]] | ||
| + | |||
| + | |||
