Bug#857326: AH01796: AuthType NTLM configured without corresponding module

2017-03-13 Thread Hamish Moffatt
Ah, sorry it does work. I was testing with Basic authentication, which 
isn't enabled by default. When you try with NTLM it does work, at least 
when I put the config in a Directory or Location section.


For basic auth to work as well you can configure it as:


NTLMAuth on
NTLMAuthHelper "/usr/bin/ntlm_auth 
--helper-protocol=squid-2.5-ntlmssp"
PlainTextAuthHelper "/usr/bin/ntlm_auth 
--helper-protocol=squid-2.5-basic"

NTLMBasicAuthoritative on
NTLMBasicAuth on

AuthType NTLM
require valid-user



It works in a  too for basic authentication, although NTLM from 
Edge doesn't seem good. Proxy from Firefox and some other apps I tried 
seems ok though.


You can close this bug.


thanks
Hamish



Bug#857326: AH01796: AuthType NTLM configured without corresponding module

2017-03-13 Thread Hamish Moffatt

On 11/03/17 08:36, Olly Betts wrote:

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 .


AuthName "NTLM Authentication thingy"

NTLMAuth on
NTLMAuthHelper "/usr/bin/ntlm_auth 
--helper-protocol=squid-2.5-ntlmssp"
NTLMBasicAuthoritative on
AuthType NTLM
require valid-user




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
 rather than ) 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).


Yes I do have the module enabled.

$ ls /etc/apache2/mods-enabled

access_compat.load  authn_core.load authz_user.load  deflate.load  
filter.load   mpm_prefork.confproxy_http.load  setenvif.load   
userdir.conf

actions.confauthn_file.load autoindex.conf   dir.conf  
headers.load  mpm_prefork.loadproxy.load   socache_shmcb.load  
userdir.load

actions.loadauth_ntlm_winbind.load  autoindex.load   dir.load  
include.load  negotiation.confreqtimeout.conf  ssl.confwsgi.conf

alias.conf  authz_core.load cgi.load env.load  
macro.loadnegotiation.loadreqtimeout.load  ssl.loadwsgi.load

alias.load  authz_groupfile.loaddav.load fastcgi.conf  
mime.conf proxy.conf  rewrite.load status.conf

auth_basic.load authz_host.load deflate.conf fastcgi.load  
mime.load proxy_connect.load  setenvif.confstatus.load


I tried it on a  and got the same thing.

DocumentRoot /srv/web/testproxy

Options FollowSymLinks
AllowOverride None

NTLMAuth on
NTLMAuthHelper "/usr/bin/ntlm_auth 
--helper-protocol=squid-2.5-ntlmssp"

NTLMBasicAuthoritative on
AuthType NTLM
require valid-user


[Tue Mar 14 12:07:55.169134 2017] [authn_core:error] [pid 32017] [client 
192.168.42.2:45912] AH01796: AuthType NTLM configured without 
corresponding module




Hamish



Bug#857326: AH01796: AuthType NTLM configured without corresponding module

2017-03-10 Thread Olly Betts
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 .
> 
>   
>   AuthName "NTLM Authentication thingy"
> 
>   NTLMAuth on
>   NTLMAuthHelper "/usr/bin/ntlm_auth 
> --helper-protocol=squid-2.5-ntlmssp"
>   NTLMBasicAuthoritative on
>   AuthType NTLM
>   require valid-user
> 
>   
> 
> 
> 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
 rather than ) 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



Bug#857326: AH01796: AuthType NTLM configured without corresponding module

2017-03-09 Thread Hamish Moffatt
Package: libapache2-mod-auth-ntlm-winbind
Version: 0.0.0.lorikeet+svn+801-4
Severity: important

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 .


AuthName "NTLM Authentication thingy"

NTLMAuth on
NTLMAuthHelper "/usr/bin/ntlm_auth 
--helper-protocol=squid-2.5-ntlmssp"
NTLMBasicAuthoritative on
AuthType NTLM
require valid-user




I have marked this important as the package would seem to be unusable.

Hamish

-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libapache2-mod-auth-ntlm-winbind depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.10-10+deb8u8
ii  libc6   2.19-18+deb8u7
ii  winbind 2:4.2.14+dfsg-0+deb8u2

libapache2-mod-auth-ntlm-winbind recommends no packages.

libapache2-mod-auth-ntlm-winbind suggests no packages.

-- no debconf information