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

LDAP connector - add emailSuffix config option #1380

Merged
merged 1 commit into from
Jan 9, 2019

Conversation

dkess
Copy link
Contributor

@dkess dkess commented Jan 7, 2019

In my organization, we don't have an LDAP mail attribute because email addresses are always based on username. This PR adds an emailSuffix option for this use case, where an email domain can be specified in place of a mail attribute.

Copy link
Contributor

@srenatus srenatus left a comment

Choose a reason for hiding this comment

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

🎉 🎈 Nice work, thank you for the contribution. Just some nitpick, please see the inline comments 👇

connector/ldap/ldap_test.go Show resolved Hide resolved
connector/ldap/ldap_test.go Outdated Show resolved Hide resolved
connector/ldap/ldap.go Outdated Show resolved Hide resolved
@dkess
Copy link
Contributor Author

dkess commented Jan 7, 2019

Thanks for the feedback! I believe I've addressed all the comments, let me know if anything else is necessary.

Copy link
Contributor

@srenatus srenatus left a comment

Choose a reason for hiding this comment

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

Thanks for bearing with me on the style fixes. This is good to go --would you mind squashing the commits? 😃

@dkess
Copy link
Contributor Author

dkess commented Jan 9, 2019

Done!

@srenatus srenatus merged commit 2d1ac74 into dexidp:master Jan 9, 2019
@dkess dkess deleted the emailsuffix branch January 9, 2019 07:17
mmrath pushed a commit to mmrath/dex that referenced this pull request Sep 2, 2019
LDAP connector - add emailSuffix config option
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