S
shivaraj
Hi,
I am facing some issues with "SearchControls" in my LDAP program.
Basically i have more than 2000 users in AD. But from "ctx.search(dn,
filter, null)" I am getting only 950 entries. I tried replacing the
"null" to "getCountLimit() " i.e
----------------------------------------
SearchControls searchControls = new SearchControls();
searchControls.setSearchScope(SearchControls.SUBTREE_SCOPE);
searchControls.getCountLimit();
return (ctx.search(dn, filter, searchControls));
----------------------------------------
whre ctx is the object of DirContext. But still no success. It still
retrieves only 950 users. How can I retrieve all 2000 AD users ?
And if I want to retrieve them in some junks i.e 1000 at a time, how
can i do that ?
Regards,
Shivaraj
I am facing some issues with "SearchControls" in my LDAP program.
Basically i have more than 2000 users in AD. But from "ctx.search(dn,
filter, null)" I am getting only 950 entries. I tried replacing the
"null" to "getCountLimit() " i.e
----------------------------------------
SearchControls searchControls = new SearchControls();
searchControls.setSearchScope(SearchControls.SUBTREE_SCOPE);
searchControls.getCountLimit();
return (ctx.search(dn, filter, searchControls));
----------------------------------------
whre ctx is the object of DirContext. But still no success. It still
retrieves only 950 users. How can I retrieve all 2000 AD users ?
And if I want to retrieve them in some junks i.e 1000 at a time, how
can i do that ?
Regards,
Shivaraj