<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Be more specific in the case of authentication error"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92994">92994</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Be more specific in the case of authentication error
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Spice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>spice-gtk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>spice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mkasik@redhat.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=119909" name="attach_119909" title="Be more specific in the case of authentication error">attachment 119909</a> <a href="attachment.cgi?id=119909&action=edit" title="Be more specific in the case of authentication error">[details]</a></span>
Be more specific in the case of authentication error

When an authentication error occurs SPICE_CLIENT_ERROR_AUTH_NEEDS_PASSWORD or
SPICE_CLIENT_ERROR_AUTH_NEEDS_PASSWORD_AND_USERNAME is returned as a channel
error. But it can happen that only username is needed when you use e.g. GSSAPI.
It would be useful to have SPICE_CLIENT_ERROR_AUTH_NEEDS_USERNAME so that
clients don't show authentication prompt which asks for username and password
in this case (so it asks just for username).

Attached patch adds the error.

It would be great if spice-gtk wouldn't ask for this at all and used default
principal's name for such situations.</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>