Now with:

AuthPAM_Enabled on
AuthType Basic
AuthName "PAM"
AuthBasicAuthoritative off
require valid-user

I still get, in apache2/error.log:

[Fri Mar 02 12:22:05 2007] [error] Internal error: pcfg_openfile()
  called with NULL filename 
[Fri Mar 02 12:22:05 2007] [error] [client 65.222.215.34] (9)Bad file
  descriptor: Could not open password file: (null) 
[Fri Mar 02 12:22:07 2007] [error] [client 65.222.215.34] PAM: user
  'jam' - not authenticated: Authentication failure 

HOWEVER changing 'AuthName "PAM"' to 'AuthName "Login"' gets a
successful login but the following in apache2/error.log:

[Fri Mar 02 12:53:09 2007] [error] Internal error: pcfg_openfile()
  called with NULL filename 
[Fri Mar 02 12:53:09 2007] [error] [client 65.222.215.34] (9)Bad file
  descriptor: Could not open password file: (null), referer:
  http://pisa.essential.org/squirrelmail/src/login.php 
[Fri Mar 02 12:53:09 2007] [error] Internal error: pcfg_openfile()
  called with NULL filename 
[Fri Mar 02 12:53:09 2007] [error] [client 65.222.215.34] (9)Bad file
  descriptor: Could not open password file: (null), referer:
  http://pisa.essential.org/squirrelmail/src/login.php 
[Fri Mar 02 12:53:09 2007] [error] Internal error: pcfg_openfile()
  called with NULL filename 
[Fri Mar 02 12:53:09 2007] [error] [client 65.222.215.34] (9)Bad file
  descriptor: Could not open password file: (null), referer:
  http://pisa.essential.org/squirrelmail/src/webmail.php 
[Fri Mar 02 12:53:09 2007] [error] Internal error: pcfg_openfile()
  called with NULL filename 
[Fri Mar 02 12:53:09 2007] [error] [client 65.222.215.34] (9)Bad file
  descriptor: Could not open password file: (null), referer:
  http://pisa.essential.org/squirrelmail/src/webmail.php 

The above is with a single login.

When logging out:

[Fri Mar 02 12:55:24 2007] [error] Internal error: pcfg_openfile()
  called with NULL filename 
[Fri Mar 02 12:55:24 2007] [error] [client 65.222.215.34] (9)Bad file
  descriptor: Could not open password file: (null), referer:
  http://pisa.essential.org/squirrelmail/src/right_main.php 

Two questions:

        1. Why would changing the AuthName make such a difference?

        2. Does the 'Bad file descriptor' warrant looking into?

Thank you.

        jam

Attachment: pgpCgiH4YIF0f.pgp
Description: PGP signature

Reply via email to