Optional Webserver authentication as a link

Seraphan - October 9, 2008 - 04:44
Project:Webserver authentication
Version:6.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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:

<?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.

#1

mecvo1984 - March 23, 2009 - 19:45

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.

 
 

Drupal is a registered trademark of Dries Buytaert.