Bug 486321
| Summary: | nss_ldap compiled with --enable-paged-results breaks 'getent passwd' | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Juanjo Villaplana <villapla> |
| Component: | nss_ldap | Assignee: | Nalin Dahyabhai <nalin> |
| Status: | CLOSED ERRATA | QA Contact: | BaseOS QE <qe-baseos-auto> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.3 | CC: | david_ragonese, jplans, ohudlick |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 253-18.el5 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-09-02 11:49:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Juanjo Villaplana
2009-02-19 11:31:50 UTC
Does setting 'nss_paged_results no' in /etc/ldap.conf restore the correct behavior? Yes it does. What is the intended use of nss_paged_results? It adds the paged results control to search requests. Against certain server implementations (AD in particular), this is the only way to get the complete set of matching entries for a search if the result set would exceed a server-enforced sizelimit. The server then returns groups of results of up to the size specified as the "pagesize" configuration setting. But it should never just stop retrieving results. a) I'm thinking we're going to want to change that default back, so that it would need to be explicitly enabled in the configuration. b) For reference, what type of server are you connecting to? Its an OpenLDAP server running on a RHEL 4.7 server (openldap-servers-2.2.13-12.el4).
And may be this setting is related to this client/server behaviour:
# Maximum number of entries to return from a search operation
sizelimit 50000
Reverting use-paged-results-by-default behavior in 253-18.el5 and later. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1379.html |