
October 31st, 2009, 04:10 PM
|
|
Contributing User
|
|
Join Date: Jan 2009
Location: Charlotte, NC
Posts: 111
  
Time spent in forums: 22 h 18 m
Reputation Power: 8
|
|
|
based on the -x in the ldapsearch it appears you using openLDAP, so you need the SA to setup the sizelimit so you can retrieves all the entries
sizelimit
The sizelimit directive specifies the number of entries to return to a search request. There are two forms of this command, first form:
sizelimit integer | unlimited
Where integer is value between 1 and 65435. unlimited (or -1) places no limits on the number of returned results.
The second form provides more control over the number of returned results and has the following format:
sizelimit size[.{soft|hard|unchecked}]=integer
Where integer is the maximum number of entries slapd will return answering a search request. The behaviour of the directive depends on the optional qualifier soft, hard or unchecked as follows:
1. If no size limit is explicitly requested by the client, the soft limit is used.
2. If the requested size limit exceeds the hard limit, an "Administrative limit exceeded" is returned.
3. If the hard limit is set to 0 or to the keyword "soft", the soft limit is used in either case.
4. If the hard limit is set to -1 or to the keyword "none", no hard limit is enforced.
5. Explicit requests for size limits smaller or equal to the hard limit are honored.
6. The unchecked qualifier sets a limit on the number of candidates a search request is allowed to examine. If the selected candidates exceed the unchecked limit, the search will abort with LDAP_UNWILLING_TO_PERFORM (53, x'35). If unchecked is set to -1 or to the keyword "none", no limit is applied (the default).
7. If no qualifier is present, the value is assigned to the soft limit, and the hard limit is set to zero, to preserve the original behavior.
If no sizelimit directive is defined the default is 500. Examples:
|