Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I get this error from PAM using mysql with vsftpd:

PAM unable to dlopen(/lib/security/pam_mysql.so): /lib/security/pam_mysql.so: undefined symbol: make_scrambled_password

From what I understand libmysqlclient.so.18 is the problem at least since libmysqlclient.so.16. It seems that the function used in pam called make_scrambled_password is deprecated.

At least I think that is the problem. How can I go about getting around this? I guess I can hack the code (pam_mysql.c) to find a replacement for that function but I'm hoping for a simpler option.

I'm using CentOS.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

With dumb luck I found an rpm with a patch: http://rpmfind.net/linux/RPM/epel/6/x86_64/pam_mysql-0.7-0.12.rc1.el6.x86_64.html

I downloaded the source RPM and patched my version of PAM.

patch < pam_mysql-0.7RC1-scrambled.patch

This assumes you are in the Pam source directory where pam_mysql.c exists.

Recompile pam and your set. Phew.

share|improve this answer
    
Tom, sorry for bumping year old thread but does this patch get rid of make_scrambled_password? And how does it work with updates you apply to your system later? –  Greg0ry Feb 27 at 9:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.