Criteria for IE to Negotiate Kerberos and Not NTLMSSP

Criteria for IE to Negotiate Kerberos and Not NTLMSSP

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Criteria for IE to Negotiate Kerberos and Not NTLMSSP Michael B Allen 06-29-2006
Posted by Michael B Allen on June 29, 2006, 12:42 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi,

I have a web service product that runs on UNIX and does GSSAPI
and requires IE to negotiate Kerberos using Integrated Windows
Authentication. The log on the customer's site is showing that IE is
only asking for NTLMSSP. We're having trouble tracking down why.

I know of the usual reasons for not negotiating Kerberos (or Integrated
Windows Authentication in general) but I would like to create a
comprehensive list in anticipation of creating a wscript utility to
check a workstation for compatibility with my product. Can anyone add
to (or eliminate from) the list below? Are there any other configuration
options or perhaps registry settings somewhere?

Thanks,
Mike

The following is a list of criteria for Internet Explorer to negotiate
Kerberos with a web service (e.g. IIS):

1) The client workstation must be running Windows 2000, Windows XP,
or Windows 2003. Windows NT 4 and Windows 98 or previous do not support
Integrated Windows Authentication.

2) The client workstation must be joined to the target Windows
domain. Check Control Panel > System > Computer Name tab > Change ... and
make sure the client is a member of the correct domain and not just
a workgroup.

[Q: Is it important that the domain name of the client and Kerberos
realm share the same suffix?]

3) The user logged into the workstation using IE must be logged into
the domain. Check Ctrl+Alt+Del and look at the "You are logged on as"
dialog. The Windows domain shown must be the target domain and not the
local machine name. If the user is not logged into the domain, logoff,
select the domain in the drop down labeled "Log on to", and enter the
user's domain credentials (assuming they have domain credentials).

4) Integrated Windows Authentication must be enabled. Check Tools >
Internet Options > Advanced > scroll all the way to the bottom and
make sure "Enable Integrated Windows Authentication (requires restart)"
is checked.

5) Automatic logon must be enabled [1]. Check Tools > Internet Options >
Securty > Custom Level > scroll all the way to the bottom and make sure
"Automatic logon with current username and password" is selected.

6) The target website must be listed in the IntrAnet zone [1]. Check
Tools > Internet Options > Security > Local Intranet and make sure the
target domain is listed there. For example, if your domain is foo.net
add http://*.foo.net and https://*.foo.net. Or you may explicitly add
a specific site (e.g. http://www.foo.net).

[1] Actually this is may not be necessary if the site is in the Trusted
sites list (under Tools > Internet Options > Security).


Posted by Steven L Umbach on June 29, 2006, 6:50 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Though you are not using IIS reviewing the following KB article still may be
of help. Also by default in an AD domain only a five minute time skew is
allowed for kerberos though normally that is not a problem as Windows domain
computers should be synching with the PDC fsmo domain controller. ---
Steve

http://support.microsoft.com/default.aspx?scid=kb;en-us;326985

> Hi,
>
> I have a web service product that runs on UNIX and does GSSAPI
> and requires IE to negotiate Kerberos using Integrated Windows
> Authentication. The log on the customer's site is showing that IE is
> only asking for NTLMSSP. We're having trouble tracking down why.
>
> I know of the usual reasons for not negotiating Kerberos (or Integrated
> Windows Authentication in general) but I would like to create a
> comprehensive list in anticipation of creating a wscript utility to
> check a workstation for compatibility with my product. Can anyone add
> to (or eliminate from) the list below? Are there any other configuration
> options or perhaps registry settings somewhere?
>
> Thanks,
> Mike
>
> The following is a list of criteria for Internet Explorer to negotiate
> Kerberos with a web service (e.g. IIS):
>
> 1) The client workstation must be running Windows 2000, Windows XP,
> or Windows 2003. Windows NT 4 and Windows 98 or previous do not support
> Integrated Windows Authentication.
>
> 2) The client workstation must be joined to the target Windows
> domain. Check Control Panel > System > Computer Name tab > Change ... and
> make sure the client is a member of the correct domain and not just
> a workgroup.
>
> [Q: Is it important that the domain name of the client and Kerberos
> realm share the same suffix?]
>
> 3) The user logged into the workstation using IE must be logged into
> the domain. Check Ctrl+Alt+Del and look at the "You are logged on as"
> dialog. The Windows domain shown must be the target domain and not the
> local machine name. If the user is not logged into the domain, logoff,
> select the domain in the drop down labeled "Log on to", and enter the
> user's domain credentials (assuming they have domain credentials).
>
> 4) Integrated Windows Authentication must be enabled. Check Tools >
> Internet Options > Advanced > scroll all the way to the bottom and
> make sure "Enable Integrated Windows Authentication (requires restart)"
> is checked.
>
> 5) Automatic logon must be enabled [1]. Check Tools > Internet Options >
> Securty > Custom Level > scroll all the way to the bottom and make sure
> "Automatic logon with current username and password" is selected.
>
> 6) The target website must be listed in the IntrAnet zone [1]. Check
> Tools > Internet Options > Security > Local Intranet and make sure the
> target domain is listed there. For example, if your domain is foo.net
> add http://*.foo.net and https://*.foo.net. Or you may explicitly add
> a specific site (e.g. http://www.foo.net).
>
> [1] Actually this is may not be necessary if the site is in the Trusted
> sites list (under Tools > Internet Options > Security).
>



Posted by Michael B Allen on June 30, 2006, 11:51 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
On Thu, 29 Jun 2006 17:50:03 -0500, Steven L Umbach wrote:

> Though you are not using IIS reviewing the following KB article still may be
> of help. Also by default in an AD domain only a five minute time skew is
> allowed for kerberos though normally that is not a problem as Windows domain
> computers should be synching with the PDC fsmo domain controller. ---
> Steve
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;326985

Thanks Steven. This is a good link.

Unfortunately we still haven't managed to get IE to do Kerberos. We
managed to narrow down the problem some however. Here are a few facts:

1) Using Kerbtray the workstation has a number of tickets for
host/server@REALM.COM and ldap/whatever so the workstation is perfectly
capable of doing Kerberos.

2) Using netcap.exe the customer rebooted the XP workstation and
immediately started netcap and then tried to access the HTTP service. The
result showed that XP never tried to get a ticket. It only tried NTLMSSP.

So it seems IE is not selecting the Kerberos SSP or it is but it is
failing before even attempting a TGS-REQ for the HTTP SPN.

Unfortunately it doesn't look like XP can be coerced into logging *any*
kind of Kerberos events like Windows 2000 and Windows 2003 Server can
using the LogLevel or related Kerberos parameters in the registry.

Is there any way to see what's going on at the SSPI level?

Are there any security policy settings that instruct IE to always use
NTLMSSP when accessing HTTP services?

I'm so stumped. We've worked on this for days.

Mike


Similar ThreadsPosted
Computer to Computer NtLmSsp authentication errors ? October 6, 2006, 5:25 pm
Kerberos UDP vs TCP November 14, 2006, 4:18 am
Kerberos Delegation July 6, 2005, 2:06 pm
Bug in Kerberos SSP within SSPI?? July 28, 2005, 4:46 am
Kerberos problem April 22, 2008, 1:02 pm
Kerberos Event ID 3 September 12, 2008, 4:28 pm
Kerberos newbie September 29, 2008, 4:05 pm
Kerberos tickets December 24, 2008, 3:30 am
how Lsass & Kerberos works ? July 8, 2005, 5:45 am
How to set up Kerberos authentication? (some code :) August 18, 2005, 5:55 pm

The site map in XML format XML site map

Contact Us | Privacy Policy