| Summary: | Openldap server fails to handle paged queries | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Ian Kent <ikent> |
| Component: | autofs | Assignee: | Ian Kent <ikent> |
| Status: | CLOSED DUPLICATE | QA Contact: | yanfu,wang <yanwang> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.7 | CC: | ikent, jplans, jvcelak, yanwang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | ppc64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-16 03:27:18 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
Ian Kent
2011-04-13 13:06:46 UTC
Yanfu Wang and myself can help with any testing needed. I've set the priority to high because we have a z-stream bug held up in QA due to this difficulty. Any help or suggestions as to how this should be done differently, if that is the case, would be much appreciated. Hi Ian, openldap in EL5 doesn't export ldap_create_page_control(). I quickly scanned autofs sources and they use their own implementation of this function. The problem appeared when the server was running on ppc64? Or client? Or both? I would like to write a minimal reproducer. Jan (In reply to comment #2) > Hi Ian, > > openldap in EL5 doesn't export ldap_create_page_control(). I quickly scanned > autofs sources and they use their own implementation of this function. Ahh, thanks for your catching that obvious problem that I missed. That's done because in earlier versions of openldap a couple of the paged query functions were not declared in the header files but existed and in the libraries and functioned ok. So configure checks for them and if they aren't present autofs uses its own. I guess that means that the autofs internal functions need to be updated to also detect when paged result sets aren't supported by the server. Once again any suggestions would be appreciated. > > The problem appeared when the server was running on ppc64? Or client? Or both? > I would like to write a minimal reproducer. In this case the test sets up LDAP on the same machine as the autofs client so the ppc machine is both client and server. (In reply to comment #3) > I guess that means that the autofs internal functions need to > be updated to also detect when paged result sets aren't supported > by the server. Once again any suggestions would be appreciated. I don't know yet. 'ldapsearch -E !pr=10/noprompt' obviously works on RHEL-5. Please, can you try reproducing it with ldapsearch? (In reply to comment #4) > (In reply to comment #3) > > I guess that means that the autofs internal functions need to > > be updated to also detect when paged result sets aren't supported > > by the server. Once again any suggestions would be appreciated. > > I don't know yet. 'ldapsearch -E !pr=10/noprompt' obviously works on RHEL-5. > Please, can you try reproducing it with ldapsearch? OK, so loading up the LDAP server with 1100 entries, setting sizelimit.hard=2000 and sizelimit.soft=1000, and using "ldapsearch -E '!pr=1000/noprompt'" looks like it does do a paged query successfully against the ppc64 server. So I wonder what I'm doing wrong .... Another bug has been opened to work on this issue. *** This bug has been marked as a duplicate of bug 700896 *** |