Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain users of vsphere not able to login_in_guest() #68

Open
sathrian opened this issue Feb 12, 2016 · 0 comments
Open

Domain users of vsphere not able to login_in_guest() #68

sathrian opened this issue Feb 12, 2016 · 0 comments

Comments

@sathrian
Copy link

I'm trying to open a console of a linux machine. I have logged as domain user, we have role which administrator.
but i'm getting the below error.
s = VIServer()
s.connect(HOST, 'test\suresh', 'password')
vm = s.get_vm_by_name('Linux-one')
vm.login_in_guest('root', 'test123')

Traceback (most recent call last):
File "", line 1, in
File "/root/.pyenv/versions/2.7.10/lib/python2.7/site-packages/pysphere/vi_virtual_machine.py", line 1027, in login_in_guest
self.__validate_authentication(auth)
File "/root/.pyenv/versions/2.7.10/lib/python2.7/site-packages/pysphere/vi_virtual_machine.py", line 1706, in __validate_authentication
raise VIApiException(e)
pysphere.resources.vi_exception.VIApiException: [NoPermissionFault]: Permission to perform this operation was denied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant