<?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 Alfresco Community 5.0d sync with Active Directory in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-5-0d-sync-with-active-directory/m-p/285356#M238486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've run into an error setting up active directory sync that my searching has not been able to unwind:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;benchmarkeducation.ny is a domain that resolves only on our internal network .&amp;nbsp; Any pointers greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2015-06-15 17:10:00,363 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-5] Retrieving all groups from user registry 'ldap-ad1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2015-06-15 17:10:00,370 ERROR [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-5] Synchronization aborted due to error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.error.AlfrescoRuntimeException: 05150031 Error during LDAP Search. Reason:[LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'DC=benchmarkeducation,DC=ny'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the relevant configuration section:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;authentication.chain=alfinst:alfrescoNtlm,passthru1&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;assthru,ldap-ad1:ldap-ad&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#Auth done via passthrough in another config file, will move here later:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco.authentication.authenticateCIFS=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.active=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.import.cron=0 0/10 9-18 ? * MON-FRI&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#synchronization.allowDeletions=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncOnStartup=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.provider.url=ldap://benchmarkeducation.ny:389&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.principal=BENCHMARK\\SA_Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.credentials=************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase=cn\=Groups,dc\=benchmarkeducation,dc\=ny&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userSearchBase=cn\=BEC-users,dc\=benchmarkeducation,dc\=ny&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userEmailAttributeName=mail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userOrganizationalIdAttributeName=msExchALObjectVersion&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProviderldap.synchronization.groupIdAttributeName\=cn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#ldap.synchronization.groupType=Nogroup&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personType=user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#ldap.synchronization.groupMemberAttributeName=member&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.synchronizeChangesOnly=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2015 21:21:03 GMT</pubDate>
    <dc:creator>ccandreva</dc:creator>
    <dc:date>2015-06-15T21:21:03Z</dc:date>
    <item>
      <title>Alfresco Community 5.0d sync with Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-5-0d-sync-with-active-directory/m-p/285356#M238486</link>
      <description>I've run into an error setting up active directory sync that my searching has not been able to unwind:benchmarkeducation.ny is a domain that resolves only on our internal network .&amp;nbsp; Any pointers greatly appreciated.2015-06-15 17:10:00,363 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySy</description>
      <pubDate>Mon, 15 Jun 2015 21:21:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-5-0d-sync-with-active-directory/m-p/285356#M238486</guid>
      <dc:creator>ccandreva</dc:creator>
      <dc:date>2015-06-15T21:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Community 5.0d sync with Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-5-0d-sync-with-active-directory/m-p/285357#M238487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.import.cron=0 0/10 9-18 ? * MON-FRI - I'm not sure, but when I tried such syntax for this parameter I always got an error message. So I change it to: synchronization.import.cron=0 0 * * * ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.principal=BENCHMARK\\SA_Alfresco - this should be reverse, for example: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ldap.synchronization.java.naming.security.principal=SA_Alfresco@benchmarkeducation.ny" rel="nofollow noopener noreferrer"&gt;ldap.synchronization.java.naming.security.principal=SA_Alfresco@benchmarkeducation.ny&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe those two are on a different rows, but just saying they should be like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupIdAttributeName\=cn&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I never used those symbols "\=" to point where are my groups nor users (nor anything else), I just used "=", meaning this should look like (and all other rows):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase=cn=Groups,dc=benchmarkeducation,dc=ny&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the other hand I noticed that it matters which comes first in this file. So I put all synchronization parameters first then all ldap.synchronization parameters. So please put all parameters in order like this one, but with the changes above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;authentication.chain=alfinst:alfrescoNtlm,passthru1&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;assthru,ldap-ad1:ldap-ad&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco.authentication.authenticateCIFS=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncOnStartup=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.synchronizeChangesOnly=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.import.cron=0 0/10 9-18 ? * MON-FRI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.active=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.provider.url=ldap://benchmarkeducation.ny:389&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.principal=BENCHMARK\\SA_Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.credentials=************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase=cn\=Groups,dc\=benchmarkeducation,dc\=ny&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userSearchBase=cn\=BEC-users,dc\=benchmarkeducation,dc\=ny&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userEmailAttributeName=mail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userOrganizationalIdAttributeName=msExchALObjectVersion&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProviderldap.synchronization.groupIdAttributeName\=cn&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personType=user&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 08:21:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-5-0d-sync-with-active-directory/m-p/285357#M238487</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-06-16T08:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Community 5.0d sync with Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-5-0d-sync-with-active-directory/m-p/285358#M238488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your help.&amp;nbsp; While it didn't solve the problem it got me a few steps closer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was my search base strings should have started with ou= , not cn= .&amp;nbsp; Once I did that I was able to sync successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 20:50:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-5-0d-sync-with-active-directory/m-p/285358#M238488</guid>
      <dc:creator>ccandreva</dc:creator>
      <dc:date>2015-06-16T20:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Community 5.0d sync with Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-5-0d-sync-with-active-directory/m-p/285359#M238489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, sorry, I missed that. &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; With the ou= is the right way of doing it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 06:27:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-5-0d-sync-with-active-directory/m-p/285359#M238489</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-06-17T06:27:31Z</dc:date>
    </item>
  </channel>
</rss>

