
On Mon, Jan 22, 2018 at 06:16:03PM +0100, Pavel Hrdina wrote:
We need to implement our own authentication callback because the default one ask for credentials using STDIO. This is not suitable behavior for daemon.
For now we will require usage of client configuration file for libvirt to provide credentials for drivers that require authentication [1].
This is a long standing bug we should look at fixing one day. We should make it possible to rely on the auth config file from a simple call to virConnectOpen(), so people only need to use OpenAuth() when they have a genuine callback to provide....
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> --- src/connect.c | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-)
Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|