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

Add support for full contact info #581

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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