Open jsuper opened 4 months ago
It's hard to say from the information you've provided what the failure is or where it's occurring. Kerberos authentication requires multiple calls to authGSSClientStep. I assume your real code is different from the example you pasted, which looks like a copy of the tutorial, so I can't tell which call fails. The error message from SSPI also isn't helpful.
I would suggest trying your code line by line in the python repl to see where the failure actually occurs. It's also worth mentioning that SSPI doesn't support keytab files. Those are for krb5.
Hello, I've encountered some issues while attempting to authenticate using the winkerberos library as a client. After reviewing the current documentation for the winkerberos library, I find myself somewhat at a loss on how to proceed.
I have set up a principal
nginx/kerberos.example.com@EXAMPLE.COM
on the KDC and obtained the corresponding keytab file. Could you guide me on how to properly pass parameters for authentication? I attempted to use the given example code, inputting the service asnginx/kerberos.example.com
and the principal asnginx/kerberos.example.com@EXAMPLE.COM
, but the execution resulted in an exception displaying garbled characters.program output:
example code: