search for: base_auth

Displaying 1 result from an estimated 1 matches for "base_auth".

Did you mean: ast_auth
2020 May 21
1
[v2v PATCH] libvirt: make use of libvirt's default auth handler (RHBZ#1838425)
...ibvirt_utils.ml index 7df17b29..4d0b8639 100644 --- a/v2v/libvirt_utils.ml +++ b/v2v/libvirt_utils.ml @@ -33,10 +33,14 @@ let auth_for_password_file ?password_file () = ) creds in - { - Libvirt.Connect.credtype = [ Libvirt.Connect.CredentialPassphrase ]; - cb = auth_fn; - } + let base_auth = Libvirt.Connect.get_auth_default () in + + if password_file = None then + base_auth + else + { base_auth with + cb = auth_fn; + } let get_domain conn name = let dom = -- 2.25.4