Known Issues Articles
Known Issue#9073: Active Directory Size Limit Error
Topic/Category: Active Directory
Ephesoft version(s) Affected: 22.214.171.124
Issue: The client can log into their system and access their batches properly, but this error re-occurs in the log files:
126.96.36.199 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 user-connectivity.properties file as given below.
How To Edit The Search Limit:
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
- Use Registry Editor to locate the following registry key:
- Add a registry key named Windows to the registry key listed above.
- Add a registry key named Directory UI to the following key:
- Add a REG_DWORD value named QueryLimit to the registry key listed below. Type the appropriate decimal value for the limit you want to set.