Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
russell.lane - 27 Feb 2006 22:21 GMT
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
Steven Cheng[MSFT] - 28 Feb 2006 11:02 GMT
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

Signature

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


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.