[Freeipa-users] ipalib authentication

Martin Basti mbasti at redhat.com
Thu Nov 24 16:17:28 UTC 2016



On 24.11.2016 16:57, Alexander Bokovoy wrote:
> On to, 24 marras 2016, Adam Bishop wrote:
>> I'm writing a bit of code using ipalib directly, I'm a little stuck on
>> authentication though.
>>
>> It works fine if grab a Kerberos ticket with kinit then run the code
>> interactively, but I'd like to run this as a daemon which makes
>> maintaining a ticket tricky.
>>
>> What other options are there for authenticating to the API, avoiding
>> calling external tools like curl or kinit?
> Python API right now only accepts Kerberos ticket.
>
> I think we have a ticket to improve on this but right now your options
> are limited.

Might be possible to use python-gssapi and kinit_keytab function instead 
of kinit command?

Martin^2




More information about the Freeipa-users mailing list