Using Kerberos on PYTHON

Charles Hedrick hedrick at cs.rutgers.edu
Mon Nov 9 16:31:58 EST 2020


Having GSSAPI installed isn’t going to solve his problem, that he will need that.. Typically you would use Kafka libraries. They already know about Kerberos. However they have to be configured to use it.

There are lots of ways to do it. And since I no longer have Kafka installed, I can’t verify ay of this. but here are typical instructions: https://community.cloudera.com/t5/Community-Articles/Running-a-producer-in-a-kerberized-HDP-3-1-Kafka-2-0-0/ta-p/244205

I don’t know whether those instructions will work with Windows.



> On Oct 11, 2020, at 10:29 AM, John Byrne <jhnbyrn at gmail.com> wrote:
> 
> Hi,
> 
> You need a python binding for MIT Kerberos. I've had success with
> python-gssapi (https://pypi.org/project/python-gssapi/).
> 
> -John
> 
> 
> On Fri, Oct 9, 2020 at 1:50 PM Luciano Custodio <lucianocustodio at gmail.com>
> wrote:
> 
>> Hi,
>> 
>> I am writing a program in python to put a message in a kafka topic.
>> 
>> I need to connect kafka with kerberos.
>> 
>> My computer has windows 8 64bit.
>> 
>> I installed de MIT Kerberos for windows and get a ticket kerberos.
>> 
>> But now, i don t know how to get this ticket kerberos in the python
>> program.
>> 
>> Could someone help me?
>> 
>> Ats,
>> Luciano
>> ________________________________________________
>> Kerberos mailing list           Kerberos at mit.edu
>> https://mailman.mit.edu/mailman/listinfo/kerberos
>> 
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos




More information about the Kerberos mailing list