Active Directory & Java SDK

Dennis Sinelnikov <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Hello fellow-LDAPers,

I hope there are some Active Directory gurus out there that can help me 
answer 2 questions.  I'm developing a java ldap client that pulls data 
from Active Directory (Windows Small Business Server 2003) using Java 
SDK 4.17.

1. How do I increase the 1000 entry limit per search?  After 1000 I get 
   (4) SIZE_LIMIT_EXCEEDED exception.  I tried upping the max results on 
LDAPSearchConstraints without any luck.

2. How do I get a count of all entries under a particular branch? For 
example, I need to know total number of users before pulling all of them 
that reside under cn=Users.  In non-AD world, I was able to determine 
that by appending "-s base "objectclass=*" numsubordinates" to my search 
query.


Thanks!

-Dennis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.