|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-04-01 21:06 UTC] tpunt@php.net
-Status: Open
+Status: Wont fix
[2017-04-01 21:06 UTC] tpunt@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 21:00:02 2025 UTC |
Description: ------------ 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: --------------- <?php 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)