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
LDAP attribute name for email addresses should be configurable #2826
Comments
Any ideas how to use Graylog email alerts if the email attribute is called "finalMailAddress" instead of "mail"? Is it possible to change this manually in the code? |
@Binford3000 You could change it in graylog2-server/graylog2-server/src/main/java/org/graylog2/shared/security/ldap/LdapEntry.java Lines 72 to 78 in 9f2c6ef
|
@joschi Ok, thank you for your help! But I have no idea where to change it. I am not a developer. Thought it would be somewhere in a plain text file. I think I cannot change this in my running installations, right? |
Correct, you would have to build Graylog yourself for this change. |
Any news on this topic? We still cannot use email notification because all users have @localhost as email domain. Current Version 2.4.5. |
In 2.4.6 the behavior is still the same. If you want to send email alerts you must select local accounts as 'user receivers' or set some hard-coded 'e-mail receivers' in the alert configuration. |
Any news on this? |
Expected Behavior
The email addresses in our LDAP are not stored in the standard field "mail". So my users will have not the correct addresses in their profiles. It would be great to set the name of the mail attribute in the LDAP config like it is working for the display name.
Current Behavior
Mail addresses must be in the "mail" attribute.
Possible Solution
Make the attribute name a configurable parameter.
Your Environment
The text was updated successfully, but these errors were encountered: