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

Microsoft SQL Server Connector

Microsoft SQL Server Connector

Setting environment variables

Setting environment variables

To use Kerberos authentication to connect to Microsoft SQL Server, you need to set the required environment variables on the Secure Agent machine.
To set the environment variables, complete the following steps:
  1. Set the following environment variables:
    • setenv KRB5CCNAME <Absolute path and file name of the credentials cache file>
    • setenv KRB5_CONFIG <Absolute path of the Kerberos configuration file>\krb5.conf
    • setenv JAASCONFIG <Absolute path of the JAAS config file>\<File name>.conf
  2. Restart the Secure Agent.
  3. Add the
    KRB5_CONFIG
    ,
    KRB5CCNAME
    , and
    JAASCONFIG
    properties in the
    Metadata Advanced Connection Properties
    field in the Microsoft SQL Server connection.
    For example, add the properties in the following format:
    KRB5_CONFIG=<Absolute path of the Kerberos configuration file>\krb5.conf;KRB5CCNAME=<Absolute path of the credential cache file>/<File name>;JAASCONFIG=<Absolute path of the JAAS config file>\<File name>.conf
    Ensure that you separate each key-value pair with a semicolon.
  4. Optionally, you can add the
    KRB5_CONFIG
    ,
    KRB5CCNAME
    , and
    JAASCONFIG
    properties in the
    Runtime Advanced Connection Properties
    field in the Microsoft SQL Server connection.
    For example, add the properties in the following format:
    KRB5_CONFIG=<Absolute path of the Kerberos configuration file>\krb5.conf;KRB5CCNAME=<Absolute path of the credential cache file>/<File name>;JAASCONFIG=<Absolute path of the JAAS config file>\<File name>.conf
    Ensure that you separate each key-value pair with a semicolon.

0 COMMENTS

We’d like to hear from you!