<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><a href="https://www.redhat.com/archives/libvirt-users/2012-May/msg00005.html">https://www.redhat.com/archives/libvirt-users/2012-May/msg00005.html</a> <br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">When I run the sample code with the case of  <span style="font-family: verdana, helvetica, sans-serif; font-size: 10pt; ">Python code for using qemu+tcp with SASL, I always got this SASL error:</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span style="font-family: verdana, helvetica, sans-serif; font-size: 10pt;
 "><br></span></div><div><span><font face="verdana, helvetica, sans-serif" size="2"><div>Traceback (most recent call last):</div><div>  File "esxList.py", line 102, in ?</div><div>    conn = libvirt.openAuth(uri, auth, 0)</div><div>  File "/usr/lib/python2.4/site-packages/libvirt.py", line 102, in openAuth</div><div>    if ret is None:raise libvirtError('virConnectOpenAuth() failed')</div><div>libvirt.libvirtError: authentication failed: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism available: </div><div><br></div><div><br></div><div>I have no problem to run the C&java code with qemu+tcp with SASL. Is it possible an error of Python binding?</div><div><br></div><div>Thanks,</div><div>-Hubert</div><div><br></div></font></span></div></div></body></html>