Hi Howard,
As for the Kerberos sample of the WSE 3.0, it will have more restricted
requirement compared to other security assertions. Kerberos authentication
will require both client and server side to authenticate against the KDC(
for windows domain it's the DC computer) to get their own master ticket and
for client it also need the ticket to the target machine(it want to visit).
For server-side, the applciation should run under an account which can
retrieve the SP(service principle)'s credential, this SP is the one
clientside is requesting(want to visit). And for your scenario, the
clientside visit a webservice running on the server protected with kerberos
authentication, the SP the client is visiting is the servername (the
computer in the domain), so the server application's running process
idenitity should have the permission to get the machine credential(that
should be the Network Service or Local System). Therefore, first you need
to make your webservice(service applciation hosted in IIS). And are you
running on XP or windows 2003 machine? If on 2003, you can just configure
the webservice's process idenitity(IIS application pool idenitity as
network service). If using windows XP, you'll need to grant ASPNET account
act as part of the OS privilege to make it able to get machine
credential(just as the below note in WSE 3.0 sample document):
===========
On Microsoft? Windows? XP and Microsoft? Windows? 2000 Server, the Kerberos
Security sample (WSSecurityKerberos) requires additional higher privilege
settings for the ASPNET account. There are several ways to enable this. One
is to give ASPNET account "Act as part of Operating System" privilege using
Local Security Setting, and then reboot the system. Another alternative is
to modify machine.config by setting the username attribute equal to
"system" in the ProcessModel element, and then reset IIS.
By default the policy version of the WSSecurityKerberos does not work and
throws an exception. This is because the machine name where the service is
running needs to be updated in the wse3policyCache.config in the
WSSecurityKerberosPolicyClient project to the machine where the service is
installed.
===========================
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.)
Howard Hoffman - 08 Mar 2006 14:31 GMT
Steven -
I can work with my Network Admins to find out the specifics of our Active
Directory / KDC configuration.
In the mean time, I can state:
XP SP2+ all patches automatically downloaded by "Automatic Updates"
Client and Service are *on same machine*
Client and Service are in same SLN (after all, its the
WSSecurityKerberosCode sample that comes with WSE3 -- I'm using that very
SLN -- the one authored by Microsoft).
Machine is in a Domain.
ASPNET account has been granted Act as Part of the Operating System right
via Local Security.
Note, again, that I am not using the WSSecurityKerberosPolicyClient sample.
I am using the
WSSecurityKerberosCode sample.
By default, VS.NET 2005 runs the WebService in the WebDev.WebServer.EXE
application, not IIS.
By default, VS.NET 2005 runs the WebService client application in the
WSSecurityKerberosCodeClient.vhost.exe, not
WSSecurityKerberosCodeClient.exe.
Do those items get in the way of making the sample work?
What should I check with my Network Admins regarding the KDC setup, if
anything?
Thanks,
Howard Hoffman
> Hi Howard,
>
[quoted text clipped - 48 lines]
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
Howard Hoffman - 08 Mar 2006 22:38 GMT
Changed VS.NET Solution (SLN) to use IIS instead of WebDev.WebServer.EXE.
Did not cure the problem.
Still blocked.
Howard
> Steven -
>
[quoted text clipped - 89 lines]
>> (This posting is provided "AS IS", with no warranties, and confers no
>> rights.)
Steven Cheng[MSFT] - 10 Mar 2006 10:30 GMT
Seems still something incorrect with the setting. Have you tried putting
the webservice server program on a windows 2k3 box for testing? Also, if
possible you can try testing on some other XP box to isolate the
environment factor.
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.)