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

Finish LDAP implementation #470

Merged
merged 3 commits into from
Oct 15, 2014
Merged

Conversation

marek-obuchowicz
Copy link

Seems that LDAP implementation was not really "not tested", but "not finished". As it was needed pretty much in one of our projects - here comes the implementation. Have been tested with OpenLDAP server and works pretty fine, also in production.

bnoguchi added a commit that referenced this pull request Oct 15, 2014
@bnoguchi bnoguchi merged commit 8b5b482 into bnoguchi:master Oct 15, 2014
@bnoguchi
Copy link
Owner

@marek-obuchowicz Thanks!

@aaroncalderon
Copy link

aaroncalderon commented May 19, 2016

@marek-obuchowicz Thanks also, however, you make the assumption that result.uid will match the login on ldap.js#L39. that is not the case in all Active Directory deployments (like in my case). So I'm trying to figure out how to address this.

Any ideas?

Update

So, since you have provided the template for how to implement the LDAP, i had to override your methods to be able to keep the backwards compatibility (to be able to upgrade everyauth) and still be able to authenticate with my organization's implementation of AD.

Thanks

P.S.

Did you had the chance to implement the .findOrCreateUser() method?

@marek-obuchowicz
Copy link
Author

great, htnaks for the input... if this is common case for AD (i don't have access at the moment to any), let me know how you have handled that

@aaroncalderon
Copy link

aaroncalderon commented May 24, 2016

@marek-obuchowicz I submitted an issue #482 and pull request #483 about this. Along with some documentation on the README.md, even though it was mostly copy and paste from the original.

Unless you think is a better idea to merge my ldapfork and ldap.

Any feedback is appreciated.

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.

3 participants