I’m having trouble getting Kerberos authentication to pass through to the ‘DB Connector’ Node for Hana Connection.
I have already authenticated in preference → Kerberos → using krb5.conf
I’m able to make a connection to the DB using the Username & Password authentication. If I manually input my credentials within the node I’m able to connect, but not with Kerberos
Working scenario without Kerberos :
jdbc:sap://:
Not Working scenario when selecting Kerberos :
jdbc:sap://:&authenticationMethod=Kerberos&kerberosspn=HTTP/sspnname@domain
the error indicates a problem with the JDBC driver. Can you please make sure that you have registered the SAP HANA JDBC driver (ngdbc.jar). It should look something like this:
Once the driver is registered you do not need to specify any additional Kerberos parameters in the Database URL e.g. jdbc:sap://<db_host_name>:39015 simply make sure to select Kerberos as authentication method and you are good to go.
The post you are linking to is using a different driver which requires other settings for Kerberos authentication.
We have already tried as you mentioned above. that is without kerberos parameter in the url.
We have pointed to correct jdbc driver, (latest SAP Driver). Also, we are able to login with user name and password option, only kerberos is failing. Screenshot for reference.
Hi @Param ,
I was finally able to reproduce your problem. KNIME Analytics Platform comes with Java 17 which has deprecated several weak encryption types. This is the reason why no no service ticket can be acquired resulting in the problem you reported.
To solve the problem you can either change your infrastructure to adopt stronger ciphers or add the following line to libdefaults section of the krb5.conf file that is used by your KNIME Analytics Platform:
allow_weak_crypto = true
which will enable the weak encryption types. An example krb5.conf file with the line could look like this: