Dave McCaldon
8f102b8f56
Handle SSH_MSG_USERAUTH_FAILURE for password and kbd-int authentication
...
Neither libssh2_userauth_password_ex() nor
libssh2_userauth_keyboard_interactive_ex() would return a login failure
error if the server responded with a SSH_MSG_USERAUTH_FAILURE, instead
you would see whatever previous error had occurred, typically
LIBSSH2_ERROR_EAGAIN.
This patch changes error code -18 to LIBSSH2_ERROR_AUTHENTICATION_FAILED
and makes LIBSSH2_ERROR_PUBLICKEY_UNRECOGNIZED an alias for
LIBSSH2_ERROR_AUTHENTICATION_FAILED. In addition, new logic in
userauth_password() properly handles SSH_MSG_USERAUTH_FAILURE and both
this function and userauth_keyboard_interactive() now properly return
LIBSSH2_ERROR_AUTHENTICATION_FAILED.
2010-01-29 09:14:11 +01:00
..
2009-09-04 02:23:28 +02:00
2009-12-23 09:12:02 +09:00
2009-12-23 09:12:02 +09:00
2009-12-23 09:12:02 +09:00
2009-12-23 09:12:02 +09:00
2009-12-23 09:12:02 +09:00
2009-12-23 09:12:02 +09:00
2009-12-23 09:12:02 +09:00
2009-03-17 10:34:27 +00:00
2009-02-17 16:22:51 +00:00
2009-03-16 23:25:14 +00:00
2009-08-06 15:56:27 +02:00
2009-03-16 23:25:14 +00:00
2007-06-13 19:53:09 +00:00
2009-03-16 23:25:14 +00:00
2009-08-06 15:56:27 +02:00
2007-06-13 16:41:33 +00:00
2007-06-13 20:09:15 +00:00
2007-06-15 10:53:04 +00:00
2007-06-13 20:09:15 +00:00
2009-03-26 15:41:14 +00:00
2009-03-17 10:34:27 +00:00
2009-03-16 23:25:14 +00:00
2009-08-30 17:07:50 +02:00
2009-03-26 15:41:14 +00:00
2009-03-26 15:41:14 +00:00
2009-03-16 23:25:14 +00:00
2009-03-16 15:00:45 +00:00
2007-06-13 21:07:59 +00:00
2009-03-26 15:41:14 +00:00
2009-03-16 23:25:14 +00:00
2007-11-29 10:04:16 +00:00
2007-06-13 16:41:33 +00:00
2009-03-16 23:25:14 +00:00
2009-03-16 23:25:14 +00:00
2009-03-16 23:25:14 +00:00
2009-03-16 23:25:14 +00:00
2009-03-16 15:00:45 +00:00
2009-03-16 15:00:45 +00:00
2009-03-17 10:34:27 +00:00
2009-05-29 18:40:29 +02:00
2009-05-29 14:08:24 +02:00
2009-05-28 14:35:13 +02:00
2009-12-25 10:26:51 +09:00
2009-05-29 14:08:24 +02:00
2009-10-18 03:03:55 +02:00
2009-05-28 19:57:54 +02:00
2009-05-29 10:12:22 +02:00
2009-05-28 19:57:54 +02:00
2009-06-14 14:27:15 +02:00
2009-03-16 15:00:45 +00:00
2009-04-14 21:38:36 +00:00
2009-04-14 21:38:36 +00:00
2009-03-16 15:00:45 +00:00
2009-03-16 15:00:45 +00:00
2009-03-16 15:00:45 +00:00
2009-03-16 15:00:45 +00:00
2009-03-16 15:00:45 +00:00
2009-03-16 15:00:45 +00:00
2009-09-22 23:54:10 +02:00
2009-09-22 23:54:10 +02:00
2008-07-03 10:58:53 +00:00
2009-03-17 10:34:27 +00:00
2009-03-17 10:34:27 +00:00
2009-03-17 10:34:27 +00:00
2009-03-23 13:17:49 +00:00
2009-03-16 23:25:14 +00:00
2009-03-23 13:20:48 +00:00
2009-07-07 00:25:17 +02:00
2009-03-16 14:40:37 +00:00
2009-03-17 10:34:27 +00:00
2009-03-17 10:34:27 +00:00
2009-03-17 10:34:27 +00:00
2009-03-17 10:34:27 +00:00
2009-03-16 23:25:14 +00:00
2009-03-16 23:25:14 +00:00
2009-07-02 11:44:54 +02:00
2009-03-16 23:25:14 +00:00
2009-03-16 23:25:14 +00:00
2008-12-15 18:48:09 +00:00
2009-03-16 23:25:14 +00:00
2009-03-16 23:25:14 +00:00
2009-03-17 10:34:27 +00:00
2009-03-16 23:25:14 +00:00
2008-12-23 12:34:17 +00:00
2008-12-23 12:34:17 +00:00
2009-03-17 10:34:27 +00:00
2007-06-14 16:33:38 +00:00
2008-12-23 12:34:17 +00:00
2007-06-14 16:33:38 +00:00
2009-03-17 10:34:27 +00:00
2009-03-17 10:34:27 +00:00
2008-12-23 12:34:17 +00:00
2010-01-27 14:57:12 +01:00
2010-01-20 19:42:09 +01:00
2009-12-24 02:18:39 +01:00
2009-03-17 10:34:27 +00:00
2009-03-16 15:00:45 +00:00
2010-01-29 09:14:11 +01:00
2009-03-17 10:34:27 +00:00
2010-01-29 09:14:11 +01:00
2010-01-29 09:14:11 +01:00
2009-02-23 16:22:46 +00:00
2010-01-15 22:58:44 +01:00
2007-06-13 16:41:33 +00:00