php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57376 pam_auth not working
Submitted: 2006-11-14 06:29 UTC Modified: 2006-11-19 05:27 UTC
From: jan at horde dot org Assigned:
Status: Closed Package: PAM (PECL)
PHP Version: 4_4 CVS-2006-11-14 OS: SUSE Linux
Private report: No CVE-ID: None
 [2006-11-14 06:29 UTC] jan at horde dot org
Description:
------------
I'm not sure if this is a bug report or a request, feel free to recategorize.

The module installed fine and I added a php service file to /etc/pam.d. Unfortunately pam_auth() fails with "Authentication failure". Needless to say the username and password were correct and other PAM services are working fine.

Since successful pam_start, pam_authenticate, and pam_acct_mgmt were tested in the same if-clause, I splitted the tests to find out that it's indeed pam_authenticate that is failing.

One request is to return different error messages depending on the failed pam_* function. But more important is to find out what pam_auth() fails at all. Is there any more debugging possible to find out why and where that happens?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-14 07:42 UTC] mikael at synd dot info
Please read the section "I'm getting an Authentication Failure error, why?" at

 http://cvs.php.net/viewvc.cgi/pecl/pam/README?view=co

I'll have a look at splitting the calls to pam_* and returning error messages such as "Authentication failure (pam_authenticate)" for the next release.

//Mikael
 [2006-11-19 05:27 UTC] mikael at synd dot info
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Nov 25 03:01:23 2020 UTC