Skip to content

LDAP connector - add emailSuffix config option#1380

Merged
srenatus merged 1 commit into
dexidp:masterfrom
dkess:emailsuffix
Jan 9, 2019
Merged

LDAP connector - add emailSuffix config option#1380
srenatus merged 1 commit into
dexidp:masterfrom
dkess:emailsuffix

Conversation

@dkess
Copy link
Copy Markdown
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
Copy Markdown
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 👇

Comment thread connector/ldap/ldap_test.go Outdated
Comment thread connector/ldap/ldap_test.go Outdated
Comment thread connector/ldap/ldap.go Outdated
@dkess
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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