Comment 5 for bug 2009863

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 2009863] Re: Upgrade from Samba 4.13 to 4.15 results in "dlopen(pam_winbind.so): /lib/security/pam_winbind.so: cannot open shared object file: No such file or directory"

On Fri, Mar 10, 2023 at 04:25:56PM -0000, Andreas Hasenack wrote:
> The path looks odd, shouldn't that be /lib/x86_64-linux-
> gnu/security/pam_winbind.so ? Or more generaly,
> /lib/$arch/security/pam_winbind.so

The multiarch implementation in pam is a bit annoying, it tries both
/lib/$arch/security/$module and /lib/security/$module (for
backwards-compatibility) and only reports the error message based on the
last path it tries so always shows the non-multiarch path in the error
message.

So /lib/x86_64-linux-gnu/security/pam_winbind.so may be present on the
filesystem but not loadable due to ELF symbol resolution issues.