2
我試圖讓聲納使用LDAP身份驗證對Active Directory聲納與Active Directory 3.4 LDAP身份驗證 - 空指針異常
我有以下設置
# LDAP Authentication
sonar.security.realm: LDAP
sonar.authenticator.class: org.sonar.plugins.ldap.LdapAuthenticator
sonar.authenticator.createUsers: true
ldap.url: ldap://172.20.16.15:389
ldap.baseDn: DC=mycompany,DC=com
ldap.bindDn: CN=myuser,OU=serviceaccounts,OU=My Group,DC=mycompany,DC=com
ldap.bindPassword: password
ldap.loginAttribute: sAMAccountName
ldap.userObjectClass: user
# ldap.user.request: sAMAccountName={0}
不過,我不斷收到
ERROR rails Error from external users provider: java.lang.NullPointerException: null
我試着用ldap.user.request改變ldap.loginAttribute/ldap.userObjectClass,但仍然不起作用。
我有的聲納ldap插件是1.2.1。請幫我找出什麼是錯的配置
我已經使用ADExplorer相同的條目,以確保我可以瀏覽AD和相同/相似的設置與Artifactory的工作