Delegation/Basic Authentication - using browsers other than IE

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

  1. #1

    Default Delegation/Basic Authentication - using browsers other than IE

    Hi,

    I'd really like to see my intranet asp.net pages with other browsers, but I'm having a problem when it comes to connecting to SQL Server. My intranet site is configured with Integrated Windows Authentication & Basic Authentication; anonymous access is disabled. I only get these problems when I request a page that uses SQL Server, if the page is just a simple asp page, it works great. Let me run through what I'm doing.

    I request a page that interfaces with SQL Server, since Integrated windows authentication won't work, it falls back on basic, I enter my credentials (yes I'm entering the right ones!), but get hit with these kind of errors.
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    Incidentally, I have already configured delegation on this webserver, and it works perfectly with Internet Explorer/Integrated Windows Authentication. I would think this would be even easier with another browser/basic authentication, since I have to enter my credentials, that should create a primary authentication token on the server for it to use, right?

    My question is, why is my webserver trying to pass "NT AUTHORITY\anonymous logon" on to SQL Server? Both my webserver and my domain account are "Trusted for Delegation"

    I've done a little detective work and determined that if I turn off Integrated Windows Authentication, it works like I want it too, unfortunately I can't do this since everyone else uses IE. It's almost as if IIS is not completely falling back onto Basic Authentication. Can someone help me out here!

    Thanks for any help!
    --Michael
    Raterus Guest

  2. Similar Questions and Discussions

    1. Authentication doesnt work when using non - microsoft browsers :-(
      Sorry all, Thanks for you're help so far. I was meaning to say that Forms Authentication is configured is the web.config and Integrated...
    2. Basic authentication re-direct
      Hello, I have basic authentication turned on for a directory. Is it possible to re-direct a failed login to another page? -- Thanks in...
    3. sso/basic authentication
      We are interested in using basic authentication (with https) to implement Single Sign On (SSO) with Internet Explorer clients. Does anyone have...
    4. ASP.Net Forms authentication with basic authentication popup
      Relatively new to ASP.Net but have a strange problem. My site uses forms authentication for a large administration section however after the user...
    5. Basic Authentication, WebService
      I did the following to add http basic authentication for calling a webservice: chz11086.HelloAuthTestService service = new...
  3. #2

    Default RE: Delegation/Basic Authentication - using browsers other than IE

    Michael,

    By the way, I saw some information recently saying that Firefox now supports
    integrated windows authentication, just as seamlessly as IE does. You have
    to manually enable it tho.

    As for your specific problem, I don't know sorry. :-(

    John

    John Rusk Guest

  4. #3

    Default Re: Delegation/Basic Authentication - using browsers other than IE

    You wouldn't happen to have the link to this would you? I can't find anything on it, and I waded through Firefox 1.0 menu's and didn't see anything about it. That would be pretty nice if it did though! (BTW, I do want to use FireFox with my pages... :-) )

    "John Rusk" <JohnRusk@discussions.microsoft.com> wrote in message news:FE33200B-CD40-4539-A286-B73BBEC15F5D@microsoft.com...
    > Michael,
    >
    > By the way, I saw some information recently saying that Firefox now supports
    > integrated windows authentication, just as seamlessly as IE does. You have
    > to manually enable it tho.
    >
    > As for your specific problem, I don't know sorry. :-(
    >
    > John
    >
    Raterus Guest

  5. #4

    Default Re: Delegation/Basic Authentication - using browsers other than IE

    > You wouldn't happen to have the link to this would you? I can't find
    anything on

    It doesn't seem to be very well publicised. Here are the links I have,
    below. (I haven't actually tried it yet myself.)

    [url]http://www.koldark.net/archives/2004/08/26/ntlm_in_firefoxmozilla.php[/url]
    [url]http://rampage.theficus.com/archives/2004/09/firefox_tutoria.html[/url]

    John
    John Rusk Guest

  6. #5

    Default Re: Delegation/Basic Authentication - using browsers other than IE

    Cute, but that isn't exactly Integrated Windows Authentication at it's fullest. It's half the battle, but NTLM is a bit older technology and isn't fully compatible with today's growing intranet applications. My original issue deals with delegation, and you have to authenticate with Kerberos in order to have your credentials delegated to another server past the webserver. This is not possible with NTLM...well not easily anyway. I received this response once for delegation issues "If you are also running a Windows 2003 Domain, then with constrained delegation you can also configure Protocol Transition" Doesn't sound easy to me!

    "John Rusk" <JohnRusk@discussions.microsoft.com> wrote in message news:E16FFEFE-A2FC-4A00-8E46-F067E6F12B13@microsoft.com...
    > > You wouldn't happen to have the link to this would you? I can't find
    > anything on
    >
    > It doesn't seem to be very well publicised. Here are the links I have,
    > below. (I haven't actually tried it yet myself.)
    >
    > [url]http://www.koldark.net/archives/2004/08/26/ntlm_in_firefoxmozilla.php[/url]
    > [url]http://rampage.theficus.com/archives/2004/09/firefox_tutoria.html[/url]
    >
    > John
    Raterus Guest

  7. #6

    Default Re: Delegation/Basic Authentication - using browsers other than IE

    protocol transition and constrainted delegation are two seperate things,
    although both 2003 features.

    Constrained delegation allows you to limit what other services a specfic
    account can delegate to. In 2000, once you enabled delegation, it was all
    or nothing. A service could delegate to anything.

    Protocol transition is the ability to switch from non-Kerberos auth to a
    Kerberos token. This can be done programmatically by calling LsaLogonUser
    or using the .NET WindowsIdentity constructor that takes the single upn
    argument. However, Windows can also do protocol transition automatically.
    Say for example a user was authenticated via NTLM but now needs to be
    delegated. In this case, Windows will do protocol transition automatically
    and swtich to using Kerberos so delegation is possible.

    There are some really good articles on this stuff that explain it more
    thoroughly, but that is the gist.

    Joe K.

    "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    news:OjLJz0XzEHA.3880@TK2MSFTNGP10.phx.gbl...
    Cute, but that isn't exactly Integrated Windows Authentication at it's
    fullest. It's half the battle, but NTLM is a bit older technology and isn't
    fully compatible with today's growing intranet applications. My original
    issue deals with delegation, and you have to authenticate with Kerberos in
    order to have your credentials delegated to another server past the
    webserver. This is not possible with NTLM...well not easily anyway. I
    received this response once for delegation issues "If you are also running a
    Windows 2003 Domain, then with constrained delegation you can also configure
    Protocol Transition" Doesn't sound easy to me!

    "John Rusk" <JohnRusk@discussions.microsoft.com> wrote in message
    news:E16FFEFE-A2FC-4A00-8E46-F067E6F12B13@microsoft.com...
    > > You wouldn't happen to have the link to this would you? I can't find
    > anything on
    >
    > It doesn't seem to be very well publicised. Here are the links I have,
    > below. (I haven't actually tried it yet myself.)
    >
    > [url]http://www.koldark.net/archives/2004/08/26/ntlm_in_firefoxmozilla.php[/url]
    > [url]http://rampage.theficus.com/archives/2004/09/firefox_tutoria.html[/url]
    >
    > John

    Joe Kaplan \(MVP - ADSI\) Guest

  8. #7

    Default Re: Delegation/Basic Authentication - using browsers other than IE

    Thanks Joe, any idea on my original problem?

    "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote in message news:OLq8$AZzEHA.1652@TK2MSFTNGP11.phx.gbl...
    > protocol transition and constrainted delegation are two seperate things,
    > although both 2003 features.
    >
    > Constrained delegation allows you to limit what other services a specfic
    > account can delegate to. In 2000, once you enabled delegation, it was all
    > or nothing. A service could delegate to anything.
    >
    > Protocol transition is the ability to switch from non-Kerberos auth to a
    > Kerberos token. This can be done programmatically by calling LsaLogonUser
    > or using the .NET WindowsIdentity constructor that takes the single upn
    > argument. However, Windows can also do protocol transition automatically.
    > Say for example a user was authenticated via NTLM but now needs to be
    > delegated. In this case, Windows will do protocol transition automatically
    > and swtich to using Kerberos so delegation is possible.
    >
    > There are some really good articles on this stuff that explain it more
    > thoroughly, but that is the gist.
    >
    > Joe K.
    >
    > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > news:OjLJz0XzEHA.3880@TK2MSFTNGP10.phx.gbl...
    > Cute, but that isn't exactly Integrated Windows Authentication at it's
    > fullest. It's half the battle, but NTLM is a bit older technology and isn't
    > fully compatible with today's growing intranet applications. My original
    > issue deals with delegation, and you have to authenticate with Kerberos in
    > order to have your credentials delegated to another server past the
    > webserver. This is not possible with NTLM...well not easily anyway. I
    > received this response once for delegation issues "If you are also running a
    > Windows 2003 Domain, then with constrained delegation you can also configure
    > Protocol Transition" Doesn't sound easy to me!
    >
    > "John Rusk" <JohnRusk@discussions.microsoft.com> wrote in message
    > news:E16FFEFE-A2FC-4A00-8E46-F067E6F12B13@microsoft.com...
    > > > You wouldn't happen to have the link to this would you? I can't find
    > > anything on
    > >
    > > It doesn't seem to be very well publicised. Here are the links I have,
    > > below. (I haven't actually tried it yet myself.)
    > >
    > > [url]http://www.koldark.net/archives/2004/08/26/ntlm_in_firefoxmozilla.php[/url]
    > > [url]http://rampage.theficus.com/archives/2004/09/firefox_tutoria.html[/url]
    > >
    > > John
    >
    >
    Raterus Guest

  9. #8

    Default Re: Delegation/Basic Authentication - using browsers other than IE

    Nope! I didn't pipe in because I wasn't sure what the answer was. As I
    recall, your scenario was trying to use delegation and WIA, but it wasn't
    working, right? Sorry, but I lost the original post.

    Joe K.

    "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    news:OA91CIbzEHA.1188@tk2msftngp13.phx.gbl...
    Thanks Joe, any idea on my original problem?

    "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
    in message news:OLq8$AZzEHA.1652@TK2MSFTNGP11.phx.gbl...
    > protocol transition and constrainted delegation are two seperate things,
    > although both 2003 features.
    >
    > Constrained delegation allows you to limit what other services a specfic
    > account can delegate to. In 2000, once you enabled delegation, it was all
    > or nothing. A service could delegate to anything.
    >
    > Protocol transition is the ability to switch from non-Kerberos auth to a
    > Kerberos token. This can be done programmatically by calling LsaLogonUser
    > or using the .NET WindowsIdentity constructor that takes the single upn
    > argument. However, Windows can also do protocol transition automatically.
    > Say for example a user was authenticated via NTLM but now needs to be
    > delegated. In this case, Windows will do protocol transition
    > automatically
    > and swtich to using Kerberos so delegation is possible.
    >
    > There are some really good articles on this stuff that explain it more
    > thoroughly, but that is the gist.
    >
    > Joe K.
    >
    > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > news:OjLJz0XzEHA.3880@TK2MSFTNGP10.phx.gbl...
    > Cute, but that isn't exactly Integrated Windows Authentication at it's
    > fullest. It's half the battle, but NTLM is a bit older technology and
    > isn't
    > fully compatible with today's growing intranet applications. My original
    > issue deals with delegation, and you have to authenticate with Kerberos in
    > order to have your credentials delegated to another server past the
    > webserver. This is not possible with NTLM...well not easily anyway. I
    > received this response once for delegation issues "If you are also running
    > a
    > Windows 2003 Domain, then with constrained delegation you can also
    > configure
    > Protocol Transition" Doesn't sound easy to me!
    >
    > "John Rusk" <JohnRusk@discussions.microsoft.com> wrote in message
    > news:E16FFEFE-A2FC-4A00-8E46-F067E6F12B13@microsoft.com...
    > > > You wouldn't happen to have the link to this would you? I can't find
    > > anything on
    > >
    > > It doesn't seem to be very well publicised. Here are the links I have,
    > > below. (I haven't actually tried it yet myself.)
    > >
    > > [url]http://www.koldark.net/archives/2004/08/26/ntlm_in_firefoxmozilla.php[/url]
    > > [url]http://rampage.theficus.com/archives/2004/09/firefox_tutoria.html[/url]
    > >
    > > John
    >
    >

    Joe Kaplan \(MVP - ADSI\) Guest

  10. #9

    Default Re: Delegation/Basic Authentication - using browsers other than IE

    Here is my original post. I haven't really gotten past this yet. Thanks for any help you might add. I'd imagine this may be easily recreated by anyone by trying another browser besides IE on their ASP/ASP.net pages (using WIA of course)
    --

    I'd really like to see my intranet asp.net pages with other browsers, but I'm having a problem when it comes to connecting to SQL Server. My intranet site is configured with Integrated Windows Authentication & Basic Authentication; anonymous access is disabled. I only get these problems when I request a page that uses SQL Server, if the page is just a simple asp page, it works great. Let me run through what I'm doing.

    I request a page that interfaces with SQL Server, since Integrated windows authentication won't work, it falls back on basic, I enter my credentials (yes I'm entering the right ones!), but get hit with these kind of errors.
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    Incidentally, I have already configured delegation on this webserver, and it works perfectly with Internet Explorer/Integrated Windows Authentication. I would think this would be even easier with another browser/basic authentication, since I have to enter my credentials, that should create a primary authentication token on the server for it to use, right?

    My question is, why is my webserver trying to pass "NT AUTHORITY\anonymous logon" on to SQL Server? Both my webserver and my domain account are "Trusted for Delegation"

    I've done a little detective work and determined that if I turn off Integrated Windows Authentication, it works like I want it too, unfortunately I can't do this since everyone else uses IE. It's almost as if IIS is not completely falling back onto Basic Authentication. Can someone help me out here!


    "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote in message news:u5eHTjbzEHA.2572@tk2msftngp13.phx.gbl...
    > Nope! I didn't pipe in because I wasn't sure what the answer was. As I
    > recall, your scenario was trying to use delegation and WIA, but it wasn't
    > working, right? Sorry, but I lost the original post.
    >
    > Joe K.
    >
    > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > news:OA91CIbzEHA.1188@tk2msftngp13.phx.gbl...
    > Thanks Joe, any idea on my original problem?
    >
    > "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
    > in message news:OLq8$AZzEHA.1652@TK2MSFTNGP11.phx.gbl...
    > > protocol transition and constrainted delegation are two seperate things,
    > > although both 2003 features.
    > >
    > > Constrained delegation allows you to limit what other services a specfic
    > > account can delegate to. In 2000, once you enabled delegation, it was all
    > > or nothing. A service could delegate to anything.
    > >
    > > Protocol transition is the ability to switch from non-Kerberos auth to a
    > > Kerberos token. This can be done programmatically by calling LsaLogonUser
    > > or using the .NET WindowsIdentity constructor that takes the single upn
    > > argument. However, Windows can also do protocol transition automatically.
    > > Say for example a user was authenticated via NTLM but now needs to be
    > > delegated. In this case, Windows will do protocol transition
    > > automatically
    > > and swtich to using Kerberos so delegation is possible.
    > >
    > > There are some really good articles on this stuff that explain it more
    > > thoroughly, but that is the gist.
    > >
    > > Joe K.
    > >
    > > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > > news:OjLJz0XzEHA.3880@TK2MSFTNGP10.phx.gbl...
    > > Cute, but that isn't exactly Integrated Windows Authentication at it's
    > > fullest. It's half the battle, but NTLM is a bit older technology and
    > > isn't
    > > fully compatible with today's growing intranet applications. My original
    > > issue deals with delegation, and you have to authenticate with Kerberos in
    > > order to have your credentials delegated to another server past the
    > > webserver. This is not possible with NTLM...well not easily anyway. I
    > > received this response once for delegation issues "If you are also running
    > > a
    > > Windows 2003 Domain, then with constrained delegation you can also
    > > configure
    > > Protocol Transition" Doesn't sound easy to me!
    > >
    > > "John Rusk" <JohnRusk@discussions.microsoft.com> wrote in message
    > > news:E16FFEFE-A2FC-4A00-8E46-F067E6F12B13@microsoft.com...
    > > > > You wouldn't happen to have the link to this would you? I can't find
    > > > anything on
    > > >
    > > > It doesn't seem to be very well publicised. Here are the links I have,
    > > > below. (I haven't actually tried it yet myself.)
    > > >
    > > > [url]http://www.koldark.net/archives/2004/08/26/ntlm_in_firefoxmozilla.php[/url]
    > > > [url]http://rampage.theficus.com/archives/2004/09/firefox_tutoria.html[/url]
    > > >
    > > > John
    > >
    > >
    >
    >
    Raterus Guest

  11. #10

    Default Re: Delegation/Basic Authentication - using browsers other than IE

    Yeah, I can't help you here. I have no idea what's going on. It would be
    interesting to know what kind of token is getting created for the user on
    the server as that might explain what's going on. Basic should create a
    primary token that doesn't need delegation, but it looks like that might not
    be happening.

    Without some deeper understanding of the actual tokens getting created, I
    have no idea what to tell you.

    Sorry,

    Joe K.

    "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    news:uMOhvjkzEHA.3840@tk2msftngp13.phx.gbl...
    Here is my original post. I haven't really gotten past this yet. Thanks
    for any help you might add. I'd imagine this may be easily recreated by
    anyone by trying another browser besides IE on their ASP/ASP.net pages
    (using WIA of course)
    --

    I'd really like to see my intranet asp.net pages with other browsers, but
    I'm having a problem when it comes to connecting to SQL Server. My intranet
    site is configured with Integrated Windows Authentication & Basic
    Authentication; anonymous access is disabled. I only get these problems
    when I request a page that uses SQL Server, if the page is just a simple asp
    page, it works great. Let me run through what I'm doing.

    I request a page that interfaces with SQL Server, since Integrated windows
    authentication won't work, it falls back on basic, I enter my credentials
    (yes I'm entering the right ones!), but get hit with these kind of errors.
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    Incidentally, I have already configured delegation on this webserver, and it
    works perfectly with Internet Explorer/Integrated Windows Authentication. I
    would think this would be even easier with another browser/basic
    authentication, since I have to enter my credentials, that should create a
    primary authentication token on the server for it to use, right?

    My question is, why is my webserver trying to pass "NT AUTHORITY\anonymous
    logon" on to SQL Server? Both my webserver and my domain account are
    "Trusted for Delegation"

    I've done a little detective work and determined that if I turn off
    Integrated Windows Authentication, it works like I want it too,
    unfortunately I can't do this since everyone else uses IE. It's almost as
    if IIS is not completely falling back onto Basic Authentication. Can
    someone help me out here!


    "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
    in message news:u5eHTjbzEHA.2572@tk2msftngp13.phx.gbl...
    > Nope! I didn't pipe in because I wasn't sure what the answer was. As I
    > recall, your scenario was trying to use delegation and WIA, but it wasn't
    > working, right? Sorry, but I lost the original post.
    >
    > Joe K.
    >
    > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > news:OA91CIbzEHA.1188@tk2msftngp13.phx.gbl...
    > Thanks Joe, any idea on my original problem?
    >
    > "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
    > in message news:OLq8$AZzEHA.1652@TK2MSFTNGP11.phx.gbl...
    > > protocol transition and constrainted delegation are two seperate things,
    > > although both 2003 features.
    > >
    > > Constrained delegation allows you to limit what other services a specfic
    > > account can delegate to. In 2000, once you enabled delegation, it was
    > > all
    > > or nothing. A service could delegate to anything.
    > >
    > > Protocol transition is the ability to switch from non-Kerberos auth to a
    > > Kerberos token. This can be done programmatically by calling
    > > LsaLogonUser
    > > or using the .NET WindowsIdentity constructor that takes the single upn
    > > argument. However, Windows can also do protocol transition
    > > automatically.
    > > Say for example a user was authenticated via NTLM but now needs to be
    > > delegated. In this case, Windows will do protocol transition
    > > automatically
    > > and swtich to using Kerberos so delegation is possible.
    > >
    > > There are some really good articles on this stuff that explain it more
    > > thoroughly, but that is the gist.
    > >
    > > Joe K.
    > >
    > > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > > news:OjLJz0XzEHA.3880@TK2MSFTNGP10.phx.gbl...
    > > Cute, but that isn't exactly Integrated Windows Authentication at it's
    > > fullest. It's half the battle, but NTLM is a bit older technology and
    > > isn't
    > > fully compatible with today's growing intranet applications. My
    > > original
    > > issue deals with delegation, and you have to authenticate with Kerberos
    > > in
    > > order to have your credentials delegated to another server past the
    > > webserver. This is not possible with NTLM...well not easily anyway. I
    > > received this response once for delegation issues "If you are also
    > > running
    > > a
    > > Windows 2003 Domain, then with constrained delegation you can also
    > > configure
    > > Protocol Transition" Doesn't sound easy to me!
    > >
    > > "John Rusk" <JohnRusk@discussions.microsoft.com> wrote in message
    > > news:E16FFEFE-A2FC-4A00-8E46-F067E6F12B13@microsoft.com...
    > > > > You wouldn't happen to have the link to this would you? I can't
    > > > > find
    > > > anything on
    > > >
    > > > It doesn't seem to be very well publicised. Here are the links I
    > > > have,
    > > > below. (I haven't actually tried it yet myself.)
    > > >
    > > > [url]http://www.koldark.net/archives/2004/08/26/ntlm_in_firefoxmozilla.php[/url]
    > > > [url]http://rampage.theficus.com/archives/2004/09/firefox_tutoria.html[/url]
    > > >
    > > > John
    > >
    > >
    >
    >

    Joe Kaplan \(MVP - ADSI\) Guest

  12. #11

    Default Re: Delegation/Basic Authentication - using browsers other than IE

    Hi,

    If basic authentication is truly being used, then IIS has the user's
    username and password, and should be able to directly send that to SQL
    Server. As you can see, this works when you disable Integrated Windows
    Authentication completely.

    What I suspect is happening is that NTLM authentication is being used. When
    IWA is enabled, IIS actually (by default) sends back two HTTP Authentication
    headers:
    WWW-Authenticate: Negotiate <- Kerberos
    WWW-Authenticate: NTLM <- NTLM
    WWW-Authenticate: Basic <- Basic

    If your browser supports NTLM (eg later versions of Opera, and
    Mozilla/Firefox do as well), then they will pick NTLM. Then you'll run into
    delegation problems as IIS doesn't have the user's username/password -and-
    you haven't enabled protocol transition.

    Now, if you want to verify what's happening, you can use the new IIS
    AuthDiag tool which you can download from here:
    [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=e90fe777-4a21-4066-bd22-b931f7572e9a&DisplayLang=en[/url]

    Cheers
    Ken


    "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    news:uMOhvjkzEHA.3840@tk2msftngp13.phx.gbl...
    Here is my original post. I haven't really gotten past this yet. Thanks
    for any help you might add. I'd imagine this may be easily recreated by
    anyone by trying another browser besides IE on their ASP/ASP.net pages
    (using WIA of course)
    --

    I'd really like to see my intranet asp.net pages with other browsers, but
    I'm having a problem when it comes to connecting to SQL Server. My intranet
    site is configured with Integrated Windows Authentication & Basic
    Authentication; anonymous access is disabled. I only get these problems
    when I request a page that uses SQL Server, if the page is just a simple asp
    page, it works great. Let me run through what I'm doing.

    I request a page that interfaces with SQL Server, since Integrated windows
    authentication won't work, it falls back on basic, I enter my credentials
    (yes I'm entering the right ones!), but get hit with these kind of errors.
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    Incidentally, I have already configured delegation on this webserver, and it
    works perfectly with Internet Explorer/Integrated Windows Authentication. I
    would think this would be even easier with another browser/basic
    authentication, since I have to enter my credentials, that should create a
    primary authentication token on the server for it to use, right?

    My question is, why is my webserver trying to pass "NT AUTHORITY\anonymous
    logon" on to SQL Server? Both my webserver and my domain account are
    "Trusted for Delegation"

    I've done a little detective work and determined that if I turn off
    Integrated Windows Authentication, it works like I want it too,
    unfortunately I can't do this since everyone else uses IE. It's almost as
    if IIS is not completely falling back onto Basic Authentication. Can
    someone help me out here!


    "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
    in message news:u5eHTjbzEHA.2572@tk2msftngp13.phx.gbl...
    > Nope! I didn't pipe in because I wasn't sure what the answer was. As I
    > recall, your scenario was trying to use delegation and WIA, but it wasn't
    > working, right? Sorry, but I lost the original post.
    >
    > Joe K.
    >
    > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > news:OA91CIbzEHA.1188@tk2msftngp13.phx.gbl...
    > Thanks Joe, any idea on my original problem?
    >
    > "Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
    > in message news:OLq8$AZzEHA.1652@TK2MSFTNGP11.phx.gbl...
    > > protocol transition and constrainted delegation are two seperate things,
    > > although both 2003 features.
    > >
    > > Constrained delegation allows you to limit what other services a specfic
    > > account can delegate to. In 2000, once you enabled delegation, it was
    > > all
    > > or nothing. A service could delegate to anything.
    > >
    > > Protocol transition is the ability to switch from non-Kerberos auth to a
    > > Kerberos token. This can be done programmatically by calling
    > > LsaLogonUser
    > > or using the .NET WindowsIdentity constructor that takes the single upn
    > > argument. However, Windows can also do protocol transition
    > > automatically.
    > > Say for example a user was authenticated via NTLM but now needs to be
    > > delegated. In this case, Windows will do protocol transition
    > > automatically
    > > and swtich to using Kerberos so delegation is possible.
    > >
    > > There are some really good articles on this stuff that explain it more
    > > thoroughly, but that is the gist.
    > >
    > > Joe K.
    > >
    > > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > > news:OjLJz0XzEHA.3880@TK2MSFTNGP10.phx.gbl...
    > > Cute, but that isn't exactly Integrated Windows Authentication at it's
    > > fullest. It's half the battle, but NTLM is a bit older technology and
    > > isn't
    > > fully compatible with today's growing intranet applications. My
    > > original
    > > issue deals with delegation, and you have to authenticate with Kerberos
    > > in
    > > order to have your credentials delegated to another server past the
    > > webserver. This is not possible with NTLM...well not easily anyway. I
    > > received this response once for delegation issues "If you are also
    > > running
    > > a
    > > Windows 2003 Domain, then with constrained delegation you can also
    > > configure
    > > Protocol Transition" Doesn't sound easy to me!
    > >
    > > "John Rusk" <JohnRusk@discussions.microsoft.com> wrote in message
    > > news:E16FFEFE-A2FC-4A00-8E46-F067E6F12B13@microsoft.com...
    > > > > You wouldn't happen to have the link to this would you? I can't
    > > > > find
    > > > anything on
    > > >
    > > > It doesn't seem to be very well publicised. Here are the links I
    > > > have,
    > > > below. (I haven't actually tried it yet myself.)
    > > >
    > > > [url]http://www.koldark.net/archives/2004/08/26/ntlm_in_firefoxmozilla.php[/url]
    > > > [url]http://rampage.theficus.com/archives/2004/09/firefox_tutoria.html[/url]
    > > >
    > > > John
    > >
    > >
    >
    >

    Ken Schaefer 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