Active Directory Sync Attributes
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2014 03:46 AM
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
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
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2014 08:28 AM
Yes.
You will need to over-ride via spring the "personAttributeMapping" property of the "userRegistry" bean.
You will need to over-ride via spring the "personAttributeMapping" property of the "userRegistry" bean.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2014 11:07 AM
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="cm
rganizationId">
<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.
——————————-
<entry key="cm

<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.
