winapi: LsaCallAuthenticationPackage returns STATUS_UNSUCCESSFUL

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.

windows
winapi
rpc
local-security-authority
asked on Stack Overflow Feb 29, 2016 by Ojs

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0