User has a Windows AD server which is used to serve autofs maps to the automount daemon. On a default configuration, the Windows AD server splits the results into multiple pages with each page containing 1000 results. This is not supported by automount daemon. In such cases where the results are returned in multiple pages, the automount daemon seg-faults with the message Jan 28 15:31:24 server1 kernel: automount[23538]: segfault at 0000000000000018 rip 0000002a9687e2b7 rsp 0000007fbfffc680 error 4 The user has been able to work around this problem by making changes to the Windows AD server to increase the limit of results which can be sent in one time to 1200. The following patch upstream appears to fix this problem. http://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-5.0.2-ldap-page-control.patch We haven't tested this patch in the user environment yet.
Created attachment 430232 [details] Patch - add ldap paged query
Created attachment 430233 [details] Patch - ldap paged query configure fix
Apologies, I actually did the back port some time ago but must have been side tracked and didn't get to build a test package. In any case there was a mistake in the Conflicts tag which has been fixed (this revision we requires cyrus-sasl-lib >= 2.1.22-5.el5_4.3). A build with the above patch is available at: http://people.redhat.com/~ikent/autofs-5.0.1-0.rc2.142.bz563956.2.el5 Please test this and report the result.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
if it will be verified in the user environment?
Created attachment 453607 [details] Patch - add ldap paged query (updated)
Created attachment 453608 [details] Patch - auto adjust ldap page size
Created attachment 489738 [details] Patch - fix paged ldap map read
This bug is verified by autotest(https://beaker.engineering.redhat.com/jobs/81494), which uses testcase(/CoreOS/autofs/bugzillas/bz563956) and distro(RHEL5.7-Server-20110504.0.n).
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-2011-1079.html