Pam-mysql seems to be unmaintained, so i decided to provide some fixes.
- Memory leak error | Fixed
- SHA1 and MD5 encryption | Fixed
$ ./configure --with-cyrus-sasl2 --with-openssl
$ make
$ make install
Compiled files can be found here :
/lib/security/pam_mysql.so
/lib/security/pam_mysql.la
Thanks to : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418500#50
Thanks to : http://sourceforge.net/p/pam-mysql/bugs/27/#c2aa
Can t initialize threads: error 11
AUTH-PAM: BACKGROUND: user 'xxx' failed to authenticate: Permission denied