2

I'm new with Lsa and came accross to this problem. Here is my code:

LsaConnectUntrusted(&Lsa)
LsaLookupAuthenticationPackage(Lsa, &PacketName, &PackId)
printf("Lsa return -> %x.\n", LsaCallAuthenticationPackage(Lsa, PackId, buf, Size, &resp, &respSize, &st));

The output I get is 0xc0000001 which means STATUS_UNSUCCESSFUL. On windows website It doesn't provide information what specifically this error means. I did a little research and it turns out it's RPC connection failure. I tried this but it didn't help. Hope you can help me. Thank you.

Ojs
  • 924
  • 1
  • 12
  • 26
  • It doesn't seem likely to be an RPC problem, what specifically made you think it was? My best guess is that the authentication package didn't like the contents of the buffer you sent it. – Harry Johnston Feb 29 '16 at 20:44

0 Answers0