PAM denying valid user

Kevin Schroeder kschroeder at mirageworks.com
Sun Sep 5 12:02:26 UTC 2004


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 at suse.de>
To: "Pluggable Authentication Modules" <pam-list at redhat.com>
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 at suse.de
> SuSE Linux AG        Maxfeldstr. 5                 D-90409 Nuernberg
> --------------------------------------------------------------------
> Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B
>
>
> _______________________________________________
> Pam-list mailing list
> Pam-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list
>
> 





More information about the Pam-list mailing list