473,396 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IE falls back to NTLM -- won't use Kerberos

I've established user login identity impersonation and delegation for a
multi-tier web application. I'm running into a case where authentication
fails when a user accesses the app from a browser on one machine, but not
from another machine.

The relevant details -- in both cases, all of the following are in effect:

Same user account.
Same web application, same IIS host.
Client OS is XP Pro SP2.
Client browser is IE 6.0.
Both instances of IE have Windows integrated authentication enabled, and the
browsers were restarted.
Both instances of IE have the web app host in their list of Intranet sites.

I sniffed the packet traffic for both cases. In both cases, I see the
expected initial anonymous request for the application URL, with the
expected 401 response. The 401 response header in both cases includes
WWW-Authenticate: Negotiate and WWW-Authenticate: NTLM as authentication
options.

In the good case, the client responds by going to the Kerberos server to
authenticate itself and ask for a ticket for the server. All is good from
there on.

In the bad case, the client does not authenticate using Kerberos at all, but
immediately replies to the web server with NTLM credentials. This fails.

The good client responds to the 401 by trying Kerberos first. The bad
client responds by trying NTML first, and never trying Kerberos at all.

I can make the good client behave *exactly* like the bad one by disabling
Windows integrated authentication in the good browser. Enabling windows
integrated authentication and adding the web app host to the intranet site
list are the only fixes for the bad client that I can find in the MSDN docs,
and I've put those in place, but still no joy.

Any suggestions on what else to look at?

Many thanks -

R
Feb 27 '06 #1
1 2701
Hi Russell,

Welcome.

As for the Negotiate Authentication, at server-side, we just need to make
the IIS use intergrated windows authenitcation and add the "Negotiate"
header in IIS metabase:

#How to configure IIS to support both Kerberos and NTLM authentication
http://support.microsoft.com/kb/215383/

At clientside, as long as the operating system meet the requirement(support
kerberos), like XP, 2000 or 2003, what we need to configure in IE is just
the "Enable Integrated Windows Authentication" setting you mentioned. The
following kb articles have mentioned this setting:

#Unable to negotiate Kerberos authentication after upgrading to Internet
Explorer 6
http://support.microsoft.com/kb/q299838/

#Internet Explorer Does Not Support Kerberos Authentication With Proxy
Servers
http://support.microsoft.com/kb/321728/

One of them mentioned the web proxy server scenario which maybe a potential
cause. Anyway, I think this should be a client-side specific issue. You can
also try posting in some IE related newsgroup or forums to see whether any
other community members can give you any furhter tips.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Feb 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Alexander Gnauck | last post by:
Hello, i need to perform NTML Authentication with SMTP against a exchange server. I cant use existing libraries like CDO. The type1 and type2 mesages work OK. Now i have to create the type3...
3
by: John Lee | last post by:
Hi, I have a virtual directory configured as "integrated windows authentication" and "anonymous acccess" is turned off. I can use IE to acccess that page but when I try to access the page using...
2
by: Rob Mayo | last post by:
What I'm trying to do is Create an ASP.Net app that has both Windows-authenticated users and Anonymous users. The idea is this: When authenticated users attempt to access the site, their...
1
by: Andy Fish | last post by:
Hi, I have an asp.net application in several tiers and I would like to enable it for NTLM. Say the web front end is running on server X and the business logic is running on server Y. In the...
4
by: looping | last post by:
Hi, I have to make internet connections through an ISA proxy server that use NTLM or Kerberos authorization method. I've found a program in python called ntlmaps that act like a proxy and could...
3
by: George Vasiliou | last post by:
Hi to all, I have made up a small client / server application with WinSock (port 443) at VB6. I have install server in my Home, and client is running behind a proxy server. Client cannot...
40
by: webrod | last post by:
Dear All, let's say I have a web service. I would like to authenticate users who try to access it. I am on a winnt server so I will have to use NTLM but I don't want to use IIS settings. Is...
1
by: pycraze | last post by:
Hi , I am working on NTLM (Windows NT Lan Manager )APS (Authentication Proxy Server ) , to port to C language . I am using ethereal to monitor the packets sent between client and server ....
1
by: akettani | last post by:
Hello, We have an ASP.NET application that needs to connect to a Netweaver (SAP) application (which runs on Windows). Users first log into ASP.NET application (NTLM) and we need to be able to give...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.