On Fri, Mar 10, 2017 at 02:59:10PM +1100, Hamish Moffatt wrote:
> I've configured this module according to the README instructions, but it
> doesn't work - any
> attempt to authenticate results in the following in the Apache log:
>
> [Fri Mar 10 14:49:34.047665 2017] [authn_core:error] [pid 15805] [client
> 192.168.42.2:40411] AH01796: AuthType NTLM configured without corresponding
> module
>
> I have put the following in a <VirtualHost>.
>
> <Proxy "*">
> AuthName "NTLM Authentication thingy"
>
> NTLMAuth on
> NTLMAuthHelper "/usr/bin/ntlm_auth
> --helper-protocol=squid-2.5-ntlmssp"
> NTLMBasicAuthoritative on
> AuthType NTLM
> require valid-user
>
> </Proxy>
>
>
> I have marked this important as the package would seem to be unusable.
Did you enable the module as well as installing the package?
sudo a2enmod auth_ntlm_winbind
Once I do that, the verbatim first example in README (i.e. using
<Directory> rather than <Proxy>) seems to work for me. At least I don't
get the error above and a login box pops up in the broswer - I don't have
anything actually set up to auth against (which is why I've orphaned the
package).
Cheers,
Olly