Known Issues Articles
Known Issue#9073: Active Directory Size Limit Error
Topic/Category: Active Directory
Ephesoft version(s) Affected: 3.1.1.0
Issue: The client can log into their system and access their batches properly, but this error re-occurs in the log files:
3.1.1.0 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.
Solution:
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.
user.msactivedirectory_group_search_filter=(cn=int.ecm-admins);;( cn=int.ecm-admins)
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:
HKEY_CURRENT_USER\Software\Policies\Microsoft
- Add a registry key named Windows to the registry key listed above.
- Add a registry key named Directory UI to the following key:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows
- 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.
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Directory UI
Updates:
< Back| Known Issues Main Page | Next Known Issue #? >