Skip to content

Conversation

Fmstrat
Copy link

@Fmstrat Fmstrat commented May 25, 2023

This PR adds a listener for event changes beyond just display name and email to cover off on contact fields. It leverages the GenericEvent response on the OC\AccountManager::userUpdated to map event arguments to LDAP/AD fields.

Event argument LDAP/AD field
phone telephoneNumber
address l
website wWWHomePage
organisation department
role title
biography description

I have tested this fairly extensively against a Samba 4 AD/LDAP setup.

If time permits I will be looking into the LDAP backend for querying this data on first user pull as well.

@come-nc
Copy link
Collaborator

come-nc commented Dec 18, 2023

This would require a configuration system for mapped fields, otherwise it is too specific to your setup.
Also GenericEvent but maybe core does not offer anything else for this, I did not check.

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

Successfully merging this pull request may close these issues.

2 participants