<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; ">When I run the python test code I got the SASL error. But it's ok if I run the C sample code. Do you know the reason? </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; ">Here is the message:</div><div><div><font face="'times new roman', 'new york', times, serif">libvir: RPC error : authentication failed: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found)</font></div><div><font face="'times new roman', 'new york', times, serif">Traceback (most recent call last):</font></div><div><font face="'times new roman', 'new york', times, serif">  File
 "esxList.py", line 101, in ?</font></div><div><font face="'times new roman', 'new york', times, serif">    conn = libvirt.openAuth(uri, auth, 0)</font></div><div><font face="'times new roman', 'new york', times, serif">  File "/usr/lib/python2.4/site-packages/libvirt.py", line 102, in openAuth</font></div><div><font face="'times new roman', 'new york', times, serif">    if ret is None:raise libvirtError('virConnectOpenAuth() failed')</font></div><div><font face="'times new roman', 'new york', times, serif">libvirt.libvirtError: authentication failed: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found)</font></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; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size:
 12pt; ">Thanks,<br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">-Hubert</div></div></div></body></html>