I'm new to Drupal and I'm setting up a new intranet site.
I want users to be anonymous by default, with the option to authenticate using NTLM.

I set this up by using Webserver auth, and enabling Windows authentication in IIS only for a single file,
/windows_login.php: require_once 'index.php';
When users click on a link to the file, they are authenticated and brought back to the main page.

There is probably a better way to do this, but I thought that something like this would be a good optional feature for this module.

This feature could also work better with other authentication methods.
The next thing I plan to do is make sure it will work interchangeably with the Drupal login method.

Comments

mecvo1984’s picture

I have the exact same dilemma: Drupal 6 setup on IIS6. Would like Intranet users to be able to authenticate automatically using NTLM and also allow anonymous access.

How did you set IIS up? Did you turn on NTLM and turn off anonymous access, do you have them both checked? I'm using webserver_auth module with patch to strip the domain prefix off. With NTLM checked and anonymous turned off, everyone authenticates as they should.

Is there a way to also allow anonymous access at the same time? When that is turned on with NTLM, everyone is anonymous and I no longer authenticate as Administrator.

I disabled the Logout link in Blocks so that no longer shows up when NTLM is activated.

How did you do this: "enable Windows authentication in IIS only for a single file"?

Thanks so much.

gaards’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.