<?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: How to move AD sync. configuration to AD auth. only? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263979#M217109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Would setting "ldap.synchronization.active=false" preserve all current users and their files?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;From my experience i think so, I'm quite sure, but make a test to preproduction deployment just in case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it the only change I need to do?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Probably, although you might need to make sure that &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/The_Synchronization_Subsystem" rel="nofollow noopener noreferrer"&gt;"synchronization.autoCreatePeopleOnLogin"&lt;/A&gt;&lt;SPAN&gt; is set to true so that new user's homes are created automatically. I suppose that this will work even if you have no synchronization activated in your chain, but never tried it myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Any other advice?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;If you have an Active Directory consider just using &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Passthru" rel="nofollow noopener noreferrer"&gt;passthru subsystem&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Dec 2010 14:27:57 GMT</pubDate>
    <dc:creator>iblanco</dc:creator>
    <dc:date>2010-12-03T14:27:57Z</dc:date>
    <item>
      <title>How to move AD sync. configuration to AD auth. only?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263978#M217108</link>
      <description>Hello,I'm syncronizing users from our AD using the following configuration in config files.The problem is that AD has ~150K users.Alfresco apperently can't cope with such a large number of users.When I click on "Repository"-&amp;gt;"User Homes" ,alfresco will try to display all User Homes and it will ho</description>
      <pubDate>Wed, 01 Dec 2010 02:09:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263978#M217108</guid>
      <dc:creator>leonk</dc:creator>
      <dc:date>2010-12-01T02:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to move AD sync. configuration to AD auth. only?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263979#M217109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Would setting "ldap.synchronization.active=false" preserve all current users and their files?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;From my experience i think so, I'm quite sure, but make a test to preproduction deployment just in case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it the only change I need to do?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Probably, although you might need to make sure that &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/The_Synchronization_Subsystem" rel="nofollow noopener noreferrer"&gt;"synchronization.autoCreatePeopleOnLogin"&lt;/A&gt;&lt;SPAN&gt; is set to true so that new user's homes are created automatically. I suppose that this will work even if you have no synchronization activated in your chain, but never tried it myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Any other advice?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;If you have an Active Directory consider just using &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Passthru" rel="nofollow noopener noreferrer"&gt;passthru subsystem&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 14:27:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263979#M217109</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2010-12-03T14:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to move AD sync. configuration to AD auth. only?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263980#M217110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks iblanco,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm testing it on dev. machine, replicated from live server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've change configuration but I still have all those sync-ed users and when clicking on "Repository"-&amp;gt;"User Homes", I'm getting approx. ~160 user homes displayed and &amp;lt;Too many subfolders to display&amp;gt; message at the end.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Almost all those users never logged in to the system (the sync-ed from AD).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would I go about deleting/getting rid of those User Homes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Leon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 04:59:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263980#M217110</guid>
      <dc:creator>leonk</dc:creator>
      <dc:date>2010-12-09T04:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to move AD sync. configuration to AD auth. only?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263981#M217111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would create a very simple JavaScript in Data Dictionary/scripts repository folder that executed against a folder (User homes in this case) iterates all its children and checks if they are of folder type and if they are empty. If they are empty just delete it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If by chance some of the deleted home's are for valid users that shouldn't be such a big deal, after all the home will be created again next time they log in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After checking that everything is alright you might want to empty the Trashcan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 14:58:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263981#M217111</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2010-12-13T14:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to move AD sync. configuration to AD auth. only?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263982#M217112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I would create a very simple JavaScript in Data Dictionary/scripts repository folder that executed against a folder (User homes in this case) iterates all its children and checks if they are of folder type and if they are empty. If they are empty just delete it.&lt;BR /&gt;&lt;BR /&gt;If by chance some of the deleted home's are for valid users that shouldn't be such a big deal, after all the home will be created again next time they log in.&lt;BR /&gt;&lt;BR /&gt;After checking that everything is alright you might want to empty the Trashcan.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;STRONG&gt;iblanco&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is fantastic idea!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't posses a knowledge in that area and have no experience with "Data Dictionary/scripts repository" ;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you be so kind and provide me with some step by step instructions and possible javascript?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 00:21:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263982#M217112</guid>
      <dc:creator>leonk</dc:creator>
      <dc:date>2010-12-15T00:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to move AD sync. configuration to AD auth. only?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263983#M217113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've got this script, thanks to John (from Alfresco):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var childList = companyhome.childByNamePath("User Homes").children;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for (var i=0; i&amp;lt;childList.length; i++)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var child = childList&lt;/SPAN&gt;&lt;EM&gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; logger.log(child.name);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; var subchildren = child.children;&lt;BR /&gt;&amp;nbsp; logger.log(subchildren.length);&lt;BR /&gt;&amp;nbsp; if (subchildren.length==0){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; child.remove();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Just create this script in Company Home &amp;gt; Data Dictionary &amp;gt; Scripts and&lt;BR /&gt;run it from any Space (More Action-&amp;gt;View Details-&amp;gt;Run Action)&lt;/EM&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 01:03:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-move-ad-sync-configuration-to-ad-auth-only/m-p/263983#M217113</guid>
      <dc:creator>leonk</dc:creator>
      <dc:date>2011-03-28T01:03:02Z</dc:date>
    </item>
  </channel>
</rss>

