0

I've looked over the SSPI documentation, however can find relatively little in the way of sample or working code that implements the library interfaces required in C++.

My goal: There have been numerous situations where NTLM authentication has failed. I would like to be able to isolate the SSPI negotiation process as a stand-alone script to verify how the browser should behave.

As far as I can understand, I should be able to generate a simple Negotiation process with Windows Auth endpoint HTTP server X which succeeds regardless of whether Kerberos or NTLM functions.

Is this a question of trial and error with very old MSFT documentation, or is there some simple port of the SSPI API that I'm missing? I'd prefer to avoid C++ if possible.


Edit: So far, I've found this: https://github.com/antiduh/nsspi . Might be my best bet unless there's something else out there. Some of the Moz devs refer to sample code that no longer exists: https://bugzilla.mozilla.org/show_bug.cgi?id=159015

Coruscate5
  • 2,253
  • 17
  • 28
  • https://stackoverflow.com/questions/71549322/how-to-get-a-kerberos-token-in-python-i-have-working-c-sharp-and-ps-syntax-but/71643255#71643255 – user1686 Nov 13 '22 at 11:14

0 Answers0