Authenticate domain-user credentials on unjoined virtual machine?

Posted by bwerks on Server Fault See other posts from Server Fault or by bwerks
Published on 2011-01-10T23:53:13Z Indexed on 2011/01/10 23:55 UTC
Read the original article Hit count: 295

Hi all,

This question may sound silly, and perhaps a bit insane, but--is there any way to run a process on a machine not joined to a domain using credentials from a user in that domain?

In my case, I'm running virtual machines installed with release binaries from our build process, as well as Visual Studio. Visual Studio is there to debug our release binaries, however it's being executed with vm-local user credentials. This means that it can't authenticate to our TFS deployment when executing "tf.exe view" to utilize our Source Server for debugging.

Team Explorer manages to authenticate to TFS using a UI prompt, however I suspect that it's because we supply it with the TFS deployment's URI, and it's designed to display a prompt to facilitate workgroup scenarios; i.e. it's not like we're getting it for free.

My instincts tell me the only way to authenticate on this vm is to join it or somehow form a one-way trust or something, but is there an easier way? For automation we're going to want to script this eventually, but I'm first surveying the feasibility of the thing.

© Server Fault or respective owner

Related posts about domain

Related posts about authentication