<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to configure Alfresco to show user's logon name property from active directory? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-configure-alfresco-to-show-user-s-logon-name-property/m-p/23378#M10217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone! I've been working with an ECM/BPM platform as System Administrator as well as a developer. I'm new to Alfresco as well as to Alfresco Community.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before anything else. Congratulations for everyone at Alfresco and Alfresco Community, Alfresco is really an amazing software and I humbly hope that soon I can contribute so it's get better and better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've recently installed a testing server to understand the whole concepts of Alfresco and get to know how it works and it's features and maybe start a plan to migrate from my actual ECM/BPM solution to Alfresco/Activiti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could&amp;nbsp;perfectly install and configure Alfresco and syncing to our Active Directory with no problem. Everything is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our Active Directory doesn't have the "username" property set, here we use only the "logon_name" instead. Seems that Alfresco checks for the "username" to show who has creates, updates o deletes contents at Alfresco Share, so, when I track a history for any type of content, the information of whom has been the responsible for that history, it's shown "&lt;A href="http://ecmtest:8080/share/page/user/12625/profile" style="color: #333333; background-color: #ffffff; text-decoration: none;" rel="nofollow noopener noreferrer"&gt;undefined undefined&lt;/A&gt;". Like: "&lt;A href="http://ecmtest:8080/share/page/user/12625/profile" style="color: #333333; background-color: #ffffff; text-decoration: none;" rel="nofollow noopener noreferrer"&gt;undefined undefined&lt;/A&gt;&amp;nbsp;has viewed this document".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway I can change so Alfresco looks for the "logon_name" Active Directory property?&lt;/P&gt;&lt;P&gt;Case I didn't make myself clear, the login and authentication to active directory is working fine, as well as a user search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards you all, and once again... amazing product!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Oct 2017 13:09:08 GMT</pubDate>
    <dc:creator>wandss</dc:creator>
    <dc:date>2017-10-06T13:09:08Z</dc:date>
    <item>
      <title>How to configure Alfresco to show user's logon name property from active directory?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-configure-alfresco-to-show-user-s-logon-name-property/m-p/23378#M10217</link>
      <description>Hello everyone! I've been working with an ECM/BPM platform as System Administrator as well as a developer. I'm new to Alfresco as well as to Alfresco Community.&amp;nbsp;Before anything else. Congratulations for everyone at Alfresco and Alfresco Community, Alfresco is really an amazing software and I humbly</description>
      <pubDate>Fri, 06 Oct 2017 13:09:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-configure-alfresco-to-show-user-s-logon-name-property/m-p/23378#M10217</guid>
      <dc:creator>wandss</dc:creator>
      <dc:date>2017-10-06T13:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Alfresco to show user's logon name property from active directory?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-configure-alfresco-to-show-user-s-logon-name-property/m-p/23379#M10218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can alter any of the default mappings between LDAP/AD and Alfresco via the configuration properties. E.g. for the user name you have&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;as default when using AD, which you could change. Though I would be surprsed if your AD isn't using that sAMAccountName property for the actual login name. If users can login just fine, I would say that part is working fine. What looks like not working at all is the first / last name synchronisation, which is why users are shown as "undefined undefined" (Alfresco code doesn't really expect these properties to have no value at all, and client code will just concatenate even non-values). So you might want to check&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;BR /&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 17:44:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-configure-alfresco-to-show-user-s-logon-name-property/m-p/23379#M10218</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-10-06T17:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Alfresco to show user's logon name property from active directory?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-configure-alfresco-to-show-user-s-logon-name-property/m-p/23380#M10219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mr.&amp;nbsp;&lt;B&gt;Axel Faust&lt;/B&gt;‌, thanks for the help!&lt;/P&gt;&lt;P&gt;The problem for sure isn't with Alfresco. You got it right, is my AD&amp;nbsp;that&amp;nbsp;has empty values for first/last name fields&lt;/P&gt;&lt;P&gt;So, if I correctly understood, I can switch between AD properties in the alfresco-global.properties and instead of using:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.syncronization.userFirstNameAttributeName=givenName&lt;BR /&gt;‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could use:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.syncronization.userFirstNameAtributeName=displayName‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to conclude, after changing this, It didn't affect the already synchronized LDAP/AD accounts, so I had to "force" a new synchronization.&lt;/P&gt;&lt;P&gt;That's a lot of information and documentation all over Alfresco community about this, but I'll enforce here what I've done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside alfresco-global.properties file I've included:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;synchronization.syncOnStartup=true&lt;BR /&gt;synchronization.synchronizeChangesOnly=false&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and then restarted alfresco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checking the alfresco.log file, I saw that the whole user base from LDAP/AD has been synchronized hence, after checking at Alfresco's&amp;nbsp;share that everything worked, I commented the above lines to let Alfresco works as it standard way and synchronize only the updates from LDAP/AD, and do this in it's own schedule dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 19:12:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-configure-alfresco-to-show-user-s-logon-name-property/m-p/23380#M10219</guid>
      <dc:creator>wandss</dc:creator>
      <dc:date>2017-10-06T19:12:39Z</dc:date>
    </item>
  </channel>
</rss>

