summaryrefslogtreecommitdiffstats
path: root/src/spice-channel-priv.h
diff options
context:
space:
mode:
authorMarek Kasik <mkasik@redhat.com>2015-11-19 15:42:14 +0100
committerVictor Toso <victortoso@redhat.com>2015-11-19 16:13:27 +0100
commitfd6cecaaa28705063a67f3543c6e709151de1794 (patch)
tree849604e156f0cdf70ebbb0c73bc8d6d81ece907c /src/spice-channel-priv.h
parentd734a62e2f38166c88eb8565f8c4309db7a9e714 (diff)
downloadspice-gtk-fd6cecaaa28705063a67f3543c6e709151de1794.tar.gz
spice-gtk-fd6cecaaa28705063a67f3543c6e709151de1794.tar.xz
spice-gtk-fd6cecaaa28705063a67f3543c6e709151de1794.zip
Be more specific in the case of authentication error
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
Diffstat (limited to 'src/spice-channel-priv.h')
-rw-r--r--src/spice-channel-priv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/spice-channel-priv.h b/src/spice-channel-priv.h
index 4b2d1e6..d60ea73 100644
--- a/src/spice-channel-priv.h
+++ b/src/spice-channel-priv.h
@@ -143,7 +143,8 @@ struct _SpiceChannelPrivate {
GSList *flushing;
gboolean disable_channel_msg;
- gboolean auth_needs_username_and_password;
+ gboolean auth_needs_username;
+ gboolean auth_needs_password;
GError *error;
};