connect to sql via windows authentication over vpn

不打扰是莪最后的温柔 提交于 2019-12-18 10:29:38

问题


Is there any way I can connect to a remote SQL server with Windows Authentication over VPN?

I can connect to the VPN server in Windows 7 using Domain Credentials like \DOMAIN\user but I want to be able to connect to the SQL server with the Domain Credentials because I don't have the sa account .


回答1:


Try creating a shortcut with:

runas /noprofile /netonly /user:domain\username ssms.exe

You may have to hard-code the path to ssms.exe. In a few locations it will look in SSMS like you are using your local credentials, but you should be able to verify on the remote server that your credentials are being passed.

This of course depends on your requests being correctly routed to the destination SQL Server.



来源:https://stackoverflow.com/questions/9671904/connect-to-sql-via-windows-authentication-over-vpn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!