<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:teuf@gnome.org" title="Christophe Fergeau <teuf@gnome.org>"> <span class="fn">Christophe Fergeau</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Use correct SASL service name"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92918">bug 92918</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>teuf@gnome.org
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Use correct SASL service name"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92918#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Use correct SASL service name"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92918">bug 92918</a>
              from <span class="vcard"><a class="email" href="mailto:teuf@gnome.org" title="Christophe Fergeau <teuf@gnome.org>"> <span class="fn">Christophe Fergeau</span></a>
</span></b>
        <pre>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.

<a href="http://www.sendmail.org/~ca/email/cyrus2/programming.html#sasl_server_new">http://www.sendmail.org/~ca/email/cyrus2/programming.html#sasl_server_new</a>
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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>