Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Introduction to ODBC Connector
  2. ODBC connections
  3. Synchronization tasks with ODBC Connector
  4. Mappings and mapping tasks with ODBC Connector
  5. Pushdown optimization (SQL ELT)
  6. Data type reference

ODBC Connector

ODBC Connector

Configuring the kerberos authentication

Configuring the kerberos authentication

Before you use Kerberos authentication to connect to DB2 on Linux or Windows, the organization administrator needs to perform the prerequisite tasks.
  1. To configure the
    krb5.conf
    file, perform the following tasks:
    1. Create a
      krb5.conf
      file on the Secure Agent machine.
    2. Add the details of the Key Distribution Center (KDC) and admin server to the
      krb5.conf
      file in the following format:
      [libdefaults] default_realm = <Realm name> forwardable = true ticket_lifetime = 24h [realms] <REALM NAME> = { kdc = <Location where KDC is installed> admin_server = <Location where KDC is installed> } [domain_realm] <domain name or host name> = <Domain name or host name of Kerberos> <domain name or host name> = <Domain name or host name of Kerberos>
  2. Set the following environment variables on the Secure Agent machine.
    For more information about the required environment variables, see Setting environment variables.
  3. Restart the Secure Agent.
  4. To generate the credential cache file on the Secure Agent machine and use Kerberos authentication to connect to DB2, perform the following tasks:
    1. On the Secure Agent machine, run the following command and specify the DB2 user name and realm name:
      Kinit <user name>@<realm_name>
    2. When prompted, enter the password for the Kerberos principal user.

0 COMMENTS

We’d like to hear from you!