Additional property for group on LDAP sync
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2016 01:28 PM
Hi,
I would like to sync an additional property for group coming from LDAP AD. Bsically, Alfresco group have only one attribute (displayname) that we could sync to LDAP. I would like to have group's description has an additional attribute to sync with the group name.
Using this API: http://vwssialfdev.fadq.qc:8080/alfresco/service/api/groups?shortNameFilter=GGS-SEC-ALF_DRI
Give me this:
"authorityType": "GROUP",
"shortName": "GGS-SEC-ALF_DRI",
"fullName": "GROUP_GGS-SEC-ALF_DRI",
"displayName": "GGS-SEC-ALF_DRI",
"url": "/api/groups/GGS-SEC-ALF_DRI"
Could it be possible to add the description in the answer?
How come i would do this?
Thanks
Marc
I would like to sync an additional property for group coming from LDAP AD. Bsically, Alfresco group have only one attribute (displayname) that we could sync to LDAP. I would like to have group's description has an additional attribute to sync with the group name.
Using this API: http://vwssialfdev.fadq.qc:8080/alfresco/service/api/groups?shortNameFilter=GGS-SEC-ALF_DRI
Give me this:
"authorityType": "GROUP",
"shortName": "GGS-SEC-ALF_DRI",
"fullName": "GROUP_GGS-SEC-ALF_DRI",
"displayName": "GGS-SEC-ALF_DRI",
"url": "/api/groups/GGS-SEC-ALF_DRI"
Could it be possible to add the description in the answer?
How come i would do this?
Thanks
Marc
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2016 09:55 AM
You can change how properties from LDAP are mapped to Alfresco's objects.
In the file bellow you will find the default parameters
https://github.com/Alfresco/community-edition/blob/master/projects/repository/config/alfresco/subsys...
As an example, you can change the link bellow to map to a different attribute coming from LDAP
# The attribute on person objects in LDAP to map to the organizational id property in Alfresco
ldap.synchronization.userOrganizationalIdAttributeName=company
All you have to do is to copy the lines you want to change into alfresco-global.properties and change them the way you need.
In the file bellow you will find the default parameters
https://github.com/Alfresco/community-edition/blob/master/projects/repository/config/alfresco/subsys...
As an example, you can change the link bellow to map to a different attribute coming from LDAP
# The attribute on person objects in LDAP to map to the organizational id property in Alfresco
ldap.synchronization.userOrganizationalIdAttributeName=company
All you have to do is to copy the lines you want to change into alfresco-global.properties and change them the way you need.