Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using Kerberos on PYTHON

310 views
Skip to first unread message

Luciano Custodio

unread,
Oct 9, 2020, 1:47:16 PM10/9/20
to kerb...@mit.edu
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

John Byrne

unread,
Oct 11, 2020, 10:30:09 AM10/11/20
to Luciano Custodio, kerb...@mit.edu
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 <luciano...@gmail.com>
wrote:
> ________________________________________________
> Kerberos mailing list Kerb...@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>

Charles Hedrick

unread,
Nov 9, 2020, 4:32:21 PM11/9/20
to John Byrne, Luciano Custodio, kerb...@mit.edu
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.
0 new messages