-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Augmented AD ldap sync #5086
Augmented AD ldap sync #5086
Conversation
84b6339
to
871a5a7
Compare
Tests added. This is ready for review. |
ClientConfig *ldaputil.LDAPClientConfig | ||
Config *api.AugmentedActiveDirectoryConfig | ||
|
||
enhancedADLDAPInterface *ad.EnhancedADLDAPInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enhanced or augmented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enhanced or augmented?
augmented
Looks reasonable |
@@ -63,7 +63,7 @@ func (s *LDAPGroupSyncer) Sync() ([]*userapi.Group, []error) { | |||
// get membership data | |||
memberEntries, err := s.GroupMemberExtractor.ExtractMembers(ldapGroupUID) | |||
if err != nil { | |||
fmt.Fprintf(s.Err, "Error determining LDAP group membership for %q: %v. Continuing with the next LDAP group.", ldapGroupUID, err) | |||
fmt.Fprintf(s.Err, "Error determining LDAP group membership for %q: %v. Continuing with the next LDAP group.\n", ldapGroupUID, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kill ". Continuing with the next LDAP group." globally, I think... there may not be a next group... you'll see status on the next group when it prints
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kill ". Continuing with the next LDAP group." globally, I think... there may not be a next group... you'll see status on the next group when it prints
done.
aa31a91
to
090e7bd
Compare
[test][extended:authentication] |
LGTM now. |
LGTM |
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/5720/) |
[merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/3599/) (Image: devenv-fedora_2464) |
infrastructure [merge] |
Evaluated for origin merge up to 115cc5d |
Evaluated for origin test up to 115cc5d |
Merged by openshift-bot
Adds support for the augmented AD with first-class users, first-class groups, membership on the users, metadata on the groups.
@stevekuznetsov