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

Directory group error handling plus #347

Merged
merged 8 commits into from
Apr 3, 2024

Conversation

lbwexler
Copy link
Member

@lbwexler lbwexler commented Apr 3, 2024

Still need to test this, but looking or feedback. This AMs report at client highlights the importance of this.

}

List<LdapPerson> lookupGroupMembers(String dn) {
// See class-level comment regarding this AD-specific query
searchMany("(|(member0f=$dn) (memberOf:1.2.840.113556.1.4.1941:=$dn))", LdapPerson)
lookupGroupInternal(dn, true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be lookupGroupMembersInternal?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, thank you

@ghsolomon
Copy link
Contributor

Other than the comment re: LdapService.lookupGroupMembers, this looks good to me in that it will allow an app to get whatever users for directory groups are available upon first load, even if some LDAP servers are offline.

@lbwexler
Copy link
Member Author

lbwexler commented Apr 3, 2024

Cr: Greg

@lbwexler lbwexler marked this pull request as ready for review April 3, 2024 19:44
@lbwexler lbwexler merged commit 5843650 into develop Apr 3, 2024
5 checks passed
@lbwexler lbwexler deleted the directoryGroupErrorHandlingPlus branch April 3, 2024 19:45
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.

2 participants