<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>Hi,</div>
<div>
<div>    I have RHEL5 libvirt client compiled at ${BSPACE}/usrcisco </div>
</div>
<div><br>
</div>
<div>This client when connecting to a libvirtd/server fails to connect as follows</div>
<div>
<div>-bash-3.2$ ${BSPACE}/usrcisco/bin/virsh -c qemu+ssh://sarvi@cnh-nehalem-1/system?socket=/var//run/libvirt/libvirt-sock</div>
<div>error: failed to connect to the hypervisor</div>
<div>error: authentication failed: unsupported authentication type 2</div>
</div>
<div><br>
</div>
<div>    I have the libvirt client compiled and installed as follows</div>
<div>PYTHON=${BSPACE}/usrcisco/bin/python LDFLAGS="-L${BSPACE}/libnl-1.1.2/lib/ -L${BSPACE}/device-mapper.1.02.28/lib/ioctl/" CFLAGS="-I${BSPACE}/libnl-1.1.2/include -I${BSPACE}/device-mapper.1.02.28/include/" CPPFLAGS="-I${BSPACE}/device-mapper.1.02.28/include/
 -I${BSPACE}/libnl-1.1.2/include" ./configure --prefix=${BSPACE}/usrcisco --enable-static --with-libvirtd=no --with-hal=no --with-python --with-PACKAGE=yes --with-packager=no --with-packager-version=no --with-gnu-ld=no --with-apparmor=no --with-apparmor-mount=no--with-attr=no
 --with-audit=no --with-avahi=no --with-blkid=no --with-capng=no --with-curl=no --with-dbus=no --with-fuse=no --with-hal=no --with-netcf=no  --with-numactl=no  --with-openwsman=no  --with-pciaccess=no --with-sanlock=no  --with-sasl=no   --with-selinux=no  --with-selinux-mount=no
  --with-udev=no   --with-yajl=no --with-xen=no  --with-xen-inotify=no  --with-qemu=no --with-uml=no --with-openvz=no--with-vmware=no --with-phyp=no --with-xenapi=no --with-libxl=no --with-vbox=no --with-gnutls=no --without-ssh2 --with-rhel5-api=yes</div>
</div>
<div><br>
</div>
<div>The same library sources when compiled on RHEL6 as above, without specifying the "--with-rhel5-api=yes" compiles AND connect to the same server fine</div>
<div><br>
</div>
<div>I am looking for pointers as to what the problem could be OR how to trouble shoot the problem.</div>
<div>
<div><br>
</div>
</div>
<div>Thanks,</div>
<div>Sarvi</div>
</body>
</html>