Monish Das
Monish Das

Reputation: 393

LDAP query limitation

I am trying to write a ldap query which returns around 10000 users. But as far as the current api is concerned only 1500 is returned as search results. I am not sure how to fix this. Is there a way where the api can handle around 10000 users as the search response. Any help will be appreciated

Upvotes: 0

Views: 3199

Answers (1)

jwilleke
jwilleke

Reputation: 11046

There are two primary factors that would limit the search result count.

The Server Side sizeLimit and the Client Side SearchRequest sizelimit.

You maybe able to bypass the Server Side sizeLimit by using the Simple Paged Results Control

For the Client Side SearchRequest sizelimit, is adjusted on the client making the request where a value of "0" (Zero) is unlimited.

Upvotes: 1

Related Questions