go to  ForumEasy.com   
LdapPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  LimitExceededException
 
Subject: LimitExceededException
Author: ziaur22311
In response to: I get a no controls were sent from te server.
Posted on: 02/24/2012 01:52:00 AM

When i set the sdeaxr scope to SearchControls.SUBTREE_SCOPE...

I get the following exception..

javax.naming.LimitExceededException: [LDAP: error code 11 - Administrative Limit Exceeded]; remaining name 'ou=larcAccs,ou=WI,ou=larcAppls,ou=AURA,ou=Credit Suisse,o=CREDIT SUISSE GROUP'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3126)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:129)
at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:198)
at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:171)
at PagedSearch.main(PagedSearch.java:76)
 

> On 02/24/2012 01:13:57 AM ziaur22311 wrote:


The code loooks good, but how to proceed when LDAP servers do not support Paged Results Control.
Rather how to fetch large records from (>1000) from LDAP.

Also how does one know, what type of LDAP server, we are communicating with.

I do not get the PagedResultsResponseControl object from the ccontext, any help would be appreciated.




References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.