Comment 98 for bug 1257186

Revision history for this message
Ian Abbott (ian-abbott) wrote :

gollum53 wrote in comment #96:
> This bug also affects vsftpd functionality. When SMB password synchronisation is selected in pam-auth-update, vsftpd can not authenticate users and segfaults with OOPS message.

I had a quick go at trying to reproduce that to see if I could install a modified libpam-smbpass to make the problem go away, but I was unable to reproduce it. That was probably related to these messages in my /var/log/auth.log:

Jun 23 11:33:20 ubuntu vsftpd: PAM unable to dlopen(pam_smbpass.so): /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory
Jun 23 11:33:20 ubuntu vsftpd: PAM adding faulty module: pam_smbpass.so

as the PAM modules such as pam_smbpass.so are actually installed in /lib/x86_64-linux-gnu/security/ on my 64-bit system, not /lib/security/. This is a separate issue with vsftpd not worth dwelling on in this bug, though I did try symlinking /lib/x86_64-linux-gnu/security to /lib/security and got these errors instead:

Jun 23 11:51:40 ubuntu vsftpd: PAM unable to dlopen(pam_smbpass.so): libsamba-hostconfig.so.0: failed to map segment from shared object: Cannot allocate memory
Jun 23 11:51:40 ubuntu vsftpd: PAM adding faulty module: pam_smbpass.so

At that point I gave up trying to reproduce the problem with vsftpd!