When connecting to sql server aoag using new dnn listener, authentication is by ntlmm. Is there a way to register spn for dnn like when using vnn so authentication method is kerberos.

Karl Layland 0 Reputation points
2023-02-22T14:01:38.93+00:00

Sql 2019 aoag using dnn listener. Cannot get kerberos authentication

SQL Server | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,586 Reputation points
    2023-02-23T07:27:05.0266667+00:00

    Hi @Karl Layland ,

    There are a few things you can check:

    Verify that the SQL Server instances in the AOAG are running under a domain account, not a local account. Kerberos authentication requires domain accounts.

    Ensure that the service principal names (SPNs) are correctly registered for the SQL Server instances and the DNN listener in Active Directory. You can use the "setspn" command-line tool to register SPNs.

    Please refer to this MS blog:

    https://techcommunity.microsoft.com/t5/sql-server-support-blog/searching-for-duplicate-spn-s-got-a-little-easier/ba-p/315651

    Also, there is a useful tool for you: Microsoft® Kerberos Configuration Manager for SQL Server®

    Best regards,

    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.