06-16-2018 12:40 PM
I am getting the following error message when tring to sync alfresco with AD attached the error logs and ldap properties file.
does anyone have this error message before? I am running alfresco community edidion 201707GA
Caused by: javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'ou=Personer,o=MRFA'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3188)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3082)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2888)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1846)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1769)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:392)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:358)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:341)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:267)
at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry$PersonCollection$PersonIterator.fetchNext(LDAPUserRegistry.java:1795)
at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry$PersonCollection$PersonIterator.next(LDAPUserRegistry.java:1635)
Regards
Dharmendra
06-18-2018 04:35 AM
It looks like your userSearchBase is returning more elements that allowed.
ldap.synchronization.userSearchBase=ou\=Personer,o\=MRFA
By default LDAP server has a 1,000 entries limit, but you can configure your LDAP to return more than that.
06-20-2018 09:42 AM
Thanks for suggestion and help, I have contact my AD team to set the large value.
Explore our Alfresco products with the links below. Use labels to filter content by product module.