vmware/pyvmomi-community-samples

Any sample which shows the use of TicketedSessionAuthentication

Open

#123 建立於 2014年10月14日

在 GitHub 查看
 (11 留言) (0 反應) (1 負責人)Python (972 star) (914 fork)batch import
help wantedsample request

描述

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"

貢獻者指南