Line 20... |
Line 20... |
20 |
# This principal needs to be exported to the keytab file listed below
|
20 |
# This principal needs to be exported to the keytab file listed below
|
21 |
mech_list: gssapi
|
21 |
mech_list: gssapi
|
22 |
|
22 |
|
23 |
# If using a TLS socket or UNIX socket only, it is possible to
|
23 |
# If using a TLS socket or UNIX socket only, it is possible to
|
24 |
# enable plugins which don't provide session encryption. The
|
24 |
# enable plugins which don't provide session encryption. The
|
25 |
# 'scram-sha-1' plugin allows plain username/password authentication
|
25 |
# 'scram-sha-256' plugin allows plain username/password authentication
|
26 |
# to be performed
|
26 |
# to be performed
|
27 |
#
|
27 |
#
|
28 |
#mech_list: scram-sha-1
|
28 |
#mech_list: scram-sha-256
|
29 |
|
29 |
|
30 |
#
|
30 |
#
|
31 |
# You can also list many mechanisms at once, then the user can choose
|
31 |
# You can also list many mechanisms at once, then the user can choose
|
32 |
# by adding '?auth=sasl.gssapi' to their libvirt URI, eg
|
32 |
# by adding '?auth=sasl.gssapi' to their libvirt URI, eg
|
33 |
# qemu+tcp://hostname/system?auth=sasl.gssapi
|
33 |
# qemu+tcp://hostname/system?auth=sasl.gssapi
|
34 |
#mech_list: scram-sha-1 gssapi
|
34 |
#mech_list: scram-sha-256 gssapi
|
35 |
|
35 |
|
36 |
# Some older builds of MIT kerberos on Linux ignore this option &
|
- |
|
37 |
# instead need KRB5_KTNAME env var.
|
- |
|
38 |
# For modern Linux, and other OS, this should be sufficient
|
36 |
# File containing the service principal for libvirtd
|
39 |
#
|
37 |
#
|
40 |
keytab: /etc/libvirt/krb5.tab
|
38 |
keytab: /etc/libvirt/krb5.tab
|
41 |
|
39 |
|
42 |
# If using scram-sha-1 for username/passwds, then this is the file
|
40 |
# If using scram-sha-256 for username/passwds, then this is the file
|
43 |
# containing the passwds. Use 'saslpasswd2 -a libvirt [username]'
|
41 |
# containing the passwds. Use 'saslpasswd2 -a libvirt [username]'
|
44 |
# to add entries, and 'sasldblistusers2 -f [sasldb_path]' to browse it
|
42 |
# to add entries, and 'sasldblistusers2 -f [sasldb_path]' to browse it.
|
- |
|
43 |
# Note that this file stores passwords in clear text.
|
45 |
#sasldb_path: /etc/libvirt/passwd.db
|
44 |
#sasldb_path: /etc/libvirt/passwd.db
|