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

user info returned by LDAPClient.Authenticate should be a map[string][]string #20

Open
ghost opened this issue Jun 12, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 12, 2019

LDAPClient.Authenticate returns a map[string]string to describe user, however, items in ldap result attributes may contains more items, not just a string value.

In my case, I need all "memberOf" items of one user, but now I only got the first "memberOf" item.

So the user info returned by LDAPClient.Authenticate should be a map[string][]string to store all information.

I will commit some codes to fix it.

@ghost ghost changed the title user info returned by LDAPClient.Authenticate should be an map[string]interface{} user info returned by LDAPClient.Authenticate should be a map[string]interface{} Jun 12, 2019
@ghost ghost changed the title user info returned by LDAPClient.Authenticate should be a map[string]interface{} user info returned by LDAPClient.Authenticate should be a map[string][]string Jun 12, 2019
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

0 participants