PAM denying valid user

Thorsten Kukuk kukuk at suse.de
Sun Sep 5 05:08:52 UTC 2004


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





More information about the Pam-list mailing list