1

We have an offsite server A hosting an Oracle database, and an on-site SQL Server B.

We have a linked server set up on B pointing at A.

If I connect from my laptop to SQL Server B and run a query against the linked server, the query will succeed.

If I remote desktop onto SQL Server B and run the same query I get the following error:

RA-12638: Credential retrieval failed

The query works from every machine I have tried it on apart from Server B where the SQL Server is hosted, what might be causing this issue?

5
  • how is the linked server configured? e.g. how is it configured to authenticate with the oracle database? Commented Dec 16, 2020 at 9:21
  • provider: oracle provider for oledb; data source: ip address:port\service name; security: remote login and password specified; server options: all default Commented Dec 17, 2020 at 10:37
  • Possibly dba-oracle.com/t_ora_12638_credential_retrieval_failed.htm would help you? Commented Dec 17, 2020 at 10:55
  • thanks I'll take a look, its also worth pointing out we have the same issue when we try and test a connect using oracle net manager which is also installed on the sql server B Commented Dec 17, 2020 at 14:07
  • @ADyson Thank you - my answer was found in this article Commented Dec 18, 2020 at 11:15

1 Answer 1

2

This was resolved by updating sqlnet.ora, changing authentication from NTS to NONE.

Sign up to request clarification or add additional context in comments.

1 Comment

and it needed a sql service restart to take effect on the linked server

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.