vmware/pyvmomi-community-samples

Any sample which shows the use of TicketedSessionAuthentication

Open

#123 opened on Oct 14, 2014

View on GitHub
 (11 comments) (0 reactions) (1 assignee)Python (972 stars) (914 forks)batch import
help wantedsample request

Description

http://pubs.vmware.com/vsphere-50/index.jsp#com.vmware.wssdk.apiref.doc_50/vim.vm.guest.TicketedSessionAuthentication.html

The example may look like this :

auth = vim.vm.guest.TicketedSessionAuthentication(ticket=base_64_string)
guest_auth = si.content.guestOperationsManager.authManager.AcquireCredentialsInGuest(vm=vm, requestedAuth=auth)
    processes = si.content.guestOperationsManager.processManager.ListProcessesInGuest(vm=vm, auth=guest_auth)
    si.content.guestOperationsManager.authManager.ReleaseCredentialsInGuest(vm=vm, auth=guest_auth)

I am not able to proceed forward ! AcquireCredentialsInGuest is returning error "The guest operating system does not support the operation"

Contributor guide