[28000][unixODBC][Cloudera][ThriftExtension] (9) Error occurred while authenticating via SASL. Error details: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (No Kerberos credentials availabl
Hello.
I am trying to connect to an Cloudera server, from another server (its an php web server).
Everything has been setup correctly on the php server side. However, i'm still getting the error mentioned in the subject when trying to connect:
[28000][unixODBC][Cloudera][ThriftExtension] (9) Error occurred while authenticating via SASL. Error details: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (No Kerberos credentials available (default cache: KEYRING:persistent:0))
[ISQL]ERROR: Could not SQLConnect
My authentication is local, so i've set AuthMech to 1.
No SSL for connecting into the server (not needed)
I can connect from the php server to the cloudera host (tested with an telnet)
The credentials are okay (since i can connect using the web browser).
The php server is an RHEL Version 7.6
And the log isn't working. I manually created the file, changed its permissions, but nothing is being logged.
I'll put my configurations here. Any input is very appreciated.
Thanks a lot for your attention.
odbc.ini
[HiveDSN]
Driver=Cloudera ODBC Driver for Apache Hive
Description=Cloudera Hive ODBC
Host=cloudera17.org.com.net
Port=10000
Database=database_hidden
AuthMech=1
UID=THEUSER
PWD=SDSDSDSDSDSD
Trace=Yes
TraceFile=/var/log/odbc_out.log
UseSASL=0
KerberosAuth=0
odbcinst.ini
[Cloudera ODBC Driver for Apache Hive]
Description=Cloudera ODBC Driver for Apache Hive
Driver=/opt/cloudera/hiveodbc/lib/64/libclouderahiveodbc64.so
UsageCount=3

