LDAP: How to aggregate & transform LDAP fields?

Hi,

I got my LDAP cofiguration working. Now I am struggling with the assignment of LDAP fields to xWiki Profile fields.
Some are straight forward. Some (like about) just dont seem to work.

Is there a list of the name of the profile fields in xwiki?

How can I concat several fields into one xWiki Field? e.g. the Address field is one field in xWiki but several in my LDAP.

Can I do transformations on the LDAP fields e.g. upper or lower-case or substring?
For some reason my LDAp shows first and lastname as uppercase letters.

It’s not supported in fields_mapping right now but I guess we could add support for the syntax used in userPageName property for example. Would be great if you coud create a new feature issue on https://jira.xwiki.org/browse/LDAP.

I updated https://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/#HGenericLDAPconfiguration with it the list of some important fields. You can find the complete list on XWiki.XWikiUsers page (https://mywiki/xwiki/bin/view/XWiki/XWikiUsers).

1 Like

Thanks a lot for the fast reply and the detailed description. :+1:

I created an issue here: https://jira.xwiki.org/browse/LDAP-99