Re: PAM denying valid user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oops, you're right. It looks like the author didn't have strcmp handled correctly when comparing passwords. FTP is working now, although IMAP isn't. I'm expecting that's a SASL issue, though, and not PAM.

Thanks for your help.
Kevin

----- Original Message ----- From: "Thorsten Kukuk" <kukuk@xxxxxxx>
To: "Pluggable Authentication Modules" <pam-list@xxxxxxxxxx>
Sent: Sunday, September 05, 2004 12:08 AM
Subject: Re: PAM denying valid user



On Sat, Sep 04, Kevin Schroeder wrote:

Hello,
I'm having a problem with PAM denying authentication for a valid user.
I'm using the pam_mysql method to authenticate a user. The user exists in
the database and in checking the query made I can see that the username and
password are matching at that pam_mysql is returning 7 (PAM_SUCCESS?).

7 means PAM_AUTH_ERR, not PAM_SUCCESS.

However, when attempting to log in with IMAP or FTP I get an authentication
failure error on both.

Yes, since pam_mysql is returning an error, the user is not allowed to login.

 Thorsten

--
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@xxxxxxx
SuSE Linux AG        Maxfeldstr. 5                 D-90409 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B


_______________________________________________ Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list




_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux