[Bug 92918] Use correct SASL service name

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 16 04:27:53 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92918

Christophe Fergeau <teuf at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |teuf at gnome.org

--- Comment #7 from Christophe Fergeau <teuf at gnome.org> ---
When QEMU is used, the server ends up using /etc/sasl2/qemu.conf because QEMU
is calling
spice_server_set_sasl_appname(spice_server, "qemu");
which will cause spice-server to call
sasl_server_init(NULL, "qemu");
rather than the default
sasl_server_init(NULL, "spice");

I'm not sure what SASL does with the service name passed to
sasl_{server,client}_new() though. This one is always "spice" both server-side
and client-side.

http://www.sendmail.org/~ca/email/cyrus2/programming.html#sasl_server_new
indicates that « [The name of the service] is used by Kerberos mechanisms and
possibly other mechanisms. It is also used for PAM authentication », but I
don't know exactly how. If it uses this to locate configuration files, strace
-e open should tell us.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20151116/6e63565c/attachment.html>


More information about the spice-bugs mailing list