spnego.SPNEGOKRB5Authenticate() doesn't accept this and answers with a 401 and the WWW-Authenticate: Negotiate header (as expected for SPNEGO). How do I use gokrb5 to authenticate the given request? Do I need to parse the ticket myself and validate it using other functions in this library? A small example would be greatly appreciated.
I am trying to implement a server that accepts a client connection from a WinRM client application. The request looks like this:
spnego.SPNEGOKRB5Authenticate()
doesn't accept this and answers with a 401 and the WWW-Authenticate: Negotiate header (as expected for SPNEGO). How do I use gokrb5 to authenticate the given request? Do I need to parse the ticket myself and validate it using other functions in this library? A small example would be greatly appreciated.