Discussion:
ERROR_ACCESS_DENIED when call DsGetDcName
(too old to reply)
Sikander Rafiq
2018-07-26 13:06:54 UTC
Permalink
I am writing app when call DsGetDcName function to access remote domain controller. I am getting ERROR_ACCESS_DENIED (5) error code.

I found in the Remarks of DsGetDcName function that " If mutual authentication is required, the caller must perform the authentication."


How to perform mutual authentication. Can anyone share code in C++.
Thanks,
Sikander
Sikander Rafiq
2018-07-26 14:03:19 UTC
Permalink
I am running app on machine which is not on that domain.

Loading...