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

list instead of string when LDAP user have multiple mail address entries #62

Closed
Wurzelmann opened this issue Nov 8, 2024 · 1 comment

Comments

@Wurzelmann
Copy link
Contributor

We encountered a problem with users with multiple mail address entries, the LDAP server's response became a list instead of a string and did not work.

The following little patch to services/web/app/src/Features/Contacts/ContactController.js fixed this:

the line

entry['email'] = obj['mail']

should be:

entry['email'] = obj['uid'] + '@example.com'

This filters the results and works for us.

@yzx9
Copy link
Collaborator

yzx9 commented Nov 9, 2024

Thank you for your solution. I’ll close this issue as it’s a duplicate of #22. Further discussions can be continued there.

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