Click here to Skip to main content
16,018,664 members

Comments by Debojyoti Majumder (Top 66 by date)

Debojyoti Majumder 21-Apr-15 2:48am View    
We re-wrote the module in .NET, at that point of time I have not found any good solution apart from that. The module was not so big and that's why I think I was able to do that.
Debojyoti Majumder 14-Nov-11 5:16am View    
Please specify the problem in detail...
Debojyoti Majumder 9-Aug-11 6:09am View    
@KarstenK
Thanks.

I tried to give some credentials to the client thread.
I used this code...

RPC_SECURITY_QOS SecQos;

// Set the quality of service on the binding handle
SecQos.Version = RPC_C_SECURITY_QOS_VERSION_1;
SecQos.Capabilities = RPC_C_QOS_CAPABILITIES_MUTUAL_AUTH;
SecQos.IdentityTracking = RPC_C_QOS_IDENTITY_DYNAMIC;
SecQos.ImpersonationType = RPC_C_IMP_LEVEL_IDENTIFY;

status = RpcBindingSetAuthInfoEx(hello_v1_0_c_ifspec,
NULL,RPC_C_AUTHN_LEVEL_PKT_PRIVACY, RPC_C_AUTHN_WINNT, NULL,RPC_C_AUTHZ_NONE,&SecQos);

But the call it's not working.
status returned 1702... invalid binding.

What am I doing worng??
Debojyoti Majumder 4-Aug-11 2:02am View    
Nice answer..
Debojyoti Majumder 28-Jul-11 7:15am View    
I am intersted in knowing purpose of the problem??