<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 05/02/2012 03:00 PM, John Wayne wrote:
    <blockquote
      cite="mid:1335942051.71467.YahooMailNeo@web31813.mail.mud.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); font-family: verdana,helvetica,sans-serif; font-size:
        10pt;">
        <div>Hi,</div>
        <div><br>
          Can anyone please share sample Python code for using qemu+tcp
          with SASL or qemu+tls with SASL? (i.e., connecting to a
          hypervisor using qemu+tls or qemu+tcp when a username/password
          using SASL has been defined on the hypervisor)</div>
      </div>
    </blockquote>
    Hi John,<br>
    The following scripts shoud be what  you want:<br>
<a class="moz-txt-link-freetext" href="http://libvirt.org/git/?p=libvirt-test-API.git;a=tree;f=repos/remoteAccess;h=f9581f65a1ea6cd04dd9ffb43f214034a12ff3d4;hb=5b50d4be8976f5cc0c7ea4d66a389b189c8ca5e0">http://libvirt.org/git/?p=libvirt-test-API.git;a=tree;f=repos/remoteAccess;h=f9581f65a1ea6cd04dd9ffb43f214034a12ff3d4;hb=5b50d4be8976f5cc0c7ea4d66a389b189c8ca5e0</a><br>
    <blockquote
      cite="mid:1335942051.71467.YahooMailNeo@web31813.mail.mud.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); font-family: verdana,helvetica,sans-serif; font-size:
        10pt;">
        <div><br>
        </div>
        <div>I am having some trouble figuring out how to use callbacks
          for authenticating from with my Python program.</div>
        <div>I assume I will have to
          use <a class="moz-txt-link-freetext" href="http://libvirt.org/html/libvirt-libvirt.html#virConnectCredentialType">http://libvirt.org/html/libvirt-libvirt.html#virConnectCredentialType</a>,
          but I can't quite translate that to Python from C.</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
libvirt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>