I need to figure out if this is already possible and is a simple change in the configuration somewhere or if it is a feature request.
I would like Mattermost AD/LDAP synchronization to pick up changes in mail attribute, and sync that with the “email” and “authdata” attributes in Mattermost.
Steps to reproduce
AD account, which is backing a Mattermost user, has the “mail” attribute changed.
The “email” and “authdata” fields are synced with the AD account and the user experiences no issue.
The user gets an error something like “account with that username already exists. Please contact your Administrator”.
This is because the “authdata” and “email” fields are now out of sync with the AD account.
At the moment, we correct this by manually updating the columns for that user in the database.