Click to See Complete Forum and Search --> : mod_ntlm config


nikloc
10-14-2002, 11:45 AM
hi,

I have apache 1.3.26 installed on a win2k server. I have installed the NT authentication module mod_ntlm by I'm not able to get it working.

The LoadModule and AddModule are included (I assume this is fine due to the fact that when you browser http://localhost/server-info it is included with the instaleld modules).

I have a vhost set up as shown:

<VirtualHost intranet-cs>
DocumentRoot C:/www/cs/htdocs
ServerName intranet-cs
<Directory "C:/www/cs/htdocs">
AuthType NTLM
NTLMAuth On
NTLMOfferNTLM On
NTLMAuthoritative On
NTLMOfferBasic On
NTLMDomain DomainName
NTLMBasicPreferred off
require valid-user
</Directory>
</VirtualHost>

which should request a username and password when browsing to http://intranet-cs and validate this username/password against the windows login.

File permission have been set on the document root to only allow certain users access but apache overrides any NT permission settings.

Needless to say none of this works and access is allowed to everything - does anyone have any ideas where I am going wrong??

many thanks

nikloc.