<?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: Two LDAP server setup in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253777#M206907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Example_1:_Advanced_AD_Chain" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Example_1:_Advanced_AD_Chain&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After double checking the wiki i've put the ldap1 and ldap2 folders into the:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-3.4.d/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ *ldap1*&amp;nbsp; *ldap2*&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going to revert to the modified global config file and restart the services and see if this works.?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2011 13:27:03 GMT</pubDate>
    <dc:creator>bensewell</dc:creator>
    <dc:date>2011-07-11T13:27:03Z</dc:date>
    <item>
      <title>Two LDAP server setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253774#M206904</link>
      <description>Hi I've read through the alfresco wiki and a few related posts but can't seem to nail this one down.Heres the scenario.&amp;nbsp; My Alfresco is working fine through LDAP and local user accounts.&amp;nbsp; I now want it to chain to LDAP1, LDAP2 and then local.&amp;nbsp; I copied the content from the subsystems authentication</description>
      <pubDate>Thu, 07 Jul 2011 13:59:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253774#M206904</guid>
      <dc:creator>bensewell</dc:creator>
      <dc:date>2011-07-07T13:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Two LDAP server setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253775#M206905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So i've been reading further using this article&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Example_2:_Advanced_LDAP_Chain" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Example_2:_Advanced_LDAP_Chain&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And i've made a ldap1 and ldap2 folder with the ldap-authentication.properties files.&amp;nbsp; Just editing these to reflect the files in the global configuration for the two servers.&amp;nbsp; Then will these be loaded by default if i take the current user chaining out of the global config file or do i have to reference the two files somehow?&amp;nbsp; I've managed to get some downtime for tomorrow AM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 15:26:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253775#M206905</guid>
      <dc:creator>bensewell</dc:creator>
      <dc:date>2011-07-07T15:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Two LDAP server setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253776#M206906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So heres what a tried.&amp;nbsp; I added the settings from the global configuration file for our current LDAP server and added into&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap-ad/ldap1/ldap-ad-authentication.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The contents are as below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.authentication.active=true&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.userNameFormat=%s@domain1.co.uk&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://ad1.domain1.co.uk:389&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=alfresco_user&lt;BR /&gt;ldap.synchronization.active=false&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The new LDAP settings for LDAP chaining 2 is saved into the&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap-ad/ldap2/ldap-ad-authentication.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With the same contents but for the the second AD chain:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.authentication.active=true&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.userNameFormat=%s@domain2.co.uk&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://ad1.domain2.co.uk:389&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=alfresco_user&lt;BR /&gt;ldap.synchronization.active=false&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Then lastly to pull these together in the global configuration file it has the following for the chaining:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;[quote]### Authentication settings ###&lt;BR /&gt;authentication.chain=ldap1:ldap,ldap2:ldap,alfrescoNtlm1:alfrescoNtlm&lt;BR /&gt;ldap.synchronization.active=false[/quote]&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;If i enter our LDAP 1 server directly into the global config file it works and i can login using a AD account from domain1.&amp;nbsp; However when i take this out i can't login to the system using an account from domain1.&amp;nbsp; If i revert the settings back into the global config i can.&amp;nbsp; Is there something i'm missing here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 09:56:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253776#M206906</guid>
      <dc:creator>bensewell</dc:creator>
      <dc:date>2011-07-11T09:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Two LDAP server setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253777#M206907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Example_1:_Advanced_AD_Chain" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Example_1:_Advanced_AD_Chain&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After double checking the wiki i've put the ldap1 and ldap2 folders into the:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-3.4.d/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ *ldap1*&amp;nbsp; *ldap2*&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going to revert to the modified global config file and restart the services and see if this works.?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 13:27:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253777#M206907</guid>
      <dc:creator>bensewell</dc:creator>
      <dc:date>2011-07-11T13:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Two LDAP server setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253778#M206908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So i've nearly got it working now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The two configs are in the correct folders:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-3.4.d/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-3.4.d/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ldap1 is working fine and is like below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ldap.authentication.active=true&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.userNameFormat=%s@domain1.co.uk&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://ad1.domain1.co.uk:389&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=alfresco_user&lt;BR /&gt;ldap.synchronization.active=false&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Ldap2 is not working and looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ldap.authentication.active=true&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.userNameFormat=%sou=Users,dc=domain2,dc=co,dc=uk&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://dc02.domain2.co.uk:389&lt;BR /&gt;ldap.synchronization.active=false&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;The LDAP is working fine on LDAP server one but not on two.&amp;nbsp; I can succesffully talk to the LDAP server using a LDAP browser so i know there's no connectivity issues.&amp;nbsp; So my next attempt is to simplyfy the ldap.authentication.userNameFormat= and try &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="https://migration33.stage.lithium.com/" rel="nofollow noopener noreferrer"&gt;%s@domain2.co.uk&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The IT admins told me i need to seach for attribue uid so maybe the config is wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone any more pointers.&amp;nbsp; I know i'm nearly there!&amp;nbsp;&amp;nbsp;&amp;nbsp; :roll:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 09:19:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253778#M206908</guid>
      <dc:creator>bensewell</dc:creator>
      <dc:date>2011-07-13T09:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Two LDAP server setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253779#M206909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Further progress here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i changed the ldap2 configuration file to be &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;uid=%s,ou=External,ou=Users,dc=domain1,dc=co,dc=uk&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;As my testing account is in a OU called External.&amp;nbsp; However i want to include the higher level group like below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DOMAIN1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—-USERS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;———–EXTERNAL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;———–GROUP1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;———–GROUP2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;———–GROUP3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it works if i add the EXTERNAL but doesnt include all the sub groups when i add the USERS in?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 14:33:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253779#M206909</guid>
      <dc:creator>bensewell</dc:creator>
      <dc:date>2011-07-13T14:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Two LDAP server setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253780#M206910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the other things i've thought about.&amp;nbsp; Adding a -s to the string indicates a sub scope and maybe that would work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;uid=%-s,ou=Users,dc=domain1,dc=co,dc=uk&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;STRONG&gt;Or &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;cn=%s,ou=Users,dc=domain1,dc=co,dc=uk&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 13:27:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/two-ldap-server-setup/m-p/253780#M206910</guid>
      <dc:creator>bensewell</dc:creator>
      <dc:date>2011-07-21T13:27:14Z</dc:date>
    </item>
  </channel>
</rss>

