vagrant-vsphere icon indicating copy to clipboard operation
vagrant-vsphere copied to clipboard

Feature Request: add support for windows authentication

Open icnocop opened this issue 9 years ago • 4 comments

Hi.

Thank you for vagrant-vsphere.

I would like to request the ability to support windows authentication when logging into the vsphere server.

For example, when using the VMware vSphere windows desktop client, when I select to "Use Windows session credentials", the username and password fields become disabled and my current username (domain\username) is automatically specified in the username field.

I would like to use the same windows credentials when using vagrant-vsphere.

Thank you.

icnocop avatar Mar 09 '15 23:03 icnocop

depends on https://github.com/vmware/rbvmomi/issues/34

mkuzmin avatar Mar 15 '15 14:03 mkuzmin

This is now possible since SSPI support was added upstream. I have a pull request I can contribute, but am unsure whether or not a fork of rbvmomi is being used, which fork, and whether we'll need a new (rebased) release of that fork in order to update the dependency here.

ghost avatar Aug 18 '16 12:08 ghost

not a fork: https://github.com/nsidc/vagrant-vsphere/blob/master/vSphere.gemspec#L17 But we will need a new release of rbvmomi itself.

Thank you for this work!

mkuzmin avatar Aug 18 '16 13:08 mkuzmin

They released literally the day after the exchange above (and it made it to rubygems a while later); I just didn't realize. :) I've created PR #223 to fulfill this enhancement request.

ghost avatar Jan 01 '17 05:01 ghost