Skip to content

Conversation

@adobeDan
Copy link
Contributor

This changes the LDAP connector functionality to actually query for the members of each group, rather than trying to deduce them from the group membership attributes.

As corollary, this also fixes #129, because we no longer need to read the entire directory in order to make sure we've seen every member of every group. Since we are querying for the groups directly, we don't have to read the whole directly unless we are directed to.

This changes the LDAP connector functionality to actually query for the members of each group, rather than trying to deduce them from the group membership attributes.

As corollary, this also fixes #129, because we no longer need to read the entire directory in order to make sure we've seen every member of every group.  Since we are querying for the groups directly, we don't have to read the whole directly unless we are directed to.
@adobeDan adobeDan requested review from dyue and phil-levy June 15, 2017 06:20
Copy link
Contributor

@phil-levy phil-levy left a comment

Choose a reason for hiding this comment

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

Looks okay

While I was in there, I also inserted a catch for keyboard interrupts, so they don't produce a stack trace.
@adobeDan adobeDan merged commit 996cf3d into v2 Jun 16, 2017
@adobeDan adobeDan deleted the issue182 branch June 16, 2017 05:39
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.

don't read entire directory on --users mapped and --users group "..."

3 participants