TGS request result: Server not found in Kerberos database #3896
Unanswered
shrimallepudi
asked this question in
Q&A
Replies: 1 comment 7 replies
-
There is something wrong with your Kerberos configuration options. Check that kinit works with the parameters shown. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using librdkafka 1.8.2 with confluent-kafka 1.8.2. I've configured my kafka producer as below:
'bootstrap.servers': ,
'client.id': socket.gethostname(),
'debug': 'security,broker',
'security.protocol': 'SASL_PLAINTEXT',
'sasl.kerberos.service.name': <service_name>,
'sasl.kerberos.principal': <principal_id>,
'sasl.mechanism': 'GSSAPI',
'sasl.kerberos.keytab': <kt_file>,
'sasl.kerberos.kinit.cmd': 'kinit -R -t "%{sasl.kerberos.keytab}" -k %{sasl.kerberos.principal} || kinit -t "%{sasl.kerberos.keytab}" -k %{sasl.kerberos.principal}',
'enable.auto.commit': True
When I run my python producer script, it throws error saying 'TGS request result: -XXXXX/Server not found in Kerberos database'. Can someone please let me know what's wrong? I'm using Python 3.6
PS: I'm able to publish messages to the clusters/brokers via console-producer.sh.
Beta Was this translation helpful? Give feedback.
All reactions