qemu.sasl 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. # If you want to use the non-TLS socket, then you *must* include
  2. # the GSSAPI or DIGEST-MD5 mechanisms, because they are the only
  3. # ones that can offer session encryption as well as authentication.
  4. #
  5. # If you're only using TLS, then you can turn on any mechanisms
  6. # you like for authentication, because TLS provides the encryption
  7. #
  8. # Default to a simple username+password mechanism
  9. # NB digest-md5 is no longer considered secure by current standards
  10. mech_list: digest-md5
  11. # Before you can use GSSAPI, you need a service principle on the
  12. # KDC server for libvirt, and that to be exported to the keytab
  13. # file listed below
  14. #mech_list: gssapi
  15. #
  16. # You can also list many mechanisms at once, then the user can choose
  17. # by adding '?auth=sasl.gssapi' to their libvirt URI, eg
  18. # qemu+tcp://hostname/system?auth=sasl.gssapi
  19. #mech_list: digest-md5 gssapi
  20. # Some older builds of MIT kerberos on Linux ignore this option &
  21. # instead need KRB5_KTNAME env var.
  22. # For modern Linux, and other OS, this should be sufficient
  23. keytab: /etc/qemu/krb5.tab
  24. # If using digest-md5 for username/passwds, then this is the file
  25. # containing the passwds. Use 'saslpasswd2 -a qemu [username]'
  26. # to add entries, and 'sasldblistusers2 -a qemu' to browse it
  27. sasldb_path: /etc/qemu/passwd.db
  28. auxprop_plugin: sasldb