OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: DCOM Authentication acrosss NT Domains?

From: Christof Stadler (christofstadlerCHRISTOFSTADLER.DE)
Date: Thu Mar 20 2003 - 13:29:40 CST


That's what we've done in the past, but it leads to the dreaded
RPC_SERVER_NOT_AVAILABLE (or similar) after a few hours.

Christof

> I've resolved this problem by using
>
> CoInitializeSecurity(Nil,
> -1,
> Nil,
> Nil,
> RPC_C_AUTHN_LEVEL_NONE,
> RPC_C_IMP_LEVEL_ANONYMOUS,
> //RPC_C_IMP_LEVEL_IMPERSONATE,
> Nil,
> EOAC_NONE,
> Nil
> );
>
> just after the CoInitialize(Ex) function. This instruction put down
> all the
> security of the DCOM protocol. I've done this on the server side (your
> object) and the client side (the caller). If the security of your
> protocol
> don't mind, you can choose this solution, that's work from w98 to XP.
>
> Regards.
> Yoann DARCHE
> (not yet an expert)
>
> -----Message d'origine-----
> De : Distributed COM-Based Code [mailto:DCOMDISCUSS.MICROSOFT.COM]De
> la
> part de Christof Stadler
> Envoye : mercredi 19 mars 2003 21:00
> A : DCOMDISCUSS.MICROSOFT.COM
> Objet : DCOM Authentication acrosss NT Domains?
>
>
> Hi experts,
>
> is there any documentation about the behaviour of DCOM if client and
> server run in two different NT domains? We have the problem that our
> client application is not able to establish the connection to the
> server in that scenario.
>
> TIA
>
> Christof
>
> ----------------------------------------------------------------
> 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-requestDISCUSS.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-requestDISCUSS.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-requestDISCUSS.MICROSOFT.COM