I want to setup datapump through IIS by using setspn commands.

Sweta Rana 0 Reputation points
2024-01-03T04:43:25.66+00:00

I had setup datapump on a server "uat1" with "europe\autd1" account. For that we had also executed 4 setspn commands using same server and same account, it worked fine.
But then the requirement changed and we now need to set up on the same server i.e. "uat1" but with different account - "europe\olapd1" . For this we had to execute the setspn commands again as the account has changed and so we had to delete the previous setspn commands where we had used "europe\autd1". The setspn commands got executed but then we got error while connecting to the database saying "Authentication failed" using "europe\autd1" account.

So want to understand what went wrong and or what needs to be done.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,726 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shujun Chen (Shanghai Wicresoft Co Ltd) 5 Reputation points Microsoft External Staff
    2024-01-12T02:38:08.7533333+00:00

    Hello, Thank you for posting in Q&A forum. This error could be related to the removal of SPN for previous account europe\autd1. Here are some steps we can try to resolve the issue:

    1. Check Existing SPNs by command: setspn -L uat1 Make sure there are no related SPNs remained first.
    2. Add SPNs for the new accound by command and double check: setspn -S HTTP/uat1 europe\olapd1 setspn -S HTTP/uat1.domain.com europe\olapd1 setspn -L uat1
    3. Check if the issue is still here. REF: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc731241(v=ws.11) Best Regards,
      Shujun

    ---If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

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.