Skip to content

NTLM Auth with IIS from Windows Server 2025 #1302

Description

@onixterry

I'm trying to crawl a web site that uses IIS on Windows Server 2016. We have V2 of the HTTP Collector running without any issues.

We have converted the configuration file over to version 3 and tested it on a public site and it works fine. When configuring it for the Intranet site, it is receiving a 401 error on the home page and failing to authenticate.

We are using the same username, password and domain information from the V2 implementation.

We have tried the username in these formats:

username
DOMAIN\username
username@domain.fqdn.example.com

We've tried the "preemptive" setting as both true and false.

In all cases, we see the same results, it never authenticates.

The V3 version is running on a different workstation. We have used curl -I --ntlm -u user:passs and confirmed that we see the intiital 401 error followed by a successfuly NTLM negotiation and a 200 response.

I tested the configuration against a public NTLM endpoint (https://authenticationtest.com/HTTPAuth/), which worked fine if "preemptive" was set to true but not false.

Attached are the logs from V2 and V3 as well as the configuration file for V3.

Any suggestions as to what might be happening here?

iis-ntlm-authentication-issue.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions