requests / requests-kerberos

An authentication handler for using Kerberos with Python Requests.
Other
289 stars 101 forks source link

HTTPKerberosAuth not using correct TGT cache file #159

Closed dgotbaum closed 3 years ago

dgotbaum commented 3 years ago

Hello, I have kerberos installed on my windows machine and when I run a kinit and klist from the command prompt, it generates me a ticket for the principal I passed. When I run the kerberos request from jupyter notebook, it doesnt read the ticket I generated and instead logs me in as the current user.

I have the env variable set up so that it points to the default key location

Is there anything I can do to specify a particular cache file? Sepecially when there are multiple in my machine?

jborean93 commented 3 years ago

This library most likely be using winkerberos as the underlying Kerberos lib on Windows which uses SSPI and not the MIT Kerberos install that you may have gotten the ticket for.

jborean93 commented 3 years ago

Closing as per the above.