05-29-2012 10:47 AM
ERROR [security.sync.ChainingUserRegistrySynchronizer] [main] Synchronization aborted due to error
org.alfresco.error.AlfrescoRuntimeException: 04290001 User and group import failed
at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.processQuery(LDAPUserRegistry.java:1141)
at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.access$2500(LDAPUserRegistry.java:77)
at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry$PersonCollection.<init>(LDAPUserRegistry.java:1297)
….
Caused by: javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'o=usaurios,o=servidor-ldap,c=com'
….
05-29-2012 01:06 PM
ldap.synchronization.queryBatchSize
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.
See http://www.openldap.org/doc/admin24/limits.html#Size limits and Paged Results
sizelimit is a hard limit on the total number of results irrespective of whether paged results are used.
Support for paged results is implemented and can activated by setting ldap.synchronization.queryBatchSize.
ldap.synchronization.queryBatchSize=1000
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!
06-01-2012 05:01 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.