• Using Kerberos on PYTHON

    From Luciano Custodio@21:1/5 to All on Fri Oct 9 14:29:35 2020
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Byrne@21:1/5 to Luciano Custodio on Sun Oct 11 10:29:49 2020
    Copy: kerberos@MIT.EDU (kerberos@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 <lucianocustodio@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@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Hedrick@21:1/5 to John Byrne on Mon Nov 9 16:31:58 2020
    Copy: lucianocustodio@gmail.com (Luciano Custodio)
    Copy: kerberos@MIT.EDU (kerberos@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.



    On Oct 11, 2020, at 10:29 AM, John Byrne <jhnbyrn@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@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@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos

    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)