How to use a Microsoft Windows domain account with virt-who?

Solution Verified - Updated -


  • How to configure virt-who to use a Microsoft Windows domain account?
  • Using Windows domain account virt-who fails with an authentication error.

    2015-05-26 14:15:32,008 [INFO] - Using virt-who configuration: vcenter1
    2015-05-26 14:15:32,008 [DEBUG] - Starting infinite loop with 3600 seconds interval
    2015-05-26 14:15:43,708 [ERROR] - Unable to login to ESX
    Traceback (most recent call last):
    File "/usr/share/virt-who/virt/esx/", line 152, in scan
    self.client.service.Login(, userName=self.username, password=self.password)
    File "/usr/lib/python2.6/site-packages/suds/", line 542, in __call__
    return client.invoke(args, kwargs)
    File "/usr/lib/python2.6/site-packages/suds/", line 602, in invoke
    result = self.send(soapenv)
    File "/usr/lib/python2.6/site-packages/suds/", line 657, in send
    result = self.failed(binding, e)
    File "/usr/lib/python2.6/site-packages/suds/", line 712, in failed
    r, p = binding.get_fault(reply)
    File "/usr/lib/python2.6/site-packages/suds/bindings/", line 265, in get_fault
    raise WebFault(p, faultroot)
    WebFault: Server raised fault: 'Cannot complete login due to an incorrect user name or password.'
    2015-05-26 14:15:43,709 [ERROR] - Error in communication with virtualization backend, trying to recover:


Red Hat Enterprise Linux 5/6/7
Red Hat Satellite 5.x/6.x
Red Hat Subscription Manager
Subscription Asset Manager
VMware vCenter with Active Directory domain user authentication

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content