]> git.pld-linux.org Git - packages/libvirt.git/blame - libvirt-sasl.patch
up to 5.0.0
[packages/libvirt.git] / libvirt-sasl.patch
CommitLineData
2114e9b8 1diff -dur -x '*~' -x '*.orig' -x '*.rej' libvirt-2.5.0.orig/daemon/libvirtd.conf libvirt-2.5.0/daemon/libvirtd.conf
a7243fbe
JP
2--- libvirt-2.5.0.orig/src/remote/libvirtd.conf 2016-06-27 16:12:20.000000000 +0200
3+++ libvirt-2.5.0/src/remote/libvirtd.conf 2016-12-20 12:56:04.000000000 +0100
be8dc440 4@@ -123,7 +123,7 @@
72b1baa0
JR
5 # the network providing auth (eg, TLS/x509 certificates)
6 #
7 # - sasl: use SASL infrastructure. The actual auth scheme is then
8-# controlled from /etc/sasl2/libvirt.conf. For the TCP
9+# controlled from /etc/sasl/libvirt.conf. For the TCP
10 # socket only GSSAPI & DIGEST-MD5 mechanisms will be used.
be8dc440 11 # For non-TCP or TLS sockets, any scheme is allowed.
72b1baa0 12 #
be8dc440 13@@ -154,7 +154,7 @@
72b1baa0
JR
14 # If you don't enable SASL, then all TCP traffic is cleartext.
15 # Don't do this outside of a dev/test scenario. For real world
16 # use, always enable SASL and use the GSSAPI or DIGEST-MD5
17-# mechanism in /etc/sasl2/libvirt.conf
18+# mechanism in /etc/sasl/libvirt.conf
19 #auth_tcp = "sasl"
20
21 # Change the authentication scheme for TLS sockets.
2114e9b8 22diff -dur -x '*~' -x '*.orig' -x '*.rej' libvirt-2.5.0.orig/daemon/Makefile.am libvirt-2.5.0/daemon/Makefile.am
af9d78d5
JP
23--- libvirt-5.0.0.orig/src/remote/Makefile.inc.am 2019-01-16 21:04:18.767020575 +0100
24+++ libvirt-5.0.0/src/remote/Makefile.inc.am 2019-01-16 21:04:28.563492731 +0100
25@@ -242,7 +242,7 @@
26 # This is needed for clients too, so can't wrap in
72b1baa0 27 # the WITH_LIBVIRTD conditional
6434e098 28 if WITH_SASL
af9d78d5
JP
29-sasldir = $(sysconfdir)/sasl2
30+sasldir = $(sysconfdir)/sasl
72b1baa0 31
af9d78d5
JP
32 install-sasl:
33 $(MKDIR_P) $(DESTDIR)$(sasldir)
fb415d8b
JB
34--- libvirt-3.5.0/docs/auth.html.in.orig 2017-08-01 17:26:35.217739874 +0200
35+++ libvirt-3.5.0/docs/auth.html.in 2017-08-01 17:29:07.364404805 +0200
36@@ -267,7 +267,7 @@
37 <p>
38 Since the libvirt SASL config file defaults to using GSSAPI (Kerberos), a
39 config change is rquired to enable plain password auth. This is done by
40-editting <code>/etc/sasl2/libvirt.conf</code> to set the <code>mech_list</code>
41+editting <code>/etc/sasl/libvirt.conf</code> to set the <code>mech_list</code>
42 parameter to <code>scram-sha-1</code>.
43 </p>
44 <p>
45--- libvirt-3.5.0/docs/auth.html.orig 2017-08-01 17:26:35.217739874 +0200
46+++ libvirt-3.5.0/docs/auth.html 2017-08-01 17:29:16.164404704 +0200
47@@ -265,7 +265,7 @@
48 <p>
49 Since the libvirt SASL config file defaults to using GSSAPI (Kerberos), a
50 config change is rquired to enable plain password auth. This is done by
51-editting <code>/etc/sasl2/libvirt.conf</code> to set the <code>mech_list</code>
52+editting <code>/etc/sasl/libvirt.conf</code> to set the <code>mech_list</code>
53 parameter to <code>scram-sha-1</code>.
54 </p>
55 <p>
2114e9b8
JK
56diff -dur -x '*~' -x '*.orig' -x '*.rej' libvirt-2.5.0.orig/src/qemu/qemu.conf libvirt-2.5.0/src/qemu/qemu.conf
57--- libvirt-2.5.0.orig/src/qemu/qemu.conf 2016-11-29 10:47:58.000000000 +0100
58+++ libvirt-2.5.0/src/qemu/qemu.conf 2016-12-20 12:56:04.000000000 +0100
59@@ -112,18 +112,18 @@
72b1baa0
JR
60 # Examples include vinagre, virt-viewer and virt-manager
61 # itself. UltraVNC, RealVNC, TightVNC do not support this
62 #
63-# It is necessary to configure /etc/sasl2/qemu.conf to choose
64+# It is necessary to configure /etc/sasl/qemu.conf to choose
65 # the desired SASL plugin (eg, GSSPI for Kerberos)
66 #
bf3e9ac8 67 #vnc_sasl = 1
72b1baa0
JR
68
69
70-# The default SASL configuration file is located in /etc/sasl2/
71+# The default SASL configuration file is located in /etc/sasl/
72 # When running libvirtd unprivileged, it may be desirable to
73 # override the configs in this location. Set this parameter to
74 # point to the directory, and create a qemu.conf in that location
75 #
bf3e9ac8
JB
76-#vnc_sasl_dir = "/some/directory/sasl2"
77+#vnc_sasl_dir = "/some/directory/sasl"
72b1baa0
JR
78
79
bf3e9ac8 80 # QEMU implements an extension for providing audio over a VNC connection,
2114e9b8 81diff -dur -x '*~' -x '*.orig' -x '*.rej' libvirt-2.5.0.orig/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.args libvirt-2.5.0/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.args
842a4333
JP
82--- libvirt-2.5.0.orig/tests/qemuxml2argvdata/-graphics-vnc-sasl.args 2016-07-27 14:39:35.000000000 +0200
83+++ libvirt-2.5.0/tests/qemuxml2argvdata/graphics-vnc-sasl.args 2016-12-20 12:56:04.000000000 +0100
be8dc440
JK
84@@ -3,7 +3,7 @@
85 HOME=/home/test \
86 USER=test \
87 LOGNAME=test \
88-SASL_CONF_PATH=/root/.sasl2 \
89+SASL_CONF_PATH=/root/.sasl \
90 QEMU_AUDIO_DRV=none \
91 /usr/bin/qemu \
92 -name QEMUGuest1 \
2114e9b8 93diff -dur -x '*~' -x '*.orig' -x '*.rej' libvirt-2.5.0.orig/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.args libvirt-2.5.0/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.args
842a4333
JP
94--- libvirt-2.5.0.orig/tests/qemuxml2argvdata/graphics-vnc-tls.args 2016-07-27 14:39:35.000000000 +0200
95+++ libvirt-2.5.0/tests/qemuxml2argvdata/graphics-vnc-tls.args 2016-12-20 12:56:04.000000000 +0100
be8dc440
JK
96@@ -3,7 +3,7 @@
97 HOME=/home/test \
98 USER=test \
99 LOGNAME=test \
100-SASL_CONF_PATH=/root/.sasl2 \
101+SASL_CONF_PATH=/root/.sasl \
102 QEMU_AUDIO_DRV=none \
103 /usr/bin/qemu \
104 -name QEMUGuest1 \
2114e9b8
JK
105diff -dur -x '*~' -x '*.orig' -x '*.rej' libvirt-2.5.0.orig/tests/virconfdata/libvirtd.conf libvirt-2.5.0/tests/virconfdata/libvirtd.conf
106--- libvirt-2.5.0.orig/tests/virconfdata/libvirtd.conf 2016-04-26 04:20:09.000000000 +0200
107+++ libvirt-2.5.0/tests/virconfdata/libvirtd.conf 2016-12-20 12:56:04.000000000 +0100
be8dc440 108@@ -108,7 +108,7 @@
72b1baa0
JR
109 # the network providing auth (eg, TLS/x509 certificates)
110 #
111 # - sasl: use SASL infrastructure. The actual auth scheme is then
112-# controlled from /etc/sasl2/libvirt.conf. For the TCP
113+# controlled from /etc/sasl/libvirt.conf. For the TCP
114 # socket only GSSAPI & DIGEST-MD5 mechanisms will be used.
115 # For non-TCP or TLS sockets, any scheme is allowed.
116 #
be8dc440 117@@ -139,7 +139,7 @@
72b1baa0
JR
118 # If you don't enable SASL, then all TCP traffic is cleartext.
119 # Don't do this outside of a dev/test scenario. For real world
120 # use, always enable SASL and use the GSSAPI or DIGEST-MD5
121-# mechanism in /etc/sasl2/libvirt.conf
122+# mechanism in /etc/sasl/libvirt.conf
123 auth_tcp = "sasl"
124
125 # Change the authentication scheme for TLS sockets.
2114e9b8
JK
126diff -dur -x '*~' -x '*.orig' -x '*.rej' libvirt-2.5.0.orig/tests/virconfdata/libvirtd.out libvirt-2.5.0/tests/virconfdata/libvirtd.out
127--- libvirt-2.5.0.orig/tests/virconfdata/libvirtd.out 2016-04-26 04:20:09.000000000 +0200
128+++ libvirt-2.5.0/tests/virconfdata/libvirtd.out 2016-12-20 12:56:04.000000000 +0100
be8dc440 129@@ -87,7 +87,7 @@
72b1baa0
JR
130 # the network providing auth (eg, TLS/x509 certificates)
131 #
132 # - sasl: use SASL infrastructure. The actual auth scheme is then
133-# controlled from /etc/sasl2/libvirt.conf. For the TCP
134+# controlled from /etc/sasl/libvirt.conf. For the TCP
135 # socket only GSSAPI & DIGEST-MD5 mechanisms will be used.
136 # For non-TCP or TLS sockets, any scheme is allowed.
137 #
be8dc440 138@@ -116,7 +116,7 @@
72b1baa0
JR
139 # If you don't enable SASL, then all TCP traffic is cleartext.
140 # Don't do this outside of a dev/test scenario. For real world
141 # use, always enable SASL and use the GSSAPI or DIGEST-MD5
142-# mechanism in /etc/sasl2/libvirt.conf
143+# mechanism in /etc/sasl/libvirt.conf
144 auth_tcp = "sasl"
145 # Change the authentication scheme for TLS sockets.
146 #
This page took 0.061306 seconds and 4 git commands to generate.