Custom kinit python

Benjamin Kaduk kaduk at MIT.EDU
Wed Sep 3 17:59:06 EDT 2014

On Tue, 26 Aug 2014, Yago Fernández Pinilla wrote:

> Hello,
> I would like to know if it is possible to implement a custom kinit in
> Python, I know there are already implementations in C and Java but I would
> like to have it in Python.
> I have seen different libraries in Python that have different methods but
> they don't have this functionality.
> If there is none, where should I start to work?

I think what you should do depends on what your goal is.  'kinit' is just
a tool to obtain a kerberos ticket and put it in a credentials cache,
which may be on disk or in kernel memory or the memory of a helper
service.  It's not clear to me what benefit is gained from having this
tool be written in python, unless it is to be some sort of learning
exercise, so I feel that I am misunderstanding the question.

-Ben Kaduk

More information about the krbdev mailing list