All Apps and Add-ons

What is the username that I will use when initializing Kerberos ticket cache?

chanthongphiob
Path Finder

I'm trying to set up DB Connect by downloading JDBC driver for Microsoft SQL Server. The platform is Linux so needing to install the SQL Server database driver using the MS Generic driver with Kerberos authentication. However, in the instructions for setting up the Kerberos ticket cache, there needs to be a username and domain entered into the kinit command. Is the username associated to the username that will access the Network SQL database or is the username associated to the local username as when trying to perform tasks with elevated privileges? The two usernames are different. Below is a snip from the splunk docs instructions that are needed to be performed.

Back on the machine running DB Connect, use the kinit command to generate a krb5.conf file, which Kerberos will use to authenticate with the SQL Server for DB Connect.

First, install kinit by entering the following at the command line:

apt-get install krb5-user

If you are prompted to enter a realm, enter the domain name you obtained in Step 1, but in all upper-case letters. For example, if your domain is abc.dbx, you’d enter ABC.DBX.

Next, use kinit to initialize the Kerberos ticket cache. Enter the following at the command line, replacing with the appropriate user name (such as Administrator) and with the domain name, in upper-case letters:

kinit username@DOMAIN

The krb5.conf has been generated in the /etc directory.

Note: If the krb5.conf file is not in the /etc directory, set the following option in JVM Options under the Settings tab: -Djava.security.krb5.conf=/path/to/krb5.conf

0 Karma
1 Solution

chanthongphiob
Path Finder

Use the username that is associated with the Kerberos Authentication for the tickets.

View solution in original post

0 Karma

chanthongphiob
Path Finder

Use the username that is associated with the Kerberos Authentication for the tickets.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...