|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57865 Authenticaton Problem with krb5 with
Submitted: 2007-10-07 06:32 UTC Modified: 2009-01-08 14:50 UTC
From: m dot unterbauer at gmail dot com Assigned:
Status: No Feedback Package: PAM (PECL)
PHP Version: 5.1.6 OS: CentOS 5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: m dot unterbauer at gmail dot com
New email:
PHP Version: OS:


 [2007-10-07 06:32 UTC] m dot unterbauer at gmail dot com
I have installed pam_auth for use within a php script. In PAM i use It works fine with local accounts. Because i do not want local accounts i tried to config pam with /lib/security/ for account and this doesn't work.

Reproduce code:
pam config

auth    required          /lib/security/  debug
account required         /lib/security/

Expected result:
$error = User not known to the underlying authentication module (in pam_authenticate)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-17 15:54 UTC] mikael at synd dot info
This is most likely a problem with you pam setup and not the pecl/pam extension. This is the config file I use with PHP and, please try adding "no_user_check" and the "session" line.

[mikl@example ~]$ cat /etc/pam.d/php
auth            sufficient      /lib/security/ realm=EXAMPLE.COM no_user_check
account         required        /lib/security/
session         required        /lib/security/
 [2007-10-17 15:57 UTC] mikael at synd dot info
Btw, that should be:

auth   required   /lib/security/ realm=EXAMPLE.COM no_user_check

(This particular site has multiple realms with corresponding "auth" statements, the last one must have "required" set however)
 [2009-01-08 14:50 UTC] mikael at synd dot info
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 16:01:29 2024 UTC