[
https://issues.apache.org/jira/browse/PHOENIX-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16632545#comment-16632545
]
Josh Elser commented on PHOENIX-4688:
-------------------------------------
I went back to the requests-gssapi version of the code to see if I can figure
out why that isn't working. The python library is stuck trying to talk to my KDC
{code:java}
2018-09-28T16:44:21 submissing new requests to new host
2018-09-28T16:44:21 host_create: setting hostname hw13390.local
2018-09-28T16:44:21 connecting to host: udp
fe80::810:c412:5688:3abf%en0:kerberos (hw13390.local) tid: 00000001
2018-09-28T16:44:21 host_create: setting hostname hw13390.local
2018-09-28T16:44:21 Queuing host in future (in 3s), its the 2 address on the
same name: udp fe80::810:c412:5688:3abf%en0:kerberos (hw13390.local) tid:
00000002
2018-09-28T16:44:21 host_create: setting hostname hw13390.local
2018-09-28T16:44:21 Queuing host in future (in 6s), its the 3 address on the
same name: udp 192.168.1.32:kerberos (hw13390.local) tid: 00000003
2018-09-28T16:44:21 host_create: setting hostname hw13390.local
2018-09-28T16:44:21 Queuing host in future (in 9s), its the 4 address on the
same name: udp 192.168.1.32:kerberos (hw13390.local) tid: 00000004
2018-09-28T16:44:21 writing packet: udp fe80::810:c412:5688:3abf%en0:kerberos
(hw13390.local) tid: 00000001
2018-09-28T16:44:22 Configuration exists for realm EXAMPLE.COM, wont go to DNS
2018-09-28T16:44:22 out of hosts, waiting for replies{code}
I can't seem to get any more logging/information out of Python or the KDC to
understand why these requests are going into the abyss. I'm not sure if my KDC
is dropping UDP packets on the ground, nor can I figure out how to make Python
send via TCP.
I'm of the opinion that we ship this with clear documentation on what exactly
is know to work. What I've been able to validate is:
* MIT Kerberos
* Python 3.6
* requests-kerberos
* Phoenix 5.x
* pykerberos 1.1.14
I want to test some more Python versions (e.g. 3.4 and 3.5) and try with
Heimdal `kinit` on the path, but after that I'd like to just commit something
and move forward. Thoughts [~lbronshtein]?
> Add kerberos authentication to python-phoenixdb
> -----------------------------------------------
>
> Key: PHOENIX-4688
> URL: https://issues.apache.org/jira/browse/PHOENIX-4688
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Lev Bronshtein
> Priority: Minor
>
> In its current state python-phoenixdv does not support support kerberos
> authentication. Using a modern python http library such as requests or
> urllib it would be simple (if not trivial) to add this support.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)