AnsweredAssumed Answered

user's photo from AD to Alfresco

Question asked by javajunior on Apr 1, 2019

Hello.

I synchronize user settings from AD, but there is no direct way to transfer photos.
We have: photo in user settings in AD
matching parameters in common-ldap-context.xml

<entry key="cm:firstName">
      <value>${ldap.synchronization.userLastNameAttributeName}</value>
</entry>
<entry key="cm:lastName">
      <value>${ldap.synchronization.userFirstNameAttributeName}</value>
</entry>
<entry key="cm:telephone">
      <value>telephoneNumber</value>
</entry>
<entry key="cm:mobile">
      <value>mobile</value>
</entry>
<entry key="cm:jobtitle">
      <value>${ldap.synchronization.userJobTitleAttributeName}</value>
</entry>

 where (from ldap-ad-authentication.properties file)

ldap.synchronization.userFirstNameAttributeName=givenName
ldap.synchronization.userLastNameAttributeName=sn
ldap.synchronization.userJobTitleAttributeName=title


but record

<entry key="cm:avatar">
      <value>${ldap.synchronization.userAvatarAttributeName}</value>
</entry>

where (ldap-ad-authentication.properties file)

ldap.synchronization.userAvatarAttributeName=thumbnailPhoto

does not work.


Maybe there is some solution to this issue?
Help me please.

Outcomes