[virt-tools-list] libvirt: exposing authentication errors to the applications
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>
> 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".
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the virt-tools-list