| Summary: | Incorrect scope of nsslapd-sizelimit during Simple Paged Results | ||
|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Zac <pie.fed> |
| Component: | Unknown | Assignee: | Noriko Hosoi <nhosoi> |
| Status: | CLOSED NOTABUG | QA Contact: | Chandrasekar Kannan <ckannan> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.2.5 | CC: | benl, rmeggins |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| URL: | http://dunnry.com/blog/2006/03/17/PagingInSystemDirectoryServicesProtocols.aspx | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-08 18:13:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Zac
2011-02-02 20:34:27 UTC
URL showing the client code example I'm following: http://dunnry.com/blog/2006/03/17/PagingInSystemDirectoryServicesProtocols.aspx sizelimit is designed as you described. If you run a command line with sizelimit == 30 (sizelimit > pagesize), the search ends at the 4-th page with return code 4 (LDAP_SIZELIMIT_EXCEEDED). $ ldapsearch -x -h localhost -p 389 -E pr=10 -b "dc=test,dc=com" -z 30 "(cn=*)" If sizelimit == 5 (sizelimit < pagesize), the server returns the sizelimit count of entries with return code 4. $ ldapsearch -x -h localhost -p 389 -E pr=10 -b "dc=test,dc=com" -z 5 "(cn=*)" The configuration parameter nsslapd-sizelimit works in the same way. If you don't want to hit the sizelimit, we recommend to increase it to a number greater than your entry count. |