|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: DCOM server processes and Window XP
From: Jonas Blunck (jonas.blunck
BLUNCK.INFO)
Date: Thu Apr 24 2003 - 05:38:00 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Have a look at what Keith Brown has to say about this:
http://www.develop.com/kbrown/com/secfaq.htm#LaunchingUser
// B
> hi all,
>
> we have a system made up by several DCOM server processes.
>
> The processes are started by a Service application running as Local
System.
> All the processes are set to run as "Launching user" so they start as
> System.
>
> Each server does the following call at start-up:
>
> CSecurityDescriptor sd;
> sd.InitializeFromThreadToken();
>
> hRes = CoInitializeSecurity(sd,
> -1,
> NULL,
> NULL,
> RPC_C_AUTHN_LEVEL_CONNECT,
> RPC_C_IMP_LEVEL_IDENTIFY,
> NULL,
> EOAC_NONE,
> NULL);
> _ASSERTE(SUCCEEDED(hRes));
>
> On Windows 2000 everything works fine, client applications started
by the
> interactive users are able to connect to the servers.
>
> On Windows XP this does not work, when client applications are
started they
> are not able to connect to the running server processes, instead new
> instance of server processes are created.
>
> Any idea?
>
> Thanks,
>
> Maurizio
>
> ----------------------------------------------------------------
> Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
> contains important info. Save time, search the archives at
> http://discuss.microsoft.com/archives/index.html .
> To unsubscribe, mailto:DCOM-signoff-request@DISCUSS.MICROSOFT.COM
>
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request@DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]