<?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 AD-LDAP Sync behaviour in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ad-ldap-sync-behaviour/m-p/299394#M252524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have an odd issue with AD LDAP sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have setup differential sync, a person query to pull users from a specific user group, and all is working well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Users already pulled in get updated etc etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HOWEVER, adding a new users to the user group in AD, they are not pulled in, and removing a user as a member of the AD user group, they are not then removed from Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this because differential sync only syncs the differences in user objects that it already has?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If we say wanted to add a user into the AD user group and then have them appear a short time later, do we need to have a FULL sync happening on a regular basis?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These are my settings:-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Global Properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncOnStartup=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.synchronizeChangesOnly=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.import.cron=0 0/60 * * * ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.allowDeletions=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.autoCreatePeopleOnLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap-ad-authentication.properties file in correct extension location:-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.principal=alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.credentials=password&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase=OU\=ourdomain&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userSearchBase=OU\=ourdoman&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(memberOf\=cn\=alfresco_users,OU\=ourdomain,DC\=ad,DC\=ourdomain))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userJobTitleAttributeName=title&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userTelephoneNumberAttributeName=telephoneNumber&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userLocationAttributeName=physicalDeliveryOfficeName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userOrganizationalIdAttributeName=department&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Certain information removed from the above of course!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone can tell me whats going on I my blood pressure would decrease significantly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically when we remove people from the Ad users group, we want them removed from Alfresco, and vice versa, so when an existing user is added to the AD user group, they are then populated in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This only seems to work with FULL syncronisations, is this correct behaviour?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks/Danke/Merci!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:- Could it be because by default Alfresco is using the ldap.synchronization.modifyTimestampAttributeName=whenChanged property?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ive read this link:- &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://social.technet.microsoft.com/wiki/contents/articles/28222.active-directory-generalized-time-attributes.aspx#The_quot_TimeStamp_quot_Attributes_versus_the_quot_when_quot_Attributes" rel="nofollow noopener noreferrer"&gt;http://social.technet.microsoft.com/wiki/contents/articles/28222.active-directory-generalized-time-attributes.aspx#The_quot_TimeStamp_quot_Attributes_versus_the_quot_when_quot_Attributes&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And it appears the whenChanged attribute can vary wildly between domain controllers, and is not a replicated property…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would I be better off using :- ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp instead?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically I want a differential sync to happen every hour, and pick up users added or deleted to/from the AD group reliably.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 21:49:42 GMT</pubDate>
    <dc:creator>t16</dc:creator>
    <dc:date>2015-03-04T21:49:42Z</dc:date>
    <item>
      <title>AD-LDAP Sync behaviour</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ad-ldap-sync-behaviour/m-p/299394#M252524</link>
      <description>We have an odd issue with AD LDAP sync.I have setup differential sync, a person query to pull users from a specific user group, and all is working well.Users already pulled in get updated etc etc.HOWEVER, adding a new users to the user group in AD, they are not pulled in, and removing a user as a me</description>
      <pubDate>Wed, 04 Mar 2015 21:49:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ad-ldap-sync-behaviour/m-p/299394#M252524</guid>
      <dc:creator>t16</dc:creator>
      <dc:date>2015-03-04T21:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: AD-LDAP Sync behaviour</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ad-ldap-sync-behaviour/m-p/299395#M252525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK this is getting frustrating!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I amended the Differential Person Query to match the normal person query… Removing the person from the ecms_users group results in them being removed from Alfresco. Great… BUT, when re-adding that user back into the ecms_users group in AD, on the next differential sync, I get &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ignoring non-existent member 'xxxx' in groups {'ecms_users'}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why is it not re-adding this user back into Alfresco? It knows its part of the correct group, but wont create the user again?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell me whats going on and how we can successfully control user creation and deletion from an AD security group properly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 18:11:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ad-ldap-sync-behaviour/m-p/299395#M252525</guid>
      <dc:creator>t16</dc:creator>
      <dc:date>2015-03-05T18:11:24Z</dc:date>
    </item>
  </channel>
</rss>

