Can't connect to SQL Server in different domain using SSMS and Windows 7 Credential Manager

前端 未结 1 751
星月不相逢
星月不相逢 2020-12-30 05:20

I need to connect to a SQL Server 2008 instance in another Windows domain to manage it. We only use Windows Authentication.

In Windows XP, I could use the \"Manage

相关标签:
1条回答
  • 2020-12-30 05:59

    It looks like there is a bug in the Windows 7 Credential Manager that causes this behavior. After lots of Internet research, I found some ugly workarounds, but also found a great one:

    In Credential Manager, add an entry for the remote server, but instead of adding just the server name, like database.contoso.com, add the server name with the SQL Server port, like so:

    database.contoso.com:1433

    This results in the desired behavior, with no pain!

    Source: http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/thread/c05a90e4-cb16-46f6-9072-37083c65696d/

    Also remember, of course, that you need to prefix the remote username in Credential Manager with the remote domain name, like so:

    database\administrator

    0 讨论(0)
提交回复
热议问题