Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

To be able to work remotely at my company, i have to open a VPN connection to take over my machine at the remote site. Everything works like a charm.

The thing is that when i open up the VPN connection, my local PC will join the remote domain. This wouldn't be a problem if it wasn't for the fact that i'm logged in locally on my own domain.

If i would switch to my local desktop and for example open connection to a SQL database within my local network using a SSPI enabled connectionstring, i get the following error :

The login is from an untrusted domain and cannot be used with Windows authentication.

It appears that the remote domain is used for kerberos negotiation. When i disconnect the VPN connection, the local credentials are used and connecting works flawlessly.

The question : Is there any way to change this behavior so that my local credentials remain primary for my local network?

share|improve this question
You could work around it by implicitly stating your credentials to the database rather than relying on single sign on. This will work flawlessly until your password expires on your local account, at which point you will need to update the application as well. –  miR Jun 4 '13 at 18:00
add comment

migrated from serverfault.com Jun 4 '13 at 19:33

This question came from our site for professional system and network administrators.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.