Windows authentication breaks after configuring application pool identity

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Windows authentication breaks after configuring application pool identity

    Hi group

    I run IIS 6.0 on W2k3 being an Active Directory Controller in a test lab.
    Create a virtual directory 'test' with Windows authentication on and
    anonymous access off.
    Create a static test.html file in the directory.
    Open it in a browser and it's ok.
    Now I configure a separate application pool for this virtual directory (ASP
    1.1) with the default Netwok Service identity. It's ok, too.
    Now I create a domain account, add it to IIS_WPG group and configure it to
    be the application pool identity. This breaks Windows authentication and I
    keep getting 401.1 errors from IIS.

    The same works fine on another W2k3 not a domain member.

    Any ideas where I can be wrong ?

    Thanks


    Igor Dombrovan Guest

  2. Similar Questions and Discussions

    1. Windows authentication for web application
      Hi All, I want to do authentication based on the windows user accounts for my web application. I want to confirm the windows user account...
    2. SQL / IIS Application Pool Identity
      Hi, I've got an ASP.NET web application which uses Windows security with a SQL Server database. I want to use the application pool identity to...
    3. Impersonate IIS Application Pool Identity
      How do I get an IIS application pool identity, and create a Windows Impersonation Context from it? Troy
    4. Problems after changing Identity Application Pool Settings (sn-yycbk.dll)
      Applies to: W2K3 Server / IIS6 / Default Isolation Mode / ASP.NET 1.1 We wish to run our ASPNET worker process in a domain account so as to use...
    5. Obtaining Application Pool Identity in Inpersonation Mode
      I have an ASP.Net application running on IIS 6.0 that is configured to impersonate the identity of the user who is accessing the page. I am...
  3. #2

    Default Re: Windows authentication breaks after configuring application pool identity

    I used to have a list of things to check, but don't seem to have it handy on
    my current laptop.

    Check this list here:
    [url]http://support.microsoft.com/?kbid=812614[/url]

    Cheers
    Ken


    "Igor Dombrovan" <no@spam.no> wrote in message
    news:%23QkAGtZHFHA.3588@TK2MSFTNGP14.phx.gbl...
    : Hi group
    :
    : I run IIS 6.0 on W2k3 being an Active Directory Controller in a test lab.
    : Create a virtual directory 'test' with Windows authentication on and
    : anonymous access off.
    : Create a static test.html file in the directory.
    : Open it in a browser and it's ok.
    : Now I configure a separate application pool for this virtual directory
    (ASP
    : 1.1) with the default Netwok Service identity. It's ok, too.
    : Now I create a domain account, add it to IIS_WPG group and configure it to
    : be the application pool identity. This breaks Windows authentication and I
    : keep getting 401.1 errors from IIS.
    :
    : The same works fine on another W2k3 not a domain member.
    :
    : Any ideas where I can be wrong ?
    :
    : Thanks
    :
    :


    Ken Schaefer Guest

  4. #3

    Default Re: Windows authentication breaks after configuring application pool identity

    Hi

    I cross-posted the question to IIS Security because it seems to be an IIS
    authentication problem although everything breaks after I configure the
    application pool's identity to a custom domain account. I check if it works
    with a static html file.

    Again,

    Windows auth with app pool identity being Netwok Service authenticates
    domain users ok.
    Windows auth with app pool identity being a custom domain account included
    in IIS_WPG doesn't authenticate domain users with event id 529 user name or
    password unknown from Kerberos.
    Anonymous works fine with any config.
    Not that I'm stuck, just trying to understand how it works. Or to be
    correct, doesn't work.

    Thanks,
    Igor

    "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> сообщил/сообщила в новостях
    следующее: news:eKlp0BaHFHA.2728@TK2MSFTNGP10.phx.gbl...
    I used to have a list of things to check, but don't seem to have it handy on
    my current laptop.

    Check this list here:
    [url]http://support.microsoft.com/?kbid=812614[/url]

    Cheers
    Ken


    "Igor Dombrovan" <no@spam.no> wrote in message
    news:%23QkAGtZHFHA.3588@TK2MSFTNGP14.phx.gbl...
    : Hi group
    :
    : I run IIS 6.0 on W2k3 being an Active Directory Controller in a test lab.
    : Create a virtual directory 'test' with Windows authentication on and
    : anonymous access off.
    : Create a static test.html file in the directory.
    : Open it in a browser and it's ok.
    : Now I configure a separate application pool for this virtual directory
    (ASP
    : 1.1) with the default Netwok Service identity. It's ok, too.
    : Now I create a domain account, add it to IIS_WPG group and configure it to
    : be the application pool identity. This breaks Windows authentication and I
    : keep getting 401.1 errors from IIS.
    :
    : The same works fine on another W2k3 not a domain member.
    :
    : Any ideas where I can be wrong ?
    :
    : Thanks
    :
    :


    Igor Dombrovan Guest

  5. #4

    Default Re: Windows authentication breaks after configuring application pool identity

    A quick workaround will be to have the Application Pool to take the identity of NETWORK SERVICE, and have the website to impersonate the user - add the <impersonate> tag in the web.config file.

    - Xavier
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139