<?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 SOLVED LDAP sync - reset user fields to first time value in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-ldap-sync-reset-user-fields-to-first-time-value/m-p/300963#M254093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alfresco 4.2.1 EE (without support yet, just for test)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ubuntu 12.04.4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By use the example in alfresco docs: «Example: authentication and synchronization with one ldap-ad subsystem» , I have setup ldap sync in the following manner:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco-global.properties:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;### authentication ###&lt;BR /&gt;authentication.chain=kerberos1:kerberos,ldap1:ldap-ad&lt;BR /&gt;&lt;BR /&gt;### LDAP ###&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.active=false&lt;BR /&gt;ldap.authentication.userNameFormat=%s@avtor.ru&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://smb&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=Administrator,alfresco&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=reader@avtor.ru&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=Jlyfljlktnjv44&lt;BR /&gt;ldap.synchronization.userSearchBase=CN=Users,DC=avtor,DC=ru&lt;BR /&gt;ldap.synchronization.groupSearchBase=CN=Users,DC=avtor,DC=ru&lt;BR /&gt;&lt;BR /&gt;### CRON ###&lt;BR /&gt;synchronization.import.cron=1 */5 * * * ? *&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that I have some protected fields in a user profile. For example an e-mail field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, my problem step by step:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;1. Create a user in a LDAP-ad: chapaev , Vasiliy Chapaev , email: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:chapaev@yandex.ru" rel="nofollow noopener noreferrer"&gt;chapaev@yandex.ru&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Login with the user in alfresco, enter to it's profile and see the protected fields with correct e-mail and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;For example: field with e-mail has address: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:chapaev@yandex.ru" rel="nofollow noopener noreferrer"&gt;chapaev@yandex.ru&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;3. After that I change his e-mail in LDAP-ad console (for example): change FROM &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:chapaev@yandex.ru" rel="nofollow noopener noreferrer"&gt;chapaev@yandex.ru&lt;/A&gt;&lt;SPAN&gt; TO &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:chapaeff@mail.com" rel="nofollow noopener noreferrer"&gt;chapaeff@mail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;4. After some minutes (just see my cron settings), I see a new value in e-mail field. It looks like this: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:chapaeff@mail.com" rel="nofollow noopener noreferrer"&gt;chapaeff@mail.com&lt;/A&gt;&lt;SPAN&gt; - It's OK!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. I want to setup any other info in a user profile use UNPROTECTED fields: for example setup an user avatar, or setup a mobile phone. - For example, enter a mobile phone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After save changes I see the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I see my mobile phone and OLD value in protected e-mail field! In my case I see: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:chapaev@yandex.ru" rel="nofollow noopener noreferrer"&gt;chapaev@yandex.ru&lt;/A&gt;&lt;SPAN&gt; again… But LDAP has NEW value &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:chapaeff@mail.com" rel="nofollow noopener noreferrer"&gt;chapaeff@mail.com&lt;/A&gt;&lt;SPAN&gt;! &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The mail field has an old value until I change LDAP-ad entry time stamp for a new full sync of entry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think alfresco has a cache with first time value. It's bad.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you help me with it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2014 07:06:29 GMT</pubDate>
    <dc:creator>avtor</dc:creator>
    <dc:date>2014-05-20T07:06:29Z</dc:date>
    <item>
      <title>SOLVED LDAP sync - reset user fields to first time value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-ldap-sync-reset-user-fields-to-first-time-value/m-p/300963#M254093</link>
      <description>Hi all!We have the following:&amp;nbsp;&amp;nbsp;&amp;nbsp; alfresco 4.2.1 EE (without support yet, just for test)&amp;nbsp;&amp;nbsp;&amp;nbsp; Ubuntu 12.04.4By use the example in alfresco docs: «Example: authentication and synchronization with one ldap-ad subsystem» , I have setup ldap sync in the following manner:alfresco-global.properties:### authe</description>
      <pubDate>Tue, 20 May 2014 07:06:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-ldap-sync-reset-user-fields-to-first-time-value/m-p/300963#M254093</guid>
      <dc:creator>avtor</dc:creator>
      <dc:date>2014-05-20T07:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: SOLVED LDAP sync - reset user fields to first time value</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-ldap-sync-reset-user-fields-to-first-time-value/m-p/300964#M254094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to logout a user before fullsync from LDAP to alfresco because alfresco share has a cache with user data. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 09:07:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-ldap-sync-reset-user-fields-to-first-time-value/m-p/300964#M254094</guid>
      <dc:creator>avtor</dc:creator>
      <dc:date>2014-05-30T09:07:45Z</dc:date>
    </item>
  </channel>
</rss>

