<?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: LDAP Authentication from 2 domains in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14545#M6389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to allow multiple domains in alfresco-global.properties,&lt;/P&gt;&lt;P&gt;without two ldap subsytems,i.e.:&lt;/P&gt;&lt;P&gt;ldap.authentication.userNameFormat=%s@z.b.c&lt;/P&gt;&lt;P&gt;ldap.authentication.userNameFormat=%s@a.b.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would be the format ?&lt;/P&gt;&lt;P&gt;ldap.authentication.userNameFormat=%s@?&lt;/P&gt;&lt;P&gt;using only %s is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jun 2017 08:20:58 GMT</pubDate>
    <dc:creator>booltrue</dc:creator>
    <dc:date>2017-06-21T08:20:58Z</dc:date>
    <item>
      <title>LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14534#M6378</link>
      <description>I am using alfresco Community&amp;nbsp;-&amp;nbsp;5.1.0 (r127059-b7)Currently I am doing LDAP authentication from 1 domain with the following entry in the config:ldap.authentication.userNameFormat=%s@x.y.zNow I need additionally a second domain like:ldap.authentication.userNameFormat=%s@a.b.cHow I can do ldap authent</description>
      <pubDate>Mon, 19 Jun 2017 09:44:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14534#M6378</guid>
      <dc:creator>booltrue</dc:creator>
      <dc:date>2017-06-19T09:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14535#M6379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;never had to use this, but maybe a starting point:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://docs.alfresco.com/community/tasks/auth-example-twoldap-ad.html" title="http://docs.alfresco.com/community/tasks/auth-example-twoldap-ad.html" rel="nofollow noopener noreferrer"&gt;Example: authentication and synchronization with two ldap-ad subsystems | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 11:29:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14535#M6379</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-06-19T11:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14536#M6380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider a more complex authentication chain composed by two ldap-ad in alfresco-global.properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;authentication.chain=ldap1:ldap-ad,ldap2:ldap-ad&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you have to create an structure under&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$TOMCAT/shared/classes/alfresco/extension/subsystems/Authentication/ldap-ad&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;.&lt;BR /&gt;├── ldap1&lt;BR /&gt;│ &amp;nbsp;└── ldap-ad-authentication.properties&lt;/P&gt;&lt;P&gt;└── ldap2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; └── ldap-ad-authentication.properties&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the corresponding properties, than now are not in alfresco-global.properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://docs.alfresco.com/5.2/tasks/auth-example-twoldap-ad.html" title="http://docs.alfresco.com/5.2/tasks/auth-example-twoldap-ad.html" rel="nofollow noopener noreferrer"&gt;Example: authentication and synchronization with two ldap-ad subsystems | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 11:34:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14536#M6380</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-06-19T11:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14537#M6381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are faster&amp;nbsp;&lt;B&gt;Martin Ehe&lt;/B&gt;&amp;nbsp;&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;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 11:36:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14537#M6381</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-06-19T11:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14538#M6382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, regarding the example I would say that in recent Alfresco 5 versions, it is not possible to copy the authentication subsystem sample properties from WEB-INF. Now they are inside a jar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 11:39:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14538#M6382</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-06-19T11:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14539#M6383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...but your answer is more detailed &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;&amp;nbsp;(more quality takes more time)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 11:40:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14539#M6383</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-06-19T11:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14540#M6384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that way already, but the users of the other domain will not be synced.&lt;/P&gt;&lt;P&gt;Our current domain is ldap2, group and users are from the same domain z.b.c,&lt;/P&gt;&lt;P&gt;ldap1 is in in the tree, but not current domain, group is in z.b.c, the users coming from a.b.c&lt;/P&gt;&lt;P&gt;As you can see in the logfile, ldap2 will be synced properly, group+users&lt;/P&gt;&lt;P&gt;but ldap1 only the group will be synced, not the users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM&gt;&lt;STRONG&gt;properties for ldap1:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.allowGuestLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.userNameFormat=%s@a.b.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.java.naming.provider.url=ldap://xx.xx.xx.xx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.escapeCommasInBind=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.escapeCommasInUid=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.defaultAdministratorUserNames=Administrator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.java.naming.security.principal=admin@a.b.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.java.naming.security.credentials=xxxxxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.queryBatchSize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.attributeBatchSize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupQuery=(&amp;amp;(objectclass\=group)(CN\=GP_A_ALFRESCO))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=group)(CN\=GP_A_ALFRESCO))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(memberOf=CN\=GP_A_ALFRESCO,OU\=Groups,OU\=TEST,OU\=ME,DC\=a,DC\=b,DC\=c))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(memberOf=CN\=GP_A_ALFRESCO,OU\=Groups,OU\=TEST,OU\=ME,DC\=a,DC\=b,DC\=c))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupSearchBase=DC\=a,DC\=b,DC\=c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userSearchBase=DC\=b,DC\=c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userEmailAttributeName=mail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userOrganizationalIdAttributeName=company&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.defaultHomeFolderProvider=largeHomeFolderProvider&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupIdAttributeName=cn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupDisplayNameAttributeName=displayName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupType=group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.personType=user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupMemberAttributeName=member&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.enableProgressEstimation=true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM&gt;&lt;STRONG&gt;ldap properties for ldap2:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.allowGuestLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.userNameFormat=%s@z.b.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.java.naming.provider.url=ldap://xx.xx.xx.xx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.escapeCommasInBind=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.escapeCommasInUid=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.defaultAdministratorUserNames=Administrator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.java.naming.security.principal=admin@z.b.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.java.naming.security.credentials=xxxxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.queryBatchSize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.attributeBatchSize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupQuery=(&amp;amp;(objectclass\=group)(CN\=GP_B_ALFRESCO))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=group)(CN\=GP_B_ALFRESCO))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(memberOf=CN\=GP_B_ALFRESCO,OU\=Groups,OU\=NO,OU\=WAY,DC\=z,DC\=b,DC\=c))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(memberOf=CN\=GP_B_ALFRESCO,OU\=Groups,OU\=NO,OU\=WAY,DC\=z,DC\=b,DC\=c))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupSearchBase=DC\=z,DC\=b,DC\=c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userSearchBase=DC\=z,DC\=b,DC\=c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userEmailAttributeName=mail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userOrganizationalIdAttributeName=company&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.defaultHomeFolderProvider=largeHomeFolderProvider&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupIdAttributeName=cn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupDisplayNameAttributeName=displayName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupType=group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.personType=user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupMemberAttributeName=member&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.enableProgressEstimation=true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM&gt;&lt;STRONG&gt;alfresco.log:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:00,222 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronizing users and groups with user registry 'ad1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:00,222 WARN&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Full synchronization with user registry 'ad1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:00,222 WARN&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Some users and groups previously created by synchronization with this user registry may be removed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:00,238 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Retrieving groups changed since 19.06.2017 14:03:34 from user registry 'ad1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:00,643 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad1,id2=1 Group Analysis: Commencing batch of 1 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:00,659 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad1,id2=1 Group Analysis: Processed 1 entries out of 1. 100% complete. Rate: 62 per second. 0 failures detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:00,659 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad1,id2=1 Group Analysis: Completed batch of 1 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:18,053 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Retrieving all users from user registry 'ad1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,390 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad1,id2=6 User Creation and Association: Commencing batch of 0 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,390 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad1,id2=6 User Creation and Association: Completed batch of 0 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,390 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad1,id2=5 User Association: Commencing batch of 2 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,390 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad1,id2=5 User Association: Processed 2 entries out of 2. 100% complete. 0 failures detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,390 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad1,id2=5 User Association: Completed batch of 2 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,390 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Finished synchronizing users and groups with user registry 'ad1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,390 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] 0 user(s) and 1 group(s) processed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,405 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronizing users and groups with user registry 'ad2'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,405 WARN&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Full synchronization with user registry 'ad2'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,405 WARN&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Some users and groups previously created by synchronization with this user registry may be removed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,421 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Retrieving groups changed since 19.06.2017 14:00:50 from user registry 'ad2'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,452 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad2,id2=1 Group Analysis: Commencing batch of 1 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,452 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad2,id2=1 Group Analysis: Processed 1 entries out of 1. 100% complete. 0 failures detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,452 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad2,id2=1 Group Analysis: Completed batch of 1 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,499 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Retrieving users changed since 19.06.2017 12:04:51 from user registry 'ad2'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,499 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad2,id2=6 User Creation and Association: Commencing batch of 16 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,608 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad2,id2=6 User Creation and Association: Processed 16 entries out of 16. 100% complete. Rate: 146 per second. 0 failures detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,608 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Synchronization,Category=directory,id1=ad2,id2=6 User Creation and Association: Completed batch of 16 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,624 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] Finished synchronizing users and groups with user registry 'ad2'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-19 15:00:32,624 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-10] 16 user(s) and 1 group(s) processed&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 13:13:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14540#M6384</guid>
      <dc:creator>booltrue</dc:creator>
      <dc:date>2017-06-19T13:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14541#M6385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just a question for understanding:&lt;/P&gt;&lt;P&gt;Is the LDAP Source&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;ldap.authentication.java.naming.provider.url=ldap://xx.xx.xx.xx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;the same in both configurations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 14:46:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14541#M6385</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-06-19T14:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14542#M6386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, it's same address&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 08:02:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14542#M6386</guid>
      <dc:creator>booltrue</dc:creator>
      <dc:date>2017-06-20T08:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14543#M6387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried your queries with a ldap tool (like Apache Directory Studio) to verify the results?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 08:08:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14543#M6387</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-06-20T08:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14544#M6388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tried and I didn't get the expected result.&lt;/P&gt;&lt;P&gt;I think the problem is, that I have no access to the parent domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The domain tree is like:&lt;/P&gt;&lt;P&gt;b.c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----a.b.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----c.b.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----z.b.c&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Our domain is z.b.c.&lt;/P&gt;&lt;P&gt;I have in my group of domain z.b.c a cross domain member from the domain a.b.c&lt;/P&gt;&lt;P&gt;So I used the user search base b.c.&lt;/P&gt;&lt;P&gt;But when I try to sync with 2 ldap systems under the path tomcat\shared\classes\alfresco\extension\subsystems\Authentication\ldap-ad&lt;/P&gt;&lt;P&gt;I get the result as you can see in the logfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I dont use any subsystem under extension folder, just use the alfresco-global.properties I get the user from the domain a.b.c. synced to&lt;/P&gt;&lt;P&gt;the group of the domain z.b.c, but only if in the group a user of the domain z.b.c already exists, otherwise not. I really dont understand.&lt;/P&gt;&lt;P&gt;But I need that both domains can register in alfresco, like&lt;/P&gt;&lt;P&gt;ldap.authentication.userNameFormat=%s@a.b.c and ldap.authentication.userNameFormat=%s@z.b.c&lt;/P&gt;&lt;P&gt;so I have to sync from two ldap subsystems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM&gt;&lt;STRONG&gt;alfresco-global.properties without 2 subsystems:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px;"&gt;# LDAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,myldap:ldap-ad&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;synchronization.synchronizeChangesOnly=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;synchronization.syncWhenMissingPeopleLogIn=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;synchronization.autoCreatePeopleOnLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;synchronization.authCreatePeopleOnLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;synchronization.syncOnStartup=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;synchronization.import.cron=0 0/10 * ? * *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.allowGuestLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.userNameFormat=%s@z.b.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.java.naming.provider.url=ldap://xxx.xxx.xxx.xxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.escapeCommasInBind=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.escapeCommasInUid=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.authentication.defaultAdministratorUserNames=Administrator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.java.naming.security.principal=admin@z.b.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.java.naming.security.credentials=xxxxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.queryBatchSize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.attributeBatchSize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupQuery=(&amp;amp;(objectclass\=group)(CN\=GP_A_ALFRESCO))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=group)(CN\=GP_A_ALFRESCO))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(|(memberOf=CN\=GP_A_ALFRESCO_DEV,OU\=Groups,OU\=NO,OU\=WAY,DC\=z,DC\=b,DC\=c)(memberOf=CN\=GP_A_ALFRESCO,OU\=Groups,OU\=TEST,OU\=ME,DC\=a,DC\=b,DC\=c)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(|(memberOf=CN\=GP_A_ALFRESCO,OU\=Groups,OU\=NO,OU\=WAY,DC\=z,DC\=b,DC\=c)(memberOf=CN\=GP_A_ALFRESCO,OU\=Groups,OU\=TEST,OU\=ME,DC\=a,DC\=b,DC\=c)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupSearchBase=DC\=z,DC\=b,DC\=c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userSearchBase=DC\=b,DC\=c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userEmailAttributeName=mail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.userOrganizationalIdAttributeName=company&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.defaultHomeFolderProvider=largeHomeFolderProvider&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupIdAttributeName=cn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupDisplayNameAttributeName=displayName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupType=group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.personType=user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.groupMemberAttributeName=member&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;ldap.synchronization.enableProgressEstimation=true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;EM&gt;&lt;STRONG&gt;alfresco.log without 2 subsystems:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:50:00,176 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronizing users and groups with user registry 'myldap'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:50:00,176 WARN&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Full synchronization with user registry 'myldap'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:50:00,176 WARN&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Some users and groups previously created by synchronization with this user registry may be removed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:50:00,207 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Retrieving groups changed since 20.06.2017 13:22:20 from user registry 'myldap'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:50:00,394 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronization,Category=directory,id1=myldap,id2=1 Group Analysis: Commencing batch of 1 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:50:00,410 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronization,Category=directory,id1=myldap,id2=1 Group Analysis: Processed 1 entries out of 1. 100% complete. Rate: 62 per second. 0 failures detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:50:00,410 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronization,Category=directory,id1=myldap,id2=1 Group Analysis: Completed batch of 1 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:50:39,349 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Retrieving users changed since 20.06.2017 01:52:04 from user registry 'myldap'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:51:12,734 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronization,Category=directory,id1=myldap,id2=6 User Creation and Association: Commencing batch of 2 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:51:47,461 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronization,Category=directory,id1=myldap,id2=6 User Creation and Association: Processed 2 entries out of 2. 100% complete. Rate: 0 per second. 0 failures detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:51:47,461 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Synchronization,Category=directory,id1=myldap,id2=6 User Creation and Association: Completed batch of 2 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:51:47,476 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] Finished synchronizing users and groups with user registry 'myldap'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 13:51:47,476 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-4] 2 user(s) and 1 group(s) processed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 14:00:00,323 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-9] Synchronizing users and groups with user registry 'myldap'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 14:00:00,323 WARN&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-9] Full synchronization with user registry 'myldap'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 14:00:00,323 WARN&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-9] Some users and groups previously created by synchronization with this user registry may be removed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 14:00:00,369 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-9] Retrieving groups changed since 20.06.2017 13:22:20 from user registry 'myldap'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 14:00:00,557 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-9] Synchronization,Category=directory,id1=myldap,id2=1 Group Analysis: Commencing batch of 1 entries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 14:00:00,572 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-9] Synchronization,Category=directory,id1=myldap,id2=1 Group Analysis: Processed 1 entries out of 1. 100% complete. Rate: 66 per second. 0 failures detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 11px;"&gt;2017-06-20 14:00:00,572 INFO&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [DefaultScheduler_Worker-9] Synchronization,Category=directory,id1=myldap,id2=1 Group Analysis: Completed batch of 1 entries&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 12:03:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14544#M6388</guid>
      <dc:creator>booltrue</dc:creator>
      <dc:date>2017-06-20T12:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14545#M6389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to allow multiple domains in alfresco-global.properties,&lt;/P&gt;&lt;P&gt;without two ldap subsytems,i.e.:&lt;/P&gt;&lt;P&gt;ldap.authentication.userNameFormat=%s@z.b.c&lt;/P&gt;&lt;P&gt;ldap.authentication.userNameFormat=%s@a.b.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would be the format ?&lt;/P&gt;&lt;P&gt;ldap.authentication.userNameFormat=%s@?&lt;/P&gt;&lt;P&gt;using only %s is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 08:20:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14545#M6389</guid>
      <dc:creator>booltrue</dc:creator>
      <dc:date>2017-06-21T08:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14546#M6390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The right way for me to do was to bind two ldap-systems,&lt;/P&gt;&lt;P&gt;without any cross-domain members in any group (caused sync problems)&lt;/P&gt;&lt;P&gt;to be able to allow multiple domain sync.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have the problem that users of the second domain are not be able to login.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 11:37:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14546#M6390</guid>
      <dc:creator>booltrue</dc:creator>
      <dc:date>2017-06-23T11:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14547#M6391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;iisn't&lt;/P&gt;&lt;P&gt;ldap.authentication.userNameFormat=%s@z.b.c&lt;/P&gt;&lt;P&gt;in the first config and&amp;nbsp;&lt;/P&gt;&lt;P&gt;ldap.authentication.userNameFormat=%s@a.b.c&lt;/P&gt;&lt;P&gt;in the second not working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 14:54:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14547#M6391</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-06-23T14:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14548#M6392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;b.c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----a.b.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----c.b.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----z.b.c (our domain)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.authentication.userNameFormat=%s@a.b.c &lt;/P&gt;&lt;P&gt;yes, here the login doesnt work, but sync works lika a charm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on our domain z.b.c login works same before with only one ldap system&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 15:00:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14548#M6392</guid>
      <dc:creator>booltrue</dc:creator>
      <dc:date>2017-06-23T15:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14549#M6393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Multidomain synchronisation and authentication has only a very limited support in Alfresco. We tried this just some months ago. To summarize:&lt;/P&gt;&lt;P&gt;Limitations&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CIFS/WebDAV Auth, SSO using Kerberos support only one directory. We extended the kerberos implementation to handle the whole user principle instead of only the username part (which we know will conflict with the multi tenancy support) but stopped since we didn't want to rewrite the whole group sync.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;define many independent domains (in Alfresco managed in zones) for sync and web authentication having different domains. You need to put all ldap subsystem instances in the auth chain. They work all independent and in sequence on login. Be careful if you have rules for failed logins on AD/LDAP if you work with different configs against the same AD/LDAP.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You cannot:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;use the same groups accross different zones. You will see unexpected behavior since the groups will switch on sync from zone to zone and only the users belonging to the active zone will be members in the Alfresco group after sync. The group membership sync logic asumes a user as deleted if a user is not returned as memberOf attribute from the group. If the memberOf user is not member of the zone he will be ignored or cause a softfail.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you should go ahead if you don't share groups managed on ldap/AD but you will fail if you require to use shared groups. If you only need to authenticate in the browser you may try having only one sync config since you have only one directory server. User query may be e.g.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;(&amp;amp; (objectClass=user)(|(&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:userPrincipalName=*@abc.com" rel="nofollow noopener noreferrer"&gt;userPrincipalName=*@abc.com&lt;/A&gt;&lt;SPAN&gt;)(&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:userPrincipalName=*@xyz.net" rel="nofollow noopener noreferrer"&gt;userPrincipalName=*@xyz.net&lt;/A&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could then add a second ldap subsystem config only having authentication active&lt;BR /&gt;ldap.synchronization.active=false&lt;/P&gt;&lt;P&gt;ldap.authentication.active=true&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="https://migration33.stage.lithium.com/" rel="nofollow noopener noreferrer"&gt;ldap.authentication.userNameFormat=%s@xyz.net&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 21:25:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14549#M6393</guid>
      <dc:creator>heiko_robert</dc:creator>
      <dc:date>2017-06-23T21:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14550#M6394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just thinking: maybe a "ldap proxy" that gathers users and groups (with nlscd) in an alfresco compatible way could be a solution... but this would be a more than a "just try" job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 07:52:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14550#M6394</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-06-24T07:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14551#M6395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;booltrue booltrue&lt;/B&gt; A&amp;nbsp;passthru based subsystem may be used or combined for authentication, using&amp;nbsp;ldap-ad subsystem for syncing.&amp;nbsp;Finally, completely agree with&amp;nbsp;&lt;B&gt;Heiko Robert&lt;/B&gt;‌ comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 10:01:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14551#M6395</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-06-24T10:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14552#M6396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for detailed explanation, but I am a little confused what is the difference between your (&lt;A __default_attr="90833" __jive_macro_name="user" _jive_internal="true" data-id="90833" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/heiko.robert" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌) explanation and my attempt with two ldap subsytems, or maybe just I dont understand right.&lt;/P&gt;&lt;P&gt;I am syncing two different groups of two different child domains as you can see in the configs.&lt;/P&gt;&lt;P&gt;Maybe you can explain for me more clearer, due I dont understand.&lt;/P&gt;&lt;P&gt;What do I need to change, so that&amp;nbsp; both domains can authenticate.&lt;/P&gt;&lt;P&gt;Currently only members of our domain z.b.c can authenticte to the system,&lt;/P&gt;&lt;P&gt;the members of the other domain a.b.c can not do.&lt;/P&gt;&lt;P&gt;Syncing of both domains works properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 15:59:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14552#M6396</guid>
      <dc:creator>booltrue</dc:creator>
      <dc:date>2017-06-26T15:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication from 2 domains</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14553#M6397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Maybe the problem is the authentication.chain&lt;/P&gt;&lt;P class=""&gt;It seems to be defined in both subsystems and so only the secon one "wins". I think you have to move the authentication.chain into alfresco-global.properties (only), delete it from the subsystems and use both subsystems in the chain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 05:01:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-authentication-from-2-domains/m-p/14553#M6397</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-06-27T05:01:53Z</dc:date>
    </item>
  </channel>
</rss>

