Click here to get back home

Kerberos headache

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.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
Subject Author Date
Kerberos headache Tapio Kulmala 02-01-2008
Posted by Tapio Kulmala on February 4, 2008, 8:36 am
Please log in for more thread options
Got more information.

The AD is 2000 AD in native mode. All server accounts and user accounts
(in AD) have "Trust computer for delegation" / "Account is trusted for
delegation" set to OFF.


The next question is, why the front end server tries to use the protocol
transition/S4U from Ntlm to Kerberos?

DCs don't support it and accounts are not marked for unconstrained
delegation. The webservice is on the same server so why does it even try
S4USelf? I haven't noticed this kind of behavior with 2003 RTM.

I even checked the C# code. It doesn't do anything too "clever". Just
the usual :

        ws.Credentials = System.Net.CredentialCache.DefaultCredentials;




Tapio

Posted by Joe Kaplan on February 4, 2008, 9:26 am
Please log in for more thread options
I've never been too clear on when exactly delegation will be required if the
services are on the same machine. It would be interesting to know what host
name is being used to reference the web service in the web service proxy
class and what IP address that resolves to.

I also wonder if it might have something to do with the services running
under different user accounts. I don't know about that either.

It would appear that something in this behavior has changed since RTM, but I
don't know what. I presume a bug has been fixed and perhaps your code was
exploiting the bug previously in order to work. I don't really know though.

My guess is that IIS is trying to do S4U because it thinks it needs Kerberos
credentials for the request for whatever reason, but I don't know if that's
true either.

Mysteries abound. :(

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
> Got more information.
>
> The AD is 2000 AD in native mode. All server accounts and user accounts
> (in AD) have "Trust computer for delegation" / "Account is trusted for
> delegation" set to OFF.
>
>
> The next question is, why the front end server tries to use the protocol
> transition/S4U from Ntlm to Kerberos?
>
> DCs don't support it and accounts are not marked for unconstrained
> delegation. The webservice is on the same server so why does it even try
> S4USelf? I haven't noticed this kind of behavior with 2003 RTM.
>
> I even checked the C# code. It doesn't do anything too "clever". Just
> the usual :
>
> ws.Credentials = System.Net.CredentialCache.DefaultCredentials;
>
>
>
>
> Tapio



Similar ThreadsPosted
sharePoint and kerberos November 6, 2005, 5:35 pm
IPSec and Kerberos September 27, 2006, 10:17 am
Kerberos delegation December 7, 2006, 12:53 pm
[Q] Kerberos DES encryption April 20, 2007, 6:11 am
LSASS & Kerberos Documentation July 8, 2005, 11:35 am
Kerberos/ASP/Delegation/W2K3 July 19, 2005, 2:24 pm
How to set up Kerberos authentication? (some code :) August 18, 2005, 2:55 pm
Win2k3/IIS Kerberos challenges December 22, 2005, 1:42 pm
Kerberos and HOST Headers December 31, 2005, 6:40 pm
IPSec Kerberos issue? March 19, 2007, 9:39 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap