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