DCOM connection to service
From: Zachary Turner (zturner@bindview.com)
Date: 05/20/02
- Next message: Bob Sweeney: "Re: blocking a relay"
- Previous message: Keith Marston: "Take ownership of files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Zachary Turner" <zturner@bindview.com> Date: Mon, 20 May 2002 10:21:07 -0500
Hi, I've got a client app trying to connect to a DCOM service I wrote that
lives on a remote box. This is happening between two Windows 2000 machines.
Everything used to work fine, and now I get the error RPC_S_SEC_PKG_ERROR
0x80070721 (A Security Package Specific Error has occured) as soon as I try
to call a method on the object. Creating the object, setting the security
blanket, etc works fine. I've found a few workarounds, all of which provide
information as to what might be the problem. I'm hoping someone might be
able to give me more ideas on how to get to the root of the problem, since
we haven't changed the code.
1) On the *client* machine, using DCOMCNFG to change the Authentication
Level from Connect to None fixes the problem.
2) On the server, changing the service to run under the account of a
distinguished user, rather than LocalSystem, fixes the problem.
3) In the code, hardcoding the authentication service to be NTLM fixes the
problem. I've tried every other authentication service that there is.
Snego, default, Kerberos, etc. All of them fail with the same error. The
only time it works is when I hardcode NTLM.
Unfortunately none of these are acceptable. We really need to get to the
root of the problem and figure out what is going on. Here's a bit more
information:
1) If I open up Internet Services Manager on the client, and try to connect
to the IIS on the server, IIS reports the exact same error and IIS fails to
connect to the server. So it's pretty clear that one of our machines is
configured incorrectly.
2) I can install the client on any machine in the domain, and try to connect
to the server, and they all fail. So the problem seems to be either
specific to the one server, or to the whole domain.
It almost seems like Kerberos is configured incorrectly. Because Snego and
Default will both choose Kerberos won't they? I don't really know enough
about W2k security to be able to know what to even look at, but it really
seems like we have a misconfigured Kerberos, since IIS doesn't even work.
Any ideas greatly appreciated.
Thanks
Zachary Turner
zturner@bindview.com
- Next message: Bob Sweeney: "Re: blocking a relay"
- Previous message: Keith Marston: "Take ownership of files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|