[Spice-devel] [PATCH] Be more specific in the case of authentication error

2015-11-19 Thread mkasik
From: Marek Kasik This patch adds SPICE_CLIENT_ERROR_AUTH_NEEDS_USERNAME error for the case when authentication fails because of missing username. This can happen when GSSAPI method is used. https://bugs.freedesktop.org/show_bug.cgi?id=92994 --- src/spice-channel-priv.h | 3 ++- src/spice-chan

[Spice-devel] Be more specific in the case of authentication error

2015-11-19 Thread mkasik
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_USERN

[Spice-devel] [PATCH] Be more specific in the case of authentication error

2015-11-19 Thread mkasik
From: Marek Kasik This patch adds SPICE_CLIENT_ERROR_AUTH_NEEDS_USERNAME error for the case when authentication fails because of missing username. This can happen when GSSAPI method is used. https://bugs.freedesktop.org/show_bug.cgi?id=92994 --- src/spice-channel-priv.h | 3 ++- src/spice-chan

[Spice-devel] Be more specific in the case of authentication error

2015-11-19 Thread mkasik
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_USERN