cancel
Showing results for 
Search instead for 
Did you mean: 

Additional property for group on LDAP sync

nadeaumr
Confirmed Champ
Confirmed Champ
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
1 REPLY 1

douglascrp
World-Class Innovator
World-Class Innovator
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.