File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes ldap, more than 1000 returns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "ldap, more than 1000 returns" Watch "ldap, more than 1000 returns" New topic
Author

ldap, more than 1000 returns

Barry Higgins
Ranch Hand

Joined: Jun 05, 2003
Posts: 89
Hi,
I am issuing an search in active directory using JNDI.
However all that are being returned are the first 1000 elements.
Has anyone come up with a way to view the subsequent values?
Regards,
Barry
Anant Kadiyala
Greenhorn

Joined: Aug 29, 2001
Posts: 24
This is a restriction by AD. 1000 objects is the default setting. You can change this by using a command-line utility 'ntdsutil.exe'
Anant


IBM Certified in Object-Oriented Analysis and Design with UML
Lalu George
Greenhorn

Joined: Dec 25, 2002
Posts: 9
Hi there,

Sorry for the late reply. We dont require any server side setting to achive
the same a small change in the client program which queries the ldap/AD will
achive the same. AD supports an extended control calle PageResultControl , which can found in the JNDI Booster pack provided as an addon plugin by SUN
The code for using the PageResultControl can be found the Sun's JNDI forum

http://forum.java.sun.com/thread.jsp?thread=319839&forum=51&message=1291218


with regards

Lalu George

Sun Certified Java Programmer for JDK 1.4 Platform
Software Engineer
Product Development Group
Transversal e Networks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ldap, more than 1000 returns
 
Similar Threads
Barry Gaunt turns 1000
Double to 3.s.f...
Dawn of a new milennium...
Member # 5255 congratulations..
File.lastModified() on windows vs linux