After more than two weeks digging in this problem, I have some
interesting things to share in order to help anyone with this kind of
problem.
First, I will point you to a couple of articles that we tackled with
but still with no success.
Next, I will tell you how to replicated the problem if you want to
experiment and try solving it.
This first article describes exactly the problem we have.
Unfortunately, the solution proposed can't be adopted since we have
multiple application pool each running under its own specific domain
account. The workaround proposed is one that we might use in the last
resort because we do not want to rely on NTLM anymore to perform
authentication.
http://support.microsoft.com/kb/871179/en-us
The next article explain why anthentication uses NTLM instead of
Kerberos:
http://technet2.microsoft.com/Window...6e8dd1033.mspx
This one indicates on to configures IIS to support both Kerberos and
NTLM authentication:
http://support.microsoft.com/kb/215383/EN-US/
Another Kerberos article on user belonging to too many groups:
http://support.microsoft.com/?kbid=280830
This last two articles is about delegating authentication and we have
not yet investigate it:
http://www.microsoft.com/technet/pro...a81454cfe.mspx
http://www.microsoft.com/technet/pro...5d2159199.mspx
In order for some of you to replicate the problem we have and to try
their hands on it, follow these lines to create a very simple .NET
application.
1- On a Windows Server 2003, put an ASP.NET 1.1 application (that you
made on your dev station) that does nothing (no lines of code in it)
except maybe printing a message ;
2- In IIS Manager, create a new application pointing to the folder you
just copied you application. Be sure that only Windows integrated
authentication is selected in 'Directory Security'
3- Still in IIS Manager, create a new application pool, and under the
'Identity' tab, click the radio-button 'Configurable' and type in a
service account from your Active Directory and its password; Set your
application to use the new application pool you just created.
4- Add this selected Active Directory account to the local group
IIS_WPG;
5- Add the Read NTFS rights for this Active Directory account on the
folder of your application and the local Users groups too;
6- In the Web.config file of your application, check that these
settings are like those in the <system.web> section:
<authentication mode="Windows" />
<identity impersonate="false" />
<authorization>
<allow users="*" />
</authorization>
7- Try to access your site to your *.aspx page and you should be
prompted to authenticated even though you have the rights to access it.
Well I have no more time to write more at the moment, but I will come
back with news as soon as I have.
Thx!
P.J