23 Haziran 2014 Pazartesi

Sonar And LDAP Integration

After many hours finally I figure out how to integrate ldap plugin with sonarqube-4.3. Actualy I found which configuration items where mandatory for successfully ldap based login.

At least the next ldap properties must be mentioned in sonar properties file:


#ldap connection properties
  1. sonar.security.realm=LDAP
  2. ldap.url=ldap://mycompany.com
  3. ldap.authentication=simple
  4. ldap.realm=mycompany.com

#ldap login properties
  1. ldap.bindDn=cn=XXXXX
  2. ldap.bindPassword=PASSWORD
  3. ldap.loginAttribute=mail


Property "ldap.authentication" works only with "simple" value. There are another encryption options which can be used but only option simple was working.

Hiç yorum yok:

Yorum Gönder