Tuesday, July 14, 2009

AuthBasicAuthoritative

Debian OpenLogoImage via Wikipedia

Quite some time ago I posted an entry here about configuring Apache to authenticate against an NT4 Windows domain using PAM. That was on an older Fedora box. The original post is here:

http://jsexton0.blogspot.com/2007/10/subversion-fedora-pam-winbindd-apache.html

On a new Debian box, a very simular configuration failed. The Apache server recorded this message in its error log:

Internal error: pcfg_openfile() called with NULL filename

It turns out that later versions of Apache expect a users file even if the authentication method does not use one. The fix is to add an additional directive to protected block in Apache's configuration file.

AuthBasicAuthoritative Off

Reblog this post [with Zemanta]

No comments:

Post a Comment