Re: libvirt: exposing authentication errors to the applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, Sep 23, 2014 at 3:38 AM, Fabiano Fidêncio <fabiano@xxxxxxxxxxxx> wrote:
Howdy!

I've been digging a bit into libvirt's code looking for a way to expose, to the applications, authentication errors that can occur (wrong username, wrong password, URI not valid, and so on).
So, questions for now:
- Does libvirt really know exactly what kind of error happened when an authentication went wrong?
- Considering that libvirt does know what kind of error happened and that the error is reported, how is it returned to the applications?

Just one thing that I forgot to mention, I know about virGetLastError()/virGetLastErrorMessage(), but seems that, at least wrt the authentication, the error looks too generic to me, something like "Failed to collect auth credentials".
 
Best Regards,
--
Fabiano Fidêncio
_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux