pam_krb5.so has missing symbols due to lack of linkage to libpam (see bug #183363).
Created attachment 147244 [details] pam_krb5 libpam patch
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
A test plan / code block would be very useful for QA.
Created attachment 158770 [details] Simple test for modules with undefined symbols which don't link with libraries which provide them. The bug is pretty straightforward: if you use dlopen() to open the library, and you're not already linked to libpam, it fails because there are symbols in libpam on which the module depends. If running this script against the module like so: ./dlopen.sh ./pam_krb5.so fails while running it like so: ./dlopen.sh ./pam_krb5.so -lpam succeeds, then you have the behavior described as in the report. The desired behavior is for the script to succeed in both cases.
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 the 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/RHEA-2007-0790.html