[X2Go-Commits] [x2goclient] 02/03: Fix password connection with libssh 0.6.0. (Fixes: #420).
git-admin at x2go.org
git-admin at x2go.org
Sat Mar 29 22:59:12 CET 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit fa6e7b46a7d006d5c23afc03579e602f23325b76
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sat Mar 29 21:11:45 2014 +0100
Fix password connection with libssh 0.6.0. (Fixes: #420).
---
debian/changelog | 2 +-
sshmasterconnection.cpp | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 2570ec2..aeb868e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -73,7 +73,7 @@ x2goclient (4.0.1.4-0x2go1) UNRELEASED; urgency=low
[ Orion Poplawski ]
* New upstream version (4.0.1.4):
- - Fix password connection with libssh 0.6.0
+ - Fix password connection with libssh 0.6.0. (Fixes: 420).
- Don't use ancient Debianism's for ssh options (ProtocolKeepAlives).
(Fixes: #434).
diff --git a/sshmasterconnection.cpp b/sshmasterconnection.cpp
index e0266db..827eefe 100755
--- a/sshmasterconnection.cpp
+++ b/sshmasterconnection.cpp
@@ -936,6 +936,9 @@ bool SshMasterConnection::userChallengeAuth()
bool SshMasterConnection::userAuthWithPass()
{
+ // Populate the userauth_list
+ ssh_userauth_none(my_ssh_session, NULL);
+
int method = ssh_userauth_list(my_ssh_session, NULL);
if (method& SSH_AUTH_METHOD_INTERACTIVE)
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list