How to set COAUTHIDENTITY properly?

Nov 08, 2006 1 Replies

Hi all,



anybody has experience with COAUTHIDENTITY? I can't seem to get the values correct :(



My code is shown below:



ZeroMemory(&coAuthIdentity, sizeof(coAuthIdentity));



coAuthIdentity.Password = (unsigned short*)"password"; coAuthIdentity.Flags = SEC_WINNT_AUTH_IDENTITY_UNICODE; coAuthIdentity.User = (unsigned short*)"hfyap"; coAuthIdentity.UserLength = 4; cout


The solution to this is here:

formatting link
But I'm still having problems configuring the client to connect to server remotely. Hope someone can help me, thx!

Atiz

Atiz wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required