[libvirt] [PATCH 5/5] Don't invoke the auth callback if all credentials were in config file

Eric Blake eblake at redhat.com
Mon Sep 10 17:29:33 UTC 2012


On 09/10/2012 09:50 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> The remote driver first looks at the libvirt auth config file to
> fill in any credentials. It then invokes the auth callback for
> any remaining credentials. It was accidentally invoking the
> auth callback even if there were not any more credentials
> required.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/remote/remote_driver.c | 31 ++++++++++++++++++++-----------
>  1 file changed, 20 insertions(+), 11 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120910/352e0401/attachment-0001.sig>


More information about the libvir-list mailing list