auth-pam with Apache gives me error 500
I can't get PAM-authentication working on a feisty (Apache2.2 2.2.3-3.2build1 and libapache2-
Pointing Firefox to the site gives me the authentication form and after (when userid and password are tested) I got error 500.
Apache (www-data) is a member of the group shadow and can read /etc/shadow, I have tested with sudo su www-data -c "cat /etc/shadow"
/etc/apache2/
<Directory /var/www/>
error.log:
[Thu Aug 02 14:18:29 2007] [error] Internal error: pcfg_openfile() called with NULL filename
[Thu Aug 02 14:18:29 2007] [error] [client 81.nn.nn.nn] (9)Bad file descriptor: Could not open password file: (null)
Any clue?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Anders Wallenquist
- Solved:
- 2007-08-03
- Last query:
- 2007-08-03
- Last reply:
| Anders Wallenquist (aw) said : | #1 |
This made my day:
<Directory /var/www/>
But still I believe that this module uses wrong authentication framework for Apache2.2, this AuthType Basic and AuthBasicAuthor
| KarlGoetz (kgoetz) said : | #2 |
I'd be interested in hearing a reply to this. The problem exists in gutsy too.
| KarlGoetz (kgoetz) said : | #3 |
After some asking aroud, it seems the module in question is no longer maintained, and has posably been depreciated.
< fajita> mod_auth_pam is a module that requires access to one's system password file. http://

