Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Claims augmentation nested groups depth #224

Open
ChristophHannappel opened this issue Aug 7, 2024 · 2 comments
Open

Claims augmentation nested groups depth #224

ChristophHannappel opened this issue Aug 7, 2024 · 2 comments
Assignees
Labels

Comments

@ChristophHannappel
Copy link

Hello,

is there a way do configure how deep LDAPCPSE follows nested groups when doing the claims augmention?
I ran a test with the following result:

Groupname Member Augmentation Works
Nested-0 UserA
Nested-1 Nested-0
Nested-2 Nested-1
Nested-3 Nested-2
Nested-4 Nested-3

Thank you very much.

@Yvand
Copy link
Owner

Yvand commented Aug 8, 2024

Hello @ChristophHannappel, the depth cannot be configured but it should not be limited.
But the current test scenario tests only 1 nested level, so there may be a bug/limitation I missed.

To understand your scenario, can you send me the output of this script:

Add-Type -AssemblyName "Yvand.LDAPCPSE, Version=1.0.0.0, Culture=neutral, PublicKeyToken=80be731bc1a1a740"
$config = [Yvand.LdapClaimsProvider.LDAPCPSE]::GetConfiguration()
$config.Settings.LdapConnections | fl EnableAugmentation, GetGroupMembershipUsingDotNetHelpers

@Yvand Yvand self-assigned this Aug 8, 2024
@Yvand Yvand added the Issue label Aug 8, 2024
@ChristophHannappel
Copy link
Author

Hello @Yvand, as requested the output of the script:

Add-Type -AssemblyName "Yvand.LDAPCPSE, Version=1.0.0.0, Culture=neutral, PublicKeyToken=80be731bc1a1a740"
$config = [Yvand.LdapClaimsProvider.LDAPCPSE]::GetConfiguration()
$config.Settings.LdapConnections | fl EnableAugmentation, GetGroupMembershipUsingDotNetHelpers


EnableAugmentation                   : True
GetGroupMembershipUsingDotNetHelpers : True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants