-
Hello, We have a corporate LDAP (OpenLDAP) where we are required to retrieve the group membership from the user attribute (partOf) instead of making a query to search for members of groups. Sample of LDAP Structure:
Group:
We managed to authenticate successfully but we cannot manage to have the list of groups for that user.
Dex log output:
We tried to use the "usual" configuration but due to the our corporate restriction, it seems to timeout
Dex log output:
Could you please advise ? Regards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After numerous attempt, I managed to have a working configuration where Dex will get the list of group correctly using configuration:
Here the clever part is to lead Dex to test each group the user is part of and have a 1..1 mapping as it result in a LDAP search group query leading to only checking for group existence. It will then result in N ldap search group query (which are fast as querying group by primary identifier) where N is the number of group the user is a member. Log output is then
Hope this helps |
Beta Was this translation helpful? Give feedback.
After numerous attempt, I managed to have a working configuration where Dex will get the list of group correctly using configuration:
Here the clever part is to lead Dex to test each group the user is part of and have a 1..1 mapping as it result in a LDAP search group query leading to only checking for group existence.
It will then result in N ldap search group query (which are fast as querying group by primary identifier) where N is the number of group the user is a member.
Log output is then