I don't believe this is the case for several reasons:
1. I have set the maximum size to greater than 1000.
2. 1000 is the default max results size for JLDAP (according to the
javadocs).
3. When I use a debugger to look at the LDAPException the server
message
field is blank. It doesn't seem to me like this is coming from the
server.
4. In Eclipse I have installed a JNDI explorer plugin and it pulls all
of these records fine. It doesn't use JLDAP.
Thanks,
Jason
-----Original Message-----
From: David McTavish [mailto:dmctavish@sandvine.com]
Sent: Wednesday, September 24, 2003 1:10 PM
To: Jason Jones; openldap-bugs@OpenLDAP.org
Subject: 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