vmware/pyvmomi-community-samples

Any sample which shows the use of TicketedSessionAuthentication

Open

#123 ouverte le 14 oct. 2014

Voir sur GitHub
 (11 commentaires) (0 réactions) (1 assigné)Python (914 forks)batch import
help wantedsample request

Métriques du dépôt

Stars
 (972 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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"

Guide contributeur