nsspi
nsspi copied to clipboard
A C# / .Net interface to the Win32 SSPI authentication API
I'm using this library to create a .NET Core client for a WCF server using WS-Trust with SSPI authentication. The tokens generated by the WCF server contain data encrypted by...
Execute CompleteAuthToken if the InitializeSecurityContext call returned SEC_I_COMPLETE_NEEDED or SEC_I_COMPLETE_AND_CONTINUE
Hello, I have been using the NSSPI lib succesfully to exchange keys invoking server's AcceptToken() until SspiCommon.Status.Ok state reached. Upon that, I invoke ImpersonateClient() and try to delgate this security...
Hello, nsspi works fine for domain joined user / machines. Recently our company has switched to AZURE AD. All PCs are now 'AzureAdJoined' and all user are now managed. With...
Hi antiduh, I'm following this in the github. In kerberos we have some steps like 1. Client requesting the TGT from KDC 2. Client getting the TGT 3.Client requesting SGT...
Hello, I have tried nsspi, and it's a very nice component. However I'm having issues after impersonation: - with special folders (MyDocuments) - trying to read registry. - The existing...
Hi, To continue our discussion from the post at http://stackoverflow.com/questions/17241365/client-server-authentication-using-sspi/24312883?noredirect=1# As I said I want to achieve the NTLM authentication from my client program to the web server (IIS/Proxy server)....
There's a similar/related implemented in https://github.com/Waffle/waffle, maybe worth explaining the differences?
The call to [InitializeSecurityContext](https://learn.microsoft.com/en-us/windows/win32/api/sspi/nf-sspi-initializesecuritycontextw) and [AcceptSecurityContext](https://learn.microsoft.com/en-us/windows/win32/api/sspi/nf-sspi-acceptsecuritycontext) can have multiple input token buffers specified. One of these buffer types is the [SECBUFFER_CHANNEL_BINDINGS](https://learn.microsoft.com/en-us/windows/win32/api/sspi/ns-sspi-secbuffer) which is a value of [SEC_CHANNEL_BINDINGS](https://learn.microsoft.com/en-us/windows/win32/api/sspi/ns-sspi-sec_channel_bindings) which is a...
I created a minimal WebAPI application, attempting to do Negotiate authentication using the NSSPI library. The first negotiate token I get back from the client (browser or PowerShell) generates a...