The following tutorial covers the following topics:
1. Connectivity in Strategy Web and Strategy Desktop
2. Connectivity via DSN
3. Best Practices for Security


Users can now use Web Data Import with the newly created DSN Less connection.
Configuration consists of three steps: create database instance, create a database connection, and configure and store credentials.



Three modes of authentication are supported for Impala:
Unsupported authentication methods include:
The sections below provide details for each of the methods for connecting to Impala.
If you have a non-secure Cloudera Data Platform set up with no authentication, use the “No authentication” mode while connecting.
Password authentication is the default authentication mechanism for Strategy users when connecting to Impala. The screenshots below show how to set it in the ODBC driver, and for DSN and DSN-less connection.



If the Cloudera Impala Server is configured to use the LDAP server for authentication, Strategy users can take advantage of the Impala-LDAP integration. The users then authenticate against Strategy using LDAP authentication, and the same credentials are then passed through for authentication when connecting to the database during report execution.
LDAP support must be configured on the Impala server, ODBC driver, and Intelligence Server as follows:
On the Impala Server Configuration settings: Through Cloudera manager, enable LDAP Authentication under Impala. Also add a parameter “LDAP URL” which is URL of the LDAP server.
On the ODBC DSN, choose the Username and Password authentication option and enter the LDAP username and password.

After completing the above action, users can perform basic LDAP connectivity and query their data via reports and do further data modeling. The next steps describe configuration of advanced Strategy features like LDAP with warehouse pass-through.


Strategy also supports passing separate credentials to the warehouse for particular LDAP users.

The following Kerberos flavor is supported:
Strategy supports Single Sign-On (SSO) access to Impala (using Kerberos) when Strategy Intelligence Server resides on a Windows operating system and Linux operating system. Before Strategy Secure Enterprise 10.2, users could only configure Kerberos authentication to databases when Strategy Intelligence Server was running on Windows operating systems. Starting with Strategy Secure Enterprise 10.2, users can use integrated authentication to access some databases when Strategy Intelligence Server is running on Linux/Unix operating systems.
The following steps outline the SSO Connectivity:




At this point Kerberos authentication is setup and you can do an end-to-end integrated authentication by logging on to the client machine using the Kerberos user defined in Active Directory. The user can now login to Strategy Intelligence Server without being prompted for credentials and the same credentials are passed to the Impala database server for report execution.
Delegation
The following section explains the steps that must be taken to configure connectivity to a secured CDH 5.x cluster and leverage the delegation feature of the Cloudera Impala ODBC Driver to enforce access policy on users that are logged into Strategy Intelligence Server 10.2 on Unix/Linux platforms.
The Cloudera Impala ODBC driver has a connection parameter called DelegationUID, which can delegate all operations against Impala to a user that is different than the authenticated user for the connection.
By leveraging this delegation feature when connecting to a secured CDH 5.x cluster, users can connect to Cloudera Impala via Kerberos ticket generated by one fixed user, for example, sysuser. During the connection, the DelegationUID parameter is used to pass a Strategy user ID (for example, userA, the user logged on from Strategy Developer or Web) in order to allow the authorized proxy user userA to execute queries through the connection established by sysuser.

Steps:
[libdefaults]
default_realm = <DOMAIN REALM>
default_keytab_name = /etc/krb5.keytab
forwardable = true
no_addresses = true
[realms]
<DOMAIN_REALM> = {
kdc = DC_IPAddress:88
admin_server = DC_Admin_IPAddress:749
}
[domain_realm]
.domain_realm = DOMAIN_REALM
domain_realm = DOMAIN_REALM

Users should now be able to leverage the delegation feature of the Cloudera Impala ODBC Driver to enforce access policy on users that are logged into the Strategy Intelligence Server.
Integrated Authentication
Follow the same steps as given above for Kerberos authentication and when the setup is complete, login to the client machine using the Kerberos user defined in Active Directory. The user should be able to login to Strategy Intelligence Server without being prompted for credentials and the same credentials should be passed to the Impala database server for report execution.
Often, customers want to make sure that credentials users provide to authenticate to Strategy web are passed on to Cloudera (Impala). The following steps are required to implement this.
For Integrated authentication on Strategy Web, perform the following steps:



The connection string can be:
DRIVER={Strategy Impala ODBC Driver}; Host=HOST; Port=21050; KrbRealmREALM.COM=;KrbFQDN=fully.qualified.domain.name;KrbServiceName=impala;SCHEMA=default; AuthMech=1;