[X2Go-Commits] [x2goclient] 01/03: Fix password connection with libssh 0.6.0
git-admin at x2go.org
git-admin at x2go.org
Tue Feb 4 12:44:22 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 083ece20445bf6e1db26a74856185d0c9b1e8b5a
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Tue Feb 4 12:28:07 2014 +0100
Fix password connection with libssh 0.6.0
---
debian/changelog | 3 ++-
sshmasterconnection.cpp | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index b597a28..6d8ce2a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,7 +18,7 @@ x2goclient (4.0.1.4-0x2go1) UNRELEASED; urgency=low
- Increase ssh_select timeout to 0.5 sec.
- Set mod map from client to server on Mac, hide keyboard settings on Mac.
- Fix mod map on Mac with kerberos.
- - Fix focus on pass form.
+ - Fix focus on pass form.
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Wed, 22 Jan 2014 09:20:08 +0100
@@ -39,6 +39,7 @@ x2goclient (4.0.1.3-0x2go1) unstable; urgency=low
[ Orion Poplawski ]
* New upstream version (4.0.1.3):
- Protect x2goplugin.html. Make it only available from the local host.
+ - Fix password connection with libssh 0.6.0
[ Mike Gabriel ]
* New upstream version (4.0.1.3):
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