Skip to content

Conversation

@TheOignon
Copy link
Contributor

@TheOignon TheOignon commented Oct 17, 2024

Closes #34042

On Active Directory, allow to retrieve more groups than the MaxPageSize (default to 1000). Without this patch, we need to increase the MaxPageSize which does not really scale. Implemented only for the LoadRolesByMember startegy.

@TheOignon TheOignon requested a review from a team as a code owner October 17, 2024 12:12
@TheOignon TheOignon force-pushed the fix_pagination_get_ldap_role_mappings branch 2 times, most recently from cf331f8 to a276b57 Compare October 17, 2024 13:56
@TheOignon TheOignon force-pushed the fix_pagination_get_ldap_role_mappings branch 3 times, most recently from e38c218 to 5f51299 Compare October 22, 2024 10:55
@sguilhen
Copy link
Contributor

@ahus1 @pedroigor Can any of you please trigger the CI for this one?

@ahus1 ahus1 force-pushed the fix_pagination_get_ldap_role_mappings branch from 5f51299 to 6f7f8ff Compare October 22, 2024 19:21
@TheOignon TheOignon force-pushed the fix_pagination_get_ldap_role_mappings branch from 6f7f8ff to 1b8fbd2 Compare October 23, 2024 21:42
@TheOignon
Copy link
Contributor Author

@sguilhen think we can also restart a pipeline now. Tested fully it manually for all the build steps so maybe mature enough to attempt a rebuild.

@sguilhen
Copy link
Contributor

@TheOignon You don't have to run all of those manually, that's too much trouble :)

@ahus1 @pedroigor Would you mind re-running the CI for this one?

@pedroigor pedroigor force-pushed the fix_pagination_get_ldap_role_mappings branch from 1b8fbd2 to 92a84b6 Compare October 28, 2024 12:15
@pedroigor pedroigor enabled auto-merge (rebase) October 28, 2024 12:16
@pedroigor pedroigor disabled auto-merge October 28, 2024 12:16
@sguilhen
Copy link
Contributor

@pedroigor failure doesn't seem related - need to re-run the windows dist test

On Active Directory, allow to retrieve more groups than the MaxPageSize
(default to 1000). Without this patch, we need to increase the
MaxPageSize which does not really scale. Implemented only for the
LoadRolesByMember startegy.

Closes keycloak#34042

Signed-off-by: Alexi Vandevoorde <[email protected]>
@pedroigor pedroigor force-pushed the fix_pagination_get_ldap_role_mappings branch from 92a84b6 to 5d85e34 Compare October 28, 2024 18:47
@pedroigor pedroigor merged commit 0d07342 into keycloak:main Oct 28, 2024
pedroigor pushed a commit to pedroigor/keycloak that referenced this pull request Oct 28, 2024
* Implement pagination for getLDAPRoleMappings

On Active Directory, allow to retrieve more groups than the MaxPageSize
(default to 1000). Without this patch, we need to increase the
MaxPageSize which does not really scale. Implemented only for the
LoadRolesByMember startegy.

Closes keycloak#34042

Signed-off-by: Alexi Vandevoorde <[email protected]>
pedroigor added a commit that referenced this pull request Oct 29, 2024
* Implement pagination for getLDAPRoleMappings

On Active Directory, allow to retrieve more groups than the MaxPageSize
(default to 1000). Without this patch, we need to increase the
MaxPageSize which does not really scale. Implemented only for the
LoadRolesByMember startegy.

Closes #34042

Signed-off-by: Alexi Vandevoorde <[email protected]>
Co-authored-by: Alexi Vandevoorde <[email protected]>
@edewit edewit mentioned this pull request Nov 19, 2024
@edewit edewit mentioned this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LDAP Pagination not working for role membership in GET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTE strategy

3 participants