Hello,
I'm trying to connect from a redhat linux to an oracle database via kerberos authentification.
I can obtain a valid kerberos ticket via (I've replaced the credentials with placeholders for privacy reasons)
$ echo -n '<password>' | kinit <user>
$ klist
Ticket cache: FILE:/tmp/krb5cc_1021_dTZKCn
Default principal: <user>
Valid starting Expires Service principal
11/22/2021 15:44:36 11/23/2021 01:44:36 krbtgt/foo@bar.com
renew until 11/29/2021 15:44:33
But when I try to connect to the database I get:
$ echo -n '<password>' | kinit <user> && sqlplus /@<databasehost>:1550/<servicename>
Password for <user>:
SQL*Plus: Release 21.0.0.0.0 - Production on Mon Nov 22 15:48:07 2021
Version 21.1.0.0.0
Copyright (c) 1982, 2020, Oracle. All rights reserved.
ERROR:
ORA-12641: Authentication service failed to initialize
Enter user-name:
When I try to connect from my Windows client where I'm logged in with the same account I can connect.
C:\>sqlplus /@<databasehost>:1550/<servicename>
SQLcl: Release 21.2 Production on Mon Nov 22 15:50:10 2021
Copyright (c) 1982, 2020, Oracle. All rights reserved.
Last Successful login time: Mon Nov 22 2021 13:52:14 +01:00
Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics
and Real Application Testing options
SQL>
I've no clue how to tackle this problem, and I'm quite new to setting up an oracle insta client on linux. Please help me to debug this issue.