|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60378 Can't do pam_auth
Submitted: 2011-11-24 21:58 UTC Modified: 2017-04-01 21:06 UTC
Avg. Score:4.2 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:1 (33.3%)
From: vyedmic at gmail dot com Assigned:
Status: Wont fix Package: PAM (PECL)
PHP Version: 5.3.8 OS: Gentoo
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
47 - 26 = ?
Subscribe to this entry?

 [2011-11-24 21:58 UTC] vyedmic at gmail dot com
Trying to do pam_auth and with no success. It used to work fine with previous php version, which was some 5.2. I am a little bit weary of allowing apache access to shadow and again, it used to work fine. What else has changed? Sorry to be reporting it this late but users don't change their password everyday.

Test script:
 if (pam_auth($usr, $pswd, $error, false)) {
     echo "Succesfully authorised $usr";
 else {
     echo $error;

Expected result:
Succesfully authorised user

Actual result:
bool(false) AUthentication failure (in pam_authenticate)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-01 21:06 UTC]
-Status: Open +Status: Wont fix
 [2017-04-01 21:06 UTC]
Due to this extension not seeing any activity since 2009, this issue will not be fixed. We are therefore closing this now.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 23 08:01:24 2023 UTC