如何为LDAP/Active Directory配置Pentaho文件?

如何为LDAP/Active Directory配置Pentaho文件?,ldap,pentaho,Ldap,Pentaho,我第一次将Pentaho 6.1服务器配置为使用LDAP。 我需要更改哪些参数?怎么做 我已尝试按照本手册页面上的说明进行操作: 在我将文件:security.properties中的“provider=jackrabbit”更改为“provider=ldap”后,当我尝试与管理员用户一起进入Pentaho登录页面时,我会收到一个错误,就像用户不存在一样 这是我的实际LDAP参数: Server host: ldap-sweft.ferint.kabal Server port: 389 Us

我第一次将Pentaho 6.1服务器配置为使用LDAP。 我需要更改哪些参数?怎么做

我已尝试按照本手册页面上的说明进行操作:

在我将文件:security.properties中的“provider=jackrabbit”更改为“provider=ldap”后,当我尝试与管理员用户一起进入Pentaho登录页面时,我会收到一个错误,就像用户不存在一样

这是我的实际LDAP参数:

Server host: ldap-sweft.ferint.kabal
Server port: 389
Use TLS connection: no
Bind DN: zenit
Bind Password: asddsa
Users base DN: dc=ferint,dc=kabal
Enable Group Retrieval: yes
Search scope: subtree

User authentication:

User search filter: (&(objectCategory=user)(sAMAccountName=$USER$))
Identity Attribute: sAMAccountName
Get all users filter: (objectCategory=user)

Group support:

Users of group filter: (&(objectCategory=user)(memberOf=$GROUP$))
Groups base DN: (vuoto)
Group Search Filter: (objectCategory=group)
Group Name Attribute: cn
Groups of user filter: (&(objectCategory=group)(member=$USER$))

我就是这样更改文件的:pentaho solutions/system/applicationContext-security-ldap.properties

新文件:

contextSource.providerUrl=ldap://ldap-sweft.ferint.kabal:389/
contextSource.userDn=dc\=ferint\\zenit
contextSource.password=asddsa

userSearch.searchBase=ou\=Utenti,dc\=ferint,dc\=kabal
userSearch.searchFilter=(sAMAccountName\={0})

populator.convertToUpperCase=false
populator.groupRoleAttribute=cn
populator.groupSearchBase=ou\=Gruppi,dc\=ferint,dc\=kabal
populator.groupSearchFilter=(member:1.2.840.113556.1.4.1941:={0})
populator.rolePrefix=
populator.searchSubtree=true

allAuthoritiesSearch.roleAttribute=cn
allAuthoritiesSearch.searchBase=ou\=Gruppi,dc\=ferint,dc\=kabal
allAuthoritiesSearch.searchFilter=(objectClass\=organizationalRole)

allUsernamesSearch.usernameAttribute=sAMAccountName
allUsernamesSearch.searchBase=ou\=Utenti,dc\=ferint,dc\=kabal
allUsernamesSearch.searchFilter=objectClass\=person

adminRole=cn\=Administrator,ou\=roles
adminUser=cn\=zenit,ou\=Chiavi\ esoteriche,dc\=ferint,dc\=kabal

原始文件:

contextSource.providerUrl=ldap\://localhost\:10389/ou\=system
contextSource.userDn=uid\=admin,ou\=system
contextSource.password=secret

userSearch.searchBase=ou\=users
userSearch.searchFilter=(cn\={0})

populator.convertToUpperCase=false
populator.groupRoleAttribute=cn
populator.groupSearchBase=ou\=roles
populator.groupSearchFilter=(roleOccupant\={0})
populator.rolePrefix=
populator.searchSubtree=false

allAuthoritiesSearch.roleAttribute=cn
allAuthoritiesSearch.searchBase=ou\=roles
allAuthoritiesSearch.searchFilter=(objectClass\=organizationalRole)

allUsernamesSearch.usernameAttribute=uid
allUsernamesSearch.searchBase=ou\=users
allUsernamesSearch.searchFilter=objectClass\=Person

adminRole=cn\=Administrator,ou\=roles

我应该更改哪些参数

  • pentaho solutions/system/data access/settings.xml
  • pentaho解决方案/system/pentaho.xml
  • pentaho解决方案/system/repository.spring.properties
  • pentaho解决方案/system/applicationContext-spring-security.xml

您使用的是Active Directory还是其他LDAP?另外,检查第二行:“contextSource.userDn=dc\=ferint\\zenit”看起来不是有效的DN。类似于最后一行的内容应该可以使用,不过最好有一个单独的用户绑定到LDAP i.m.o。是的,我使用的是LDAP/MSAD。我在SSO上使用:FERINT\F12345或F12345进行访问。您使用的是Active Directory还是其他LDAP?另外,检查第二行:“contextSource.userDn=dc\=ferint\\zenit”看起来不是有效的DN。类似于最后一行的内容应该可以使用,不过最好有一个单独的用户绑定到LDAP i.m.o。是的,我使用的是LDAP/MSAD。我在SSO上使用:FERINT\F12345或F12345进行访问。