<?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 Bootstrapping users in 3.2r2 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/bootstrapping-users-in-3-2r2/m-p/220242#M173372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The short version is: &lt;/SPAN&gt;&lt;BR /&gt;&lt;OL style="list-style-type:decimal;"&gt;&lt;LI&gt;I'm using alfresco as a collaboration tool where "employees" can work together with external entities.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The organizational "powers that be" maintain an Active Directory for employees.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I maintain an LDAP directory of "external entities" and "groups relevant to me"&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I'm using OpenLDAP's slapd-meta to combine the two directories into one DIT.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://www.openldap.org/lists/openldap-technical/200905/msg00025.html" rel="nofollow noopener noreferrer"&gt;Paged results don't work thru a metadirectory&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;SPAN&gt;The number of users in the corporate Active Directory is more than 1000, but probably less than 10000.&amp;nbsp; My little directory doesn't have anyone yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is that during the initial import, I get exactly one "page" worth of users, never more.&amp;nbsp; This is not Alfresco's fault, as this is exactly the behavior I get using ldapsearch too.&amp;nbsp; However, I need some way to preload users in bulk.&amp;nbsp; I can export the LDIF for the corporate server, and it seems (by looking at some old comments on the forums) that one used to be able to bootstrap users from an LDIF file.&amp;nbsp; I do not see that option in the current install instructions for 3.2r2, and there is scant mention of LDIF on the wiki.&amp;nbsp; Is there still some way to do this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, if I temporarily connect Alfresco directly to Active directory to "bootstrap" my users, will they be recognized as the same users when I point Alfresco back to my metadirectory?&amp;nbsp; (I don't alter the user ids or names).&amp;nbsp; Does alfresco remember where each user id came from? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably 95% of the user accounts I create thru this process will never actually log into the server.&amp;nbsp; The problem is, I won't know &lt;/SPAN&gt;&lt;EM&gt;which&lt;/EM&gt;&lt;SPAN&gt; 5% to preload.&amp;nbsp; I want the "potential users" to pre-exist in alfresco so that they can be invited to Share sites and such.&amp;nbsp; Besides, if nothing else Alfresco makes a nice telephone directory. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know Alfresco will manage external users, but I will be turning that off if I can.&amp;nbsp; The point of the metadirectory is to have a central place to manage accounts for external users and provide authentication services to Alfresco, trac, subversion, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bryce&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2009 21:05:20 GMT</pubDate>
    <dc:creator>bnordgren</dc:creator>
    <dc:date>2009-12-22T21:05:20Z</dc:date>
    <item>
      <title>Bootstrapping users in 3.2r2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bootstrapping-users-in-3-2r2/m-p/220242#M173372</link>
      <description>The short version is: I'm using alfresco as a collaboration tool where "employees" can work together with external entities.The organizational "powers that be" maintain an Active Directory for employees.I maintain an LDAP directory of "external entities" and "groups relevant to me"I'm using OpenLDAP</description>
      <pubDate>Tue, 22 Dec 2009 21:05:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bootstrapping-users-in-3-2r2/m-p/220242#M173372</guid>
      <dc:creator>bnordgren</dc:creator>
      <dc:date>2009-12-22T21:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping users in 3.2r2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bootstrapping-users-in-3-2r2/m-p/220243#M173373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I gravely underestimated the number of users in the corporate active directory.&amp;nbsp; I'm currently adding 42905 users at the rate of 15 users/second.&amp;nbsp; It'll be a while.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'm trying: &lt;/SPAN&gt;&lt;BR /&gt;&lt;OL style="list-style-type:decimal;"&gt;&lt;LI&gt;Made an ssh tunnel thru the firewall between active directory and port 390 on my alfresco machine (389 is taken with my metadirectory server).&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Made another ldap instance (called "bootstrap"), which connects to localhost:390.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Removed my "production" ldap instance from the authentication chain and added "bootstrap".&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Killed the content repository, dropped and re-created the database.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Started Alfresco.&lt;/LI&gt;&lt;/OL&gt;&lt;SPAN&gt;When it finally boots up, I'll reconfigure the authentication chain back to my production ldap server, log in, and see if it associates me with the username it just slurped out of AD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;25% done.&amp;nbsp; Cross fingers…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 23:28:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bootstrapping-users-in-3-2r2/m-p/220243#M173373</guid>
      <dc:creator>bnordgren</dc:creator>
      <dc:date>2009-12-22T23:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping users in 3.2r2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bootstrapping-users-in-3-2r2/m-p/220244#M173374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Result: It worked with "conditions".&amp;nbsp; All the users were imported.&amp;nbsp; All users got the first name, last name, uid, and email attributes set.&amp;nbsp; I can log in as me under the "production" ldap instance, and it recognizes me by my uid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a little unclean because it clutters the logfile with notifications that users are being moved from the "bootstrap" user repository to my production one.&amp;nbsp; However, functionality does not appear to be affected.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just for future reference, I would be interested in hearing if the LDIF import option is still available…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 19:33:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bootstrapping-users-in-3-2r2/m-p/220244#M173374</guid>
      <dc:creator>bnordgren</dc:creator>
      <dc:date>2009-12-23T19:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping users in 3.2r2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bootstrapping-users-in-3-2r2/m-p/220245#M173375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Followup: It didn't really work.&amp;nbsp; When it migrates users from the bootstrap repository to the operational one, it deletes all their attributes.&amp;nbsp; It just took it a while to touch an account that I'd notice (mine).&amp;nbsp;&amp;nbsp; :shock: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not really sure what I'm going to try next.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2009 18:23:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bootstrapping-users-in-3-2r2/m-p/220245#M173375</guid>
      <dc:creator>bnordgren</dc:creator>
      <dc:date>2009-12-31T18:23:57Z</dc:date>
    </item>
  </channel>
</rss>

