<?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 Límite de consulta a OpenLDAP in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/l%C3%ADmite-de-consulta-a-openldap/m-p/190641#M143771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hola,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tras conseguir configurar correctamente la autenticación contra OpenLDAP ahora estoy tratando de sincronizar los usuarios y me estoy encontrando una limitación.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ERROR [security.sync.ChainingUserRegistrySynchronizer] [main] Synchronization aborted due to error&lt;BR /&gt; org.alfresco.error.AlfrescoRuntimeException: 04290001 User and group import failed&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.processQuery(LDAPUserRegistry.java:1141)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.access$2500(LDAPUserRegistry.java:77)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry$PersonCollection.&amp;lt;init&amp;gt;(LDAPUserRegistry.java:1297)&lt;BR /&gt;….&lt;BR /&gt;Caused by: javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'o=usaurios,o=servidor-ldap,c=com'&lt;BR /&gt;….&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Es posible hacer una sincronización en diversas fases ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;El tope por seguridad es de 300 resultados devueltos en la consulta.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gracias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2012 14:47:41 GMT</pubDate>
    <dc:creator>mfernandez_3746</dc:creator>
    <dc:date>2012-05-29T14:47:41Z</dc:date>
    <item>
      <title>Límite de consulta a OpenLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/l%C3%ADmite-de-consulta-a-openldap/m-p/190641#M143771</link>
      <description>Hola,Tras conseguir configurar correctamente la autenticación contra OpenLDAP ahora estoy tratando de sincronizar los usuarios y me estoy encontrando una limitación.ERROR [security.sync.ChainingUserRegistrySynchronizer] [main] Synchronization aborted due to error org.alfresco.error.AlfrescoRuntimeEx</description>
      <pubDate>Tue, 29 May 2012 14:47:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/l%C3%ADmite-de-consulta-a-openldap/m-p/190641#M143771</guid>
      <dc:creator>mfernandez_3746</dc:creator>
      <dc:date>2012-05-29T14:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Límite de consulta a OpenLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/l%C3%ADmite-de-consulta-a-openldap/m-p/190642#M143772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hola de nuevo, según se indica en la documentación oficial …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ldap.synchronization.queryBatchSize&lt;BR /&gt;If set to a positive integer, this property indicates that RFC 2696 paged results should be used to split query results into batches of the specified size. This overcomes any size limits imposed by the LDAP server. The default value of 1000 matches the default result limitation imposed by Active Directory. If set to zero or less, paged results will not be used.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Por otro lado, segun comenta dward en un caso similar del jira (&lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-5035" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-5035&lt;/A&gt;&lt;SPAN&gt;) :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;See &lt;A href="http://www.openldap.org/doc/admin24/limits.html#Size" rel="nofollow noopener noreferrer"&gt;http://www.openldap.org/doc/admin24/limits.html#Size&lt;/A&gt; limits and Paged Results &lt;BR /&gt;sizelimit is a hard limit on the total number of results irrespective of whether paged results are used. &lt;BR /&gt;Support for paged results is implemented and can activated by setting ldap.synchronization.queryBatchSize. &lt;BR /&gt;ldap.synchronization.queryBatchSize=1000 &lt;BR /&gt;However, as I say, on OpenLDAP you are still limited by the hard limits configured for the server. The solution is to not configure a limit smaller than the total number of results you need to handle!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;La siguiente referencia explica también este tipo de limitaciones y su solución &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fauth-ldap-openldaptips.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fauth-ldap-openldaptips.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Espero que con esto tengas suficiente y eche ya a andar tu Alfresco ;D.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Saludos!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 17:06:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/l%C3%ADmite-de-consulta-a-openldap/m-p/190642#M143772</guid>
      <dc:creator>venzia</dc:creator>
      <dc:date>2012-05-29T17:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Límite de consulta a OpenLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/l%C3%ADmite-de-consulta-a-openldap/m-p/190643#M143773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hola Javier,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Es una limitación que conocía, de este OpenLDAP y que no puedo salvar modificando el servidor LDAP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;La idea sería hacer una sincronización mediante varias consultas escalonadas, por ejemplo, de 100 en 100, tengo aproximadamente 1500 usuarios.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;He visto que se pueden importar los usuarios medianteun CSV, quizás sea una forma de hacerlo para la creación inicial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gracias &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 09:01:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/l%C3%ADmite-de-consulta-a-openldap/m-p/190643#M143773</guid>
      <dc:creator>mfernandez_3746</dc:creator>
      <dc:date>2012-06-01T09:01:47Z</dc:date>
    </item>
  </channel>
</rss>

