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

get_ldap_param return multiple attributes #228

Open
chevinbrown opened this issue Sep 7, 2016 · 1 comment
Open

get_ldap_param return multiple attributes #228

chevinbrown opened this issue Sep 7, 2016 · 1 comment

Comments

@chevinbrown
Copy link
Contributor

I'm trying to monkey patch the LdapConnect class to return multiple attributes, given the param is an array, but not making headway. I've looked over issue 69, and this tutorial...but not making headway.

My overall goal is to extend this library to do some easy LDAP querying (search by name, mail, cn) and return an array of attributes for an auto-suggest field (outside the devise auth scope)...

Any advice or guidance?

@dgleba
Copy link

dgleba commented Sep 7, 2016

I realize that I am about to give you a non ruby idea, but here is what I had good luck with.

https://www.exchangecore.com/blog/how-use-ldap-active-directory-authentication-php/

I just dropped this on my server and tweaked it for my server and run it. Enter my username and password and get a ton of info about my account.

I was setting up LDAP login at my location, and this tool helped alot.

I hope my answer doesn't discourage others from answering.

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

No branches or pull requests

2 participants