Re: User has to login twice. Why??

From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 08/10/03

  • Next message: Ephrem Beyene: "Re: Security tab doesn't appear in folder property dialogbox"
    Date: Sun, 10 Aug 2003 12:51:47 -0500
    
    

    That is the expected result when you use both Windows authentication
    (Integrated auth. is checked) and Forms authentication. If you don't want
    the Windows authentication, disable IIS/Windows authentication completely by
    allowing anonymous and unchecking all Windows auth settings.

    Joe K.

    "Redeye" <redeye_51@hotmail.com> wrote in message
    news:e2MnNTSXDHA.2476@tk2msftngp13.phx.gbl...
    > Hello,
    >
    > I am using windows forms authentication in my asp.net web application so
    > that it uses ADSI to validate users.
    >
    > The application is in a virtual directory on my local system,
    > (http://Localhost/MyApp), and it makes the call to a domain server on our
    > network. Everything works great. When the application is on the deployment
    > server the user is required to login via the windows login (Pop-up) and
    then
    > once again via the login form.
    >
    > The test environment:
    > ------------------------------------------------------
    > IIS Authentication Methods: (Local Machine)
    > Anonymous access (unchecked)
    > --
    > Basic authentication(checked)
    > Digest authentication(grayed out)
    > Integrated Windows authentication(checked)
    > ------------------------------------------------------
    >
    > The deployment environment:
    > The application is in the root directory, (http://MyApp.com), and it makes
    > the call to a domain server on the network.
    > ------------------------------------------------------
    > IIS Authentication Methods: (Deployment Server)
    > Anonymous access (unchecked)
    > --
    > Basic authentication(checked)
    > Digest authentication(checked) I have also tried it unchecked.
    > Integrated Windows authentication(checked)
    > ------------------------------------------------------
    >
    > What security settings need to be changed?
    >
    > Here is the web.config file settings.
    > <identity impersonate="true"/>
    >
    > <authentication mode="Forms">
    > <forms loginUrl="logon.aspx" name="MyDomain" timeout="10" path="/" >
    > </forms>
    > </authentication>
    >
    > <authorization>
    > <deny users="?" />
    > <allow users="*" />
    > </authorization>
    >
    > Thanks,
    > Bryan
    >
    >


  • Next message: Ephrem Beyene: "Re: Security tab doesn't appear in folder property dialogbox"

    Relevant Pages

    • Re: Change in ASP.Net authentication between Win2000 and Win2003
      ... > is turning on/off Kerberos is occuring. ... It control how IE deals with "Authentication: ... when you put IIS6 in a domain and have "Integrated Windows Authentication" ...
      (microsoft.public.windows.server.security)
    • Re: Change in ASP.Net authentication between Win2000 and Win2003
      ... > is turning on/off Kerberos is occuring. ... It control how IE deals with "Authentication: ... when you put IIS6 in a domain and have "Integrated Windows Authentication" ...
      (microsoft.public.inetserver.iis.security)
    • Re: Need help configuring Wireless Connection profile
      ... and I can only use the intel OR windows utility, not both at the same time. ... Windows authentication for all users,4129,LRG\ryanv,4149,Wireless WPA2 ... SMALL BUSINESS SERVER: ... STEP #1 Install Certificate Services ...
      (microsoft.public.windowsxp.general)
    • Re: form authentication and webservices
      ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... We will be using Windows Authentication on the Web Services side (same ... Dominick Baier ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • RE: Beginners Questions
      ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
      (microsoft.public.dotnet.distributed_apps)