[virt-tools-list] libvirt: exposing authentication errors to the applications
Fabiano Fidêncio
fabiano at fidencio.org
Tue Sep 23 02:18:33 UTC 2014
On Tue, Sep 23, 2014 at 3:38 AM, Fabiano Fidêncio <fabiano at fidencio.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140923/6d44181f/attachment.htm>
More information about the virt-tools-list
mailing list