cancel
Showing results for 
Search instead for 
Did you mean: 

Active Directory Sync Attributes

kavilash23
Champ on-the-rise
Champ on-the-rise
Hi Guys,

Is it possible to sync other user attributes (besides firstname, lastname, email)such department, phone …etc when doing a sync between alfresco and active directory?

If yes please point out the required configs.

Kind Regards,

Kavi
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Yes.

You will need to over-ride via spring the "personAttributeMapping" property of the "userRegistry" bean.

dargx
Champ in-the-making
Champ in-the-making
This is part of the common-ldap-context.xml file where I put the modification you suggest to sync User phone from Active Directory.

——————————-
<entry key="cmSmiley SurprisedrganizationId">
<value>${ldap.synchronization.userOrganizationalIdAttributeName}</value>
</entry>
<entry key="cm:homeFolderProvider">
<null/>
</entry>
<entry key="cm:mobile">
<value>${ldap.synchronization.userMobileAttributeName}</value>
</entry>
<entry key="cm:telephone">
<value>telephoneNumber</value>
</entry>
</map>

——————————-


After restarting Alfresco no changes happen, no sync is made. BTW AD auth is running fine.
I've searching for solutions for 3 days without success. No phone or mobile are shown in the User Profile. I'm simply answering this posts because is the newest.

Thanks in advance.