当我登录Sonar并将其保留一段时间并再次返回同一页面时,声纳身份验证失败。 我们使用的是LDAP 0.1 jar文件和Sonar 3.3.1,下面提到了sonar.properties文件中的配置:
sonar.authenticator.class: org.sonar.plugins.ldap.LdapAuthenticator
sonar.authenticator.ignoreStartupFailure: true
sonar.authenticator.createUsers: true
ldap.url: ldap://hostname.mycompany.com:389
ldap.bindDn: QUA01@mycompany.com
ldap.bindPassword: Password
ldap.loginAttribute: sAMAccountName
ldap.userObjectClass: user
答案 0 :(得分:1)
不再支持Sonar 3.3.1,您应该迁移到最新的LTS,5.6。 您还需要将LDAP插件升级到1.5版。
有关如何升级的更多信息,请参阅升级指南:http://docs.sonarqube.org/display/SONAR/Upgrading