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?