Known Issues Articles


Known Issue#9073: Active Directory Size Limit Error

Topic/Category: Active Directory

Ephesoft version(s) Affected: 4.x

Issue: The client can log into their system and access their batches properly, but this error re-occurs in the log files: 2014-05-12 16:49:57,127 ERROR http-8080-1 com.ephesoft.dcma.user.connectivity.impl.MSActiveDirectoryConnectivity – No result found[LDAP: error code 4 – Sizelimit Exceeded]
javax.naming.SizeLimitExceededException: [LDAP: error code 4 – Sizelimit Exceeded]; remaining name ‘OU=example Users,dc=datacenter,DC=examplergroup,dc=net’

Root Cause:  The reported exception occurs when active directory query returns number of records greater than a fixed limit. The fixed limit is defined in active directory server setting.


To avoid this problem either we can increase the limit or we can restrict the search to more specific records by providing filters. In this case, we need to add filter to second search context path i.e. “OU=example Users” that will limit the search result and consequently will prevent error in logs. Kindly change user.msactivedirectory_group_search_filter property in file as given below.

                user.msactivedirectory_group_search_filter=(cn=int.ecm-admins);;( cn=int.ecm-admins)