<?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 Re: Differential sync and full sync between AD and Alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233704#M186834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would seem that it is possible to force connection to a single domain controller every time, e.g. LDAP://&lt;/SPAN&gt;&lt;A href="http://somedc.domain.com/RootDSE" rel="nofollow noopener noreferrer"&gt;somedc.domain.com/RootDSE&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.adsi.general&amp;amp;mid=2f866a91-8613-4b01-a6be-e8efff11f4d1" rel="nofollow noopener noreferrer"&gt;http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.adsi.general&amp;amp;mid=2f866a91-8613-4b01-a6be-e8efff11f4d1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will be necessary to enable differential sync, given that whenChanged/modifyTimestamp/uSNChanged are not replicated. Microsoft have acknowledged this limitation. See&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms677627(VS.85).aspx" rel="nofollow noopener noreferrer"&gt;http://msdn.microsoft.com/en-us/library/ms677627(VS.85).aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2010 11:34:12 GMT</pubDate>
    <dc:creator>dward</dc:creator>
    <dc:date>2010-02-02T11:34:12Z</dc:date>
    <item>
      <title>Differential sync and full sync between AD and Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233699#M186829</link>
      <description>I have spent a fair amount of time configuring a new alfresco install (community edition 3.2r2) and have run into some issues which I can't seem to get past. I am no LDAP expert so please hang in with me as I try to fumble my way through this.We have multiple domain controllers in our environment (a</description>
      <pubDate>Sun, 24 Jan 2010 04:29:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233699#M186829</guid>
      <dc:creator>erinn</dc:creator>
      <dc:date>2010-01-24T04:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Differential sync and full sync between AD and Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233700#M186830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem… The first synchro get all my users (members of my AD group "GRP_ALFRSCO").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I upgrade the group and reboot alfresco, the log is :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…0 user(s) and 0 group(s) processed…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to install the alfresco.war version 3.3DEV but the problem still…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you find the solution … I take !! lol&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 10:07:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233700#M186830</guid>
      <dc:creator>sergio1024</dc:creator>
      <dc:date>2010-01-25T10:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Differential sync and full sync between AD and Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233701#M186831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you start / restart Alfresco, it always does a differential sync (unless it is the first startup).This is because doing a full sync every time would take too long to start Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's only the sync triggered by the CRON expression that's affected by the synchronization.synchronizeChangesOnly flag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can't rely on timestamps, I would recommend that you configure the differential queries to be identical to the non-differential queries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See this page for Quartz cron syntax&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson06.html" rel="nofollow noopener noreferrer"&gt;http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson06.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2010 18:01:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233701#M186831</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2010-01-25T18:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Differential sync and full sync between AD and Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233702#M186832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Dward,&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem as guys describe - using Windows Server 2008 R2 and Alfresco 3.2. Tried various ways but still does not work as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you say "If you can't rely on timestamps" does it mean that Alfresco may fail to get the date/time values from AD? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed that by default for AD LDAP configuration in Alfresco one of the settings is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;# The name of the operational attribute recording the last update time for a group or user.&lt;BR /&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;but in AD the change attribute is called "whenChanged". So should I use whenChanged instead of modifyTimestamp?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also - could somebody tell me for which exact purpose it is recommended to grant "Read all inetOrgPerson information" permission to a bind account - this is what is stated here: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Active_Directory_Tips" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Active_Directory_Tips&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2010 13:02:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233702#M186832</guid>
      <dc:creator>mkalyta</dc:creator>
      <dc:date>2010-01-26T13:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Differential sync and full sync between AD and Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233703#M186833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When you start / restart Alfresco, it always does a differential sync (unless it is the first startup).This is because doing a full sync every time would take too long to start Alfresco.&lt;BR /&gt;&lt;BR /&gt;It's only the sync triggered by the CRON expression that's affected by the synchronization.synchronizeChangesOnly flag.&lt;BR /&gt;&lt;BR /&gt;If you can't rely on timestamps, I would recommend that you configure the differential queries to be identical to the non-differential queries.&lt;BR /&gt;&lt;BR /&gt;See this page for Quartz cron syntax&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson06.html" rel="nofollow noopener noreferrer"&gt;http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson06.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;In hindsight that seems pretty clear thanks for the help and the link to the cron docs, it was seconds of course, who knew they added another field. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if there is a way to fix this overall but you are pitching this as an enterprise solution and surely in most enterprises you are going to run into more than one domain controller, so although this can be worked around, maybe another route for differential syncs is needed (if it is even possible another way). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the other user that is experiencing issues, yours may not be exactly the same as mine, the problem with whenChanged/modifyTimestamp only crops up if you have more than one domain controller and you have no way of ensuring that the domain controller you are talking to this time is the same as the domain controller you talked to during the last sync. But for historical sake here is my new config that works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ldap.synchronization.groupQuery=(&amp;amp;(objectclass=group)(memberOf=cn=Alfresco Groups,OU=Alfresco,DC=domain,DC=local))&lt;BR /&gt;&lt;BR /&gt;# The query to select objects that represent the groups to import that have changed since a certain time.&lt;BR /&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass=group)(memberOf=cn=Alfresco Groups,OU=Alfresco,DC=domain,DC=local))&lt;BR /&gt;&lt;BR /&gt;# The query to select all objects that represent the users to import.&lt;BR /&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(memberOf=cn=Alfresco Users,OU=Alfresco,DC=domain,DC=local)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))&lt;BR /&gt;&lt;BR /&gt;# The query to select objects that represent the users to import that have changed since a certain time.&lt;BR /&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(memberOf=cn=Alfresco Users,OU=Alfresco,DC=domain,DC=local)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing that is different is the removal of the whenChanged/modifyTimestamp part of the query, this makes all queries full queries. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now if I can figure out why share isn't working with any of this and I will be in business.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Erinn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2010 00:29:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233703#M186833</guid>
      <dc:creator>erinn</dc:creator>
      <dc:date>2010-01-28T00:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Differential sync and full sync between AD and Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233704#M186834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would seem that it is possible to force connection to a single domain controller every time, e.g. LDAP://&lt;/SPAN&gt;&lt;A href="http://somedc.domain.com/RootDSE" rel="nofollow noopener noreferrer"&gt;somedc.domain.com/RootDSE&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.adsi.general&amp;amp;mid=2f866a91-8613-4b01-a6be-e8efff11f4d1" rel="nofollow noopener noreferrer"&gt;http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.adsi.general&amp;amp;mid=2f866a91-8613-4b01-a6be-e8efff11f4d1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will be necessary to enable differential sync, given that whenChanged/modifyTimestamp/uSNChanged are not replicated. Microsoft have acknowledged this limitation. See&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms677627(VS.85).aspx" rel="nofollow noopener noreferrer"&gt;http://msdn.microsoft.com/en-us/library/ms677627(VS.85).aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 11:34:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/differential-sync-and-full-sync-between-ad-and-alfresco/m-p/233704#M186834</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2010-02-02T11:34:12Z</dc:date>
    </item>
  </channel>
</rss>

