[Bug 92994] New: Be more specific in the case of authentication error
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 18 07:42:04 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=92994
Bug ID: 92994
Summary: Be more specific in the case of authentication error
Product: Spice
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: spice-gtk
Assignee: spice-bugs at lists.freedesktop.org
Reporter: mkasik at redhat.com
Created attachment 119909
--> https://bugs.freedesktop.org/attachment.cgi?id=119909&action=edit
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.
--
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/20151118/0fb0c5e6/attachment.html>
More information about the spice-bugs
mailing list