[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

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

[Home]     [Kernel List]     [Red Hat Install]     [Linux for the blind]     [Red Hat Watch List]     [Gimp]     [Kerberos: The Definitive Guide]

Add to Google Powered by Linux