<?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: Alfresco AD sync of Users in Multiple Sub-OUs [SOLVED] in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-ad-sync-of-users-in-multiple-sub-ous-solved/m-p/287454#M240584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;jcgrayjr,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be interested in knowing your original SearchBase, since you say you were able to pull ALL of your users. Were you able to start from the "root" domain of your AD tree? That is exactly what I an "trying" to do, but I can't get the correct format for the SearchBase to start at the main domain level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wayne&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Aug 2014 13:09:49 GMT</pubDate>
    <dc:creator>whowlett</dc:creator>
    <dc:date>2014-08-08T13:09:49Z</dc:date>
    <item>
      <title>Alfresco AD sync of Users in Multiple Sub-OUs [SOLVED]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-ad-sync-of-users-in-multiple-sub-ous-solved/m-p/287452#M240582</link>
      <description>Hello everyone!I am sorry if this subject has been touched in the past.&amp;nbsp; I have been working on it for about a week now and searching the forums, as well as the internet.&amp;nbsp; But I have not found anything that addresses my specific requirement.Here is what I am trying to do:I have successfully integrat</description>
      <pubDate>Thu, 17 Jul 2014 14:42:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-ad-sync-of-users-in-multiple-sub-ous-solved/m-p/287452#M240582</guid>
      <dc:creator>jcgrayjr</dc:creator>
      <dc:date>2014-07-17T14:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco AD sync of Users in Multiple Sub-OUs [SOLVED]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-ad-sync-of-users-in-multiple-sub-ous-solved/m-p/287453#M240583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, after some more research and a few AH HA! moments, I finally figured out how to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was correct in my thinking that I could not limit the OU sync in the &lt;/SPAN&gt;&lt;STRONG&gt;ldap.synchronization.personQuery&lt;/STRONG&gt;&lt;SPAN&gt; configuration.&amp;nbsp; The correct place to do it is in the &lt;/SPAN&gt;&lt;STRONG&gt;ldap.synchronization.userSearchBase&lt;/STRONG&gt;&lt;SPAN&gt; configuration, but I was incorrectly trying to do it in one line by combining the the OUs.&amp;nbsp; Instead, I saw a post where someone mentioned configuring Alfresco to use multiple subsystems (&lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems" rel="nofollow noopener noreferrer"&gt;Alfresco Authentication Subsystems&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So this is how I did it.&amp;nbsp; What I had to do was treat each Sub-OU as its own subsystem.&amp;nbsp; In my &lt;/SPAN&gt;&lt;STRONG&gt;alfresco-global.properites&lt;/STRONG&gt;&lt;SPAN&gt; file, I added the following lines of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1:passthru,ldap1:ldap-ad,,ldap2:ldap-ad,ldap3:ldap-ad&lt;BR /&gt;ntlm.authentication.sso.enabled=false&lt;BR /&gt;alfresco.authentication.authenticateCIFS=false&lt;BR /&gt;passthru.authentication.authenticateCIFS=true&lt;BR /&gt;passthru.authentication.useLocalServer=false&lt;BR /&gt;passthru.authentication.domain=&lt;BR /&gt;passthru.authentication.servers=&amp;lt;DOMAIN1&amp;gt;\\&amp;lt;host-IP&amp;gt; &amp;lt;—IP of my Domain Controller&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;I then made three new folders on my desktop called &lt;/SPAN&gt;&lt;STRONG&gt;ldap1&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;ldap2&lt;/STRONG&gt;&lt;SPAN&gt;, and &lt;/SPAN&gt;&lt;STRONG&gt;ldap3&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp; These three folder names have to match the names I put in the &lt;/SPAN&gt;&lt;STRONG&gt;authentication.chain configuration&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp; Here are the folder names highlighted in my configuration, authentication.chain=alfrescoNtlm1: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,&lt;/SPAN&gt;&lt;STRONG&gt;ldap1&lt;/STRONG&gt;&lt;SPAN&gt;:ldap-ad,,&lt;/SPAN&gt;&lt;STRONG&gt;ldap2&lt;/STRONG&gt;&lt;SPAN&gt;:ldap-ad,&lt;/SPAN&gt;&lt;STRONG&gt;ldap3&lt;/STRONG&gt;&lt;SPAN&gt;:ldap-ad.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then copied the &lt;/SPAN&gt;&lt;STRONG&gt;ldap-ad-authentication.properties&lt;/STRONG&gt;&lt;SPAN&gt; file located at &lt;/SPAN&gt;&lt;STRONG&gt;..\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\ldap-ad\ &lt;/STRONG&gt;&lt;SPAN&gt; and put a copy into each of the &lt;/SPAN&gt;&lt;STRONG&gt;ldap1&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;ldap2&lt;/STRONG&gt;&lt;SPAN&gt;, and &lt;/SPAN&gt;&lt;STRONG&gt;ldap3&lt;/STRONG&gt;&lt;SPAN&gt; folders.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In each of the files in the three folders, you need to change the code to match your AD configuration.&amp;nbsp; The guide &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/3.4/tasks/auth-example-twoldap-ad.html" rel="nofollow noopener noreferrer"&gt;Alfresco Documentation&lt;/A&gt;&lt;SPAN&gt; suggests the following be the most common things you need to change:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.authentication.userNameFormat=%s@domain.com&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://domaincontroller.domain.com:389&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=Administrator,alfresco&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=alfresco@domain.com&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=secret&lt;BR /&gt;ldap.synchronization.groupSearchBase=ou\=ad1,ou\=Alfresco,dc\=domain,dc\=com&lt;BR /&gt;ldap.synchronization.userSearchBase=ou\=ad1,ou\=Alfresco,dc\=domain,dc\=com&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;Every file in the three folders should be configured the same (or at least they are on my setup), except for the very last line.&amp;nbsp; The &lt;/SPAN&gt;&lt;STRONG&gt;ldap.synchronization.userSearchBase&lt;/STRONG&gt;&lt;SPAN&gt; configuration will be different for each properties file in each of the folders.&amp;nbsp; It is where we will be calling in each of the sub-OUs we want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, in the &lt;/SPAN&gt;&lt;STRONG&gt;ldap-ad-authentication.properties&lt;/STRONG&gt;&lt;SPAN&gt; file in the &lt;/SPAN&gt;&lt;STRONG&gt;ldap1&lt;/STRONG&gt;&lt;SPAN&gt; folder, I change the &lt;/SPAN&gt;&lt;STRONG&gt;ldap.synchronization.userSearchBase&lt;/STRONG&gt;&lt;SPAN&gt; configuration to the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronization.userSearchBase=ou\=Business,ou\=Division1,dc\=DOMAIN,dc\=LOCAL&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In the &lt;/SPAN&gt;&lt;STRONG&gt;ldap-ad-authentication.properties&lt;/STRONG&gt;&lt;SPAN&gt; file in the &lt;/SPAN&gt;&lt;STRONG&gt;ldap2&lt;/STRONG&gt;&lt;SPAN&gt; folder, I change the &lt;/SPAN&gt;&lt;STRONG&gt;ldap.synchronization.userSearchBase&lt;/STRONG&gt;&lt;SPAN&gt; configuration to the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronization.userSearchBase=ou\=HR,ou\=Division1,dc\=DOMAIN,dc\=LOCAL&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In the &lt;/SPAN&gt;&lt;STRONG&gt;ldap-ad-authentication.properties&lt;/STRONG&gt;&lt;SPAN&gt; file in the &lt;/SPAN&gt;&lt;STRONG&gt;ldap3&lt;/STRONG&gt;&lt;SPAN&gt; folder, I change the &lt;/SPAN&gt;&lt;STRONG&gt;ldap.synchronization.userSearchBase&lt;/STRONG&gt;&lt;SPAN&gt; configuration to the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronization.userSearchBase=ou\=Finance,ou\=Division1,dc\=DOMAIN,dc\=LOCAL&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I think created the following folders in my Alfresco installation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;C:\Alfresco\tomcat\shared\classes\alfresco\extension\subsystems\Authentication\ldap-ad&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to do this because they did not already exist in my installation.&amp;nbsp; Some installations will already have them depending on their configuration and modification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I copied all three folders (&lt;/SPAN&gt;&lt;STRONG&gt;ldap1&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;ldap2&lt;/STRONG&gt;&lt;SPAN&gt;, and &lt;/SPAN&gt;&lt;STRONG&gt;ldap3&lt;/STRONG&gt;&lt;SPAN&gt;) in the ldap-ad folder I created in the above step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I started up my Alfresco Tomcat server and saw only the users I wanted in the system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps others.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 20:37:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-ad-sync-of-users-in-multiple-sub-ous-solved/m-p/287453#M240583</guid>
      <dc:creator>jcgrayjr</dc:creator>
      <dc:date>2014-07-17T20:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco AD sync of Users in Multiple Sub-OUs [SOLVED]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-ad-sync-of-users-in-multiple-sub-ous-solved/m-p/287454#M240584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;jcgrayjr,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be interested in knowing your original SearchBase, since you say you were able to pull ALL of your users. Were you able to start from the "root" domain of your AD tree? That is exactly what I an "trying" to do, but I can't get the correct format for the SearchBase to start at the main domain level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wayne&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 13:09:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-ad-sync-of-users-in-multiple-sub-ous-solved/m-p/287454#M240584</guid>
      <dc:creator>whowlett</dc:creator>
      <dc:date>2014-08-08T13:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco AD sync of Users in Multiple Sub-OUs [SOLVED]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-ad-sync-of-users-in-multiple-sub-ous-solved/m-p/287455#M240585</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;&lt;A __default_attr="93548" __jive_macro_name="user" _jive_internal="true" data-id="93548" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/jcgrayjr" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt; I have run through your how to and I am having an issue finding &lt;STRONG&gt;ldap-ad-authentication.properties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am using the latest version of alfresco, I can into ..&lt;STRONG&gt;tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But from there, theres nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="121390" __jive_macro_name="user" _jive_internal="true" data-id="121390" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/whowlett" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌ Did you ever resolve your issue? I am wanting to be able to search users in multiple sub OUs&lt;/P&gt;&lt;P&gt;Eg. I have an OU containing an OU per department, like accounts and 1st line and 2nd line, which all contain users which I want to sync into alfresco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 09:56:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-ad-sync-of-users-in-multiple-sub-ous-solved/m-p/287455#M240585</guid>
      <dc:creator>rken</dc:creator>
      <dc:date>2018-02-09T09:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco AD sync of Users in Multiple Sub-OUs [SOLVED]</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-ad-sync-of-users-in-multiple-sub-ous-solved/m-p/287456#M240586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what about the groups? does synchronization with different OU also creates a separate group for each OU in alfresco?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2018 08:49:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-ad-sync-of-users-in-multiple-sub-ous-solved/m-p/287456#M240586</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2018-12-18T08:49:53Z</dc:date>
    </item>
  </channel>
</rss>

