Re: [Spice-devel] [PATCH v4] Check too long password

2015-06-04 Thread Christophe Fergeau
On Wed, Jun 03, 2015 at 04:22:35PM +0200, Cédric Bosdonnat wrote: > Make sure that the password lenght is under the maximum lenght. If not > report it as an authentication failure with an adapted message. > --- > Diff to v3: > >* Removed the checks on the server side and the corresponding cod

Re: [Spice-devel] [PATCH v4] Check too long password

2015-06-03 Thread Daniel P. Berrange
On Wed, Jun 03, 2015 at 04:22:35PM +0200, Cédric Bosdonnat wrote: > Make sure that the password lenght is under the maximum lenght. If not Nit-pick if you re-post, s/lenght/length/g or someone can fixup when merging > report it as an authentication failure with an adapted message. > --- > Diff

[Spice-devel] [PATCH v4] Check too long password

2015-06-03 Thread Cédric Bosdonnat
Make sure that the password lenght is under the maximum lenght. If not report it as an authentication failure with an adapted message. --- Diff to v3: * Removed the checks on the server side and the corresponding code here * Removed the new error code to reuse SPICE_CLIENT_ERROR_AUTH_NEEDS_