Hello,<br>
<br>
I am stumped.  I have done this in the past without any
problems.   I want to authenticate users to a mysql database
as well as the local passwd database.  If one fails, try the
other, either one will allow them to be authenticated.  I am
testing this with both sshd and vsftpd.  Here are some facts:<br>
<br>
Whitebox 4<br>
pam-0.77-65.1<br>
<br>
contents of /etc/pam.d/vsftpd:<br>
auth       required     pam_nologin.so<br>
auth       sufficient     pam_stack.so service=system-auth<br>
auth       sufficient  pam_mysql.so
user=user passwd=foobar db=db table=tableusercolumn=username
passwdcolumn=password crypt=md5<br>
account    sufficient     pam_stack.so service=system-auth<br>
account    sufficient   pam_mysql.so user=user
passwd=foobar db=db table=tableusercolumn=username
passwdcolumn=password crypt=md5<br>
session    sufficient     pam_stack.so service=system-auth<br>
<br>
contents of /etc/pam.d/system-auth:<br>
auth        required      /lib/security/$ISA/pam_env.so<br>
auth        sufficient    /lib/security/$ISA/pam_unix.so likeauth nullok<br>
auth        required      /lib/security/$ISA/pam_deny.so<br>
<br>
account     required      /lib/security/$ISA/pam_unix.so<br>
<br>
password    required      /lib/security/$ISA/pam_cracklib.so retry=3<br>
password    sufficient    /lib/security/$ISA/pam_unix.so nullok use_authtok md5<br>
password    required      /lib/security/$ISA/pam_deny.so<br>
<br>
session     required      /lib/security/$ISA/pam_limits.so<br>
session     required      /lib/security/$ISA/pam_unix.so<br>
<br>
On the client side of things, I get a strange error output to the screen with this configuration:<br>
220 (vsFTPd 2.0.1)<br>
530 Please login with USER and PASS.<br>
530 Please login with USER and PASS.<br>
KERBEROS_V4 rejected as an authentication type<br>
Name (216.58.238.244:jomama): jomama<br>
331 Please specify the password.<br>
Password:<br>
*** glibc detected *** double free or corruption (fasttop): 0x2aacc170 ***<br>
Login failed.<br>
<br>
What's my issue?<br>
<br>
<br>