Configuring Kerberos Authentication on Linux

Applies to…

  • DxEnterprise 20.0 and newer for Linux

Summary

How to configure Kerberos authentication for SQL Server on Linux with DxEnterprise.

Information

To join a Linux node to Active Directory and setup Kerberos authentication for SQL Server on Linux please use the following steps.

  1. Use the steps in the following Microsoft document to join the Linux node to Active Directory: Join SQL Server on a Linux host to an Active Directory domain
  2. Edit the /etc/krb5.conf file to specify the default realm.
    [libdefaults]
        default_realm = EXAMPLE.COM
  3. Use the steps in the following Microsoft document to configure Kerberos authentication for SQL Server on Linux: Tutorial: Use Active Directory authentication with SQL Server on Linux
    NOTE:
    When setting up Kerberos authentication for a Highly Available instance under a Vhost, use the Vhost name instead of the physical server hostname to register the SPNs and create the keytab file with the ktpass commands. When setting up Kerberos authentication for Availability Groups, use the physical server hostname to register the SPNs and create the keytab file with the ktpass commands.