Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Implement kereberos authentication in Presto 340

169 views
Skip to first unread message

LOKESH KHANDELWAL

unread,
Mar 20, 2021, 1:14:10 AM3/20/21
to
Hi All,

I have performed all the steps mentioned in presto guide (https://trino.io/docs/current/security/server.html) to implement kerberos authentication.
Also, as per my knowledge have correctly configured the krb5.conf, as the tickets are generating successfully
[ PROD root@ZMLPZCNVSAPD06 /home/canvas]# klist
Ticket cache: KEYRING:persistent:0:krb_ccache_JzVp1Mb
Default principal: presto@ZMLPZCNVSAPD06

Valid starting Expires Service principal
03/19/2021 06:58:54 03/20/2021 06:58:54 krbtgt/ZMLPZCNVSAPD06@ZMLPZCNVSAPD06

But the query over presto throws following error:
Error running command: Authentication failed: Invalid Token
io.prestosql.client.ClientException: Authentication failed: Invalid Token
at io.prestosql.client.StatementClientV1.requestFailedException(StatementClientV1.java:470)
at io.prestosql.client.StatementClientV1.<init>(StatementClientV1.java:137)
at io.prestosql.client.StatementClientFactory.newStatementClient(StatementClientFactory.java:24)
at io.prestosql.cli.QueryRunner.startInternalQuery(QueryRunner.java:144)
at io.prestosql.cli.QueryRunner.startQuery(QueryRunner.java:130)
at io.prestosql.cli.Console.process(Console.java:331)
at io.prestosql.cli.Console.runConsole(Console.java:257)
at io.prestosql.cli.Console.run(Console.java:156)
at io.prestosql.cli.Presto.main(Presto.java:31)

Any possible solution or workaround for this?

----
Regards,
Lokesh

Dinesh Kumar Prajapati

unread,
Jan 25, 2022, 5:51:44 AM1/25/22
to
Did you solve this issue ?
0 new messages