Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all articles
Browse latest Browse all 2893

LDAP Troubles with Retrieving List of Roles

$
0
0
I have been struggling to get ldap working with OpenLDAP on Linux with Pentaho server.

I can successfully connect and authenticate however the query to list the roles isn't working correctly.

The problem is probably the LDAP query syntax.

In my configuration below the line populator.groupSearchFilter is the problem. The logs are showing this is populated with

(memberUid=uid=myid,ou=People,dc=mydomain,dc=com) which doesn't return any rows. I have tested the query and it works if I can just use (memberUid=myid) but I can't seem to force Pentaho to just use the ID value without the full path.

contextSource.providerUrl=ldap\://localhost\:389/
contextSource.userDn=cn\=Manager,dc\=mydomain,dc\=com
contextSource.password=xxxx


userSearch.searchBase=ou\=People,dc\=mydomain,dc\=com
userSearch.searchFilter=(uid\={0})


populator.convertToUpperCase=false
populator.groupRoleAttribute=uid
populator.groupSearchBase=ou\=Group,dc\=mydomain,dc\=com
populator.groupSearchFilter=(memberUid\={0})
populator.rolePrefix=
populator.searchSubtree=false


allAuthoritiesSearch.roleAttribute=uid
allAuthoritiesSearch.searchBase=ou\=roles,dc\=mydomain,dc\=com
allAuthoritiesSearch.searchFilter=(objectClass\=organizationalRole)


allUsernamesSearch.usernameAttribute=uid
allUsernamesSearch.searchBase=ou\=People,dc\=mydomain,dc\=com
allUsernamesSearch.searchFilter=objectClass\=Person


Any help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 2893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>