Comment 15 for bug 1574900

Revision history for this message
OwN (own3mall) wrote :

I'm still running into the same issue.

USER test
331 Please specify the password.
PASS xxxx
*** stack smashing detected ***: /usr/sbin/vsftpd terminated
500 OOPS: priv_sock_get_result
Disconnecting from site localhost

Contents of /etc/pam.d/vsftpd:

auth required pam_mysql.so user={DBUSERHERE} passwd={DBPASSHERE} host=localhost db={DBNAMEHERE} table=ftpaccounts usercolumn=ftpusername passwdcolumn=password crypt=2
account required pam_mysql.so user={DBUSERHERE} passwd={DBPASSHERE} host=localhost db={DBNAMEHERE} table=ftpaccounts usercolumn=ftpusername passwdcolumn=password crypt=2

It's not working for me.

I installed the proposed package like this:

wget -N "http://launchpadlibrarian.net/311161289/libpam-mysql_0.7~RC1-4.1ubuntu1.1_amd64.deb"
dpkg -i libpam-mysql_0.7~RC1-4.1ubuntu1.1_amd64.deb

I hope that's correct. If so, it's still broken. VSFTPD login doesn't work when using libpam-mysql.