[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: possible bug in JLDAP?



Is it possible that the max results on the server is much less than what you
are setting for the connection? I believe the server settings take
precendence over the connection, in which case, the error is correct.

d.


-----Original Message-----
From: Jason Jones [mailto:jason@ciscoinc.com]
Sent: Wednesday, September 24, 2003 2:59 PM
To: openldap-bugs@OpenLDAP.org
Subject: possible bug in JLDAP?


I am trying to do a search that returns appx. 2200 entries.  

The error I get is this:
---------------------
LDAPException: Sizelimit Exceeded (4) Sizelimit Exceeded
LDAPException: Matched DN: 
	at
com.novell.ldap.LDAPResponse.getResultException(LDAPResponse.java:344)
	at
com.novell.ldap.LDAPResponse.chkResultCode(LDAPResponse.java:307)
	at
com.novell.ldap.LDAPSearchResults.next(LDAPSearchResults.java:256)
	at icis.ldapsync.LDAPSync.updateOID(LDAPSync.java:208)
	at icis.ldapsync.LDAPSync.main(LDAPSync.java:60)
----------------------

I have setup LDAPSearchConstraints when I do this search with the
following lines:
-----------
LDAPSearchConstraints cons = new LDAPSearchConstraints();
cons.setTimeLimit(20000);
cons.setMaxResults(5000);
-----------

Is this truly a bug, or am I missing something?  I'll be happy to put
this into the issue tracking system, but I didn't want to until I was
sure this wasn't a known issue or error on my part.

Regards,

Jason Jones
CISCO, Inc.
2 Corporate Place, Suite 210
1501 42nd St.
West Des Moines, IA 50266
(515) 225-9015 ext. 34