Re: Using Integrated Windows Authentication to access Active Directory

From: John M Deal (johndeal_at_necessitysoftware.com)
Date: 12/06/04


Date: Mon, 06 Dec 2004 11:25:29 -0800

Here's an ASP Alliance article that I came across recently that
discusses this. Hope it helps.

http://aspalliance.com/553

Have A Better One!

John M Deal, MCP
Necessity Software

metridevkk wrote:
> Hi,
> I have disabled "Anonymous Access" & enabled "Integrated Windows
> Authentication" on the web server for my ASP.NET application. My Web.config
> file has the following entries:
>
> <authentication mode="Windows" />
> <identity impersonate="true"/>
>
> Now when I run the application from within Visual Studio.NET, the
> application successfully runs after determining the windows user in the code
> using "User.Identity.Name" & I am able to access the active DirectoryEntry
> for that User.
>
> However, when I navigate to this new aspx page from an existing ASP page, I
> am prompted to login to the domain again.
>
> Any help will be greatly appreciated!!! Its urgent for me to solve this
> problem.
>
> Thanks