Yes, that line (523) is where the wrapper calls the native library. I'm not sure why it is failing. The Microsoft documentation says that if the username is not provided, "the current token is used." Is the user that is being impersonated a domain user with rights on remote machine?
↧