I've been trying to implement this library to perform NTLM Proxy Authentication, and am running into a peculiar issue.
The environment setup is:
Both the client machine and the proxy are on the same domain.
The proxy supports Kerberos, NTLM, and Negotiate.
If negotiate is used and selects Kerberos, everything works fine.
However, if I try to force NTLM as the package, the final token gets rejected by the proxy. When testing the code at other sites where NTLM is the only supported option, the handshake also fails in the same way.
My gut instinct is something is wrong with the credential handle or the crypto functions for generating the 3rd token. When I loaded up a token analysis tool, all of the flags and target information looks identical to other apps' tokens which do seem to work.
I've been trying to implement this library to perform NTLM Proxy Authentication, and am running into a peculiar issue.
The environment setup is:
If negotiate is used and selects Kerberos, everything works fine.
However, if I try to force NTLM as the package, the final token gets rejected by the proxy. When testing the code at other sites where NTLM is the only supported option, the handshake also fails in the same way.
My gut instinct is something is wrong with the credential handle or the crypto functions for generating the 3rd token. When I loaded up a token analysis tool, all of the flags and target information looks identical to other apps' tokens which do seem to work.