Filipe Lautert <[EMAIL PROTECTED]> wrote:
> Following this thread I could get auth_pam to work, but for each
> action that I take it prints the following in my apache error.log:
> 
> [Fri Mar 09 08:43:07 2007] [error] Internal error: pcfg_openfile() 
> called with NULL filename
> [Fri Mar 09 08:43:07 2007] [error] [client 200.189.112.13] (9)Bad
> file descriptor: Could not open password file: (null)
> 
> And so on. It works, but still creating those logs.

That's because the default basic authentication method, mod_authn_file,
is still taking a first crack at authenticating each access, and it
reports an error because it doesn't have a file configured. It then
passes through to mod_auth_pam because of the "AuthBasicAuthoritative
off", which in turn succeeds.

To silense the error message, configure mod_authn_file to use a null
config file, with "AuthUserFile /dev/null".

- Marc







-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to