Notes Sonar SonarQube LDAP

Voir :

https://docs.sonarqube.org/display/SONARQUBE67/LDAP+Plugin

https://stackoverflow.com/questions/21240522/sonarqube-ldap-authentication-seems-to-load-but-wont-allow-login-via-domain-use

https://www.youtube.com/watch?v=yDp0EuKUNWo

http://www.jouvinio.net/wiki/index.php/Sonar_Configuration_LDAP

Voir aussi :

Checkmarx - KICS

MegaLinter

sonar.jdbc.username=sonar sonar.jdbc.password=P@ssw0rd sonar.jdbc.url=jdbc:postgresql://localhost/sonar # General Configuration sonar.security.realm=LDAP ldap.url=ldap://acme.local:389 ldap.bindDn=admin ldap.bindPassword=P@ssw0rd # User Configuration ldap.user.baseDn=DC=acme,DC=local ldap.user.request=(&(objectClass=user)(sAMAccountName={login})) ldap.user.realNameAttribute=cn ldap.user.emailAttribute=mail # Group Configuration #ldap.group.baseDn=ou=Groups,dc=sonarsource,dc=com #ldap.group.request=(&(objectClass=posixGroup)(memberUid={uid}))

Err

org.sonar.plugins.ldap.LdapException: Unable to retrieve details for user in <default>

NC

LdapUserMapping{baseDn=cn=users,dc=acme,dc=local, request=(&(objectClass=user)(sAMAccountName={0})), realNameAttribute=cn, emailAttribute=mail}

ldapsearch -D admin -W -h acme.local -b "DC=acme,DC=local" "(&(objectClass=user)(sAMAccountName=user))"

Service SystemD

Voir exemple_4_-_systemd_appelant_un_script_sysv_init systemd_service_-_exemples