You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2014/10/16 10:29:34 UTC
git commit: SSHD-254 Suppress 'Authentication with partial success'
message on standard authentication
Repository: mina-sshd
Updated Branches:
refs/heads/0.9.x cc7162acf -> 5967cfd56
SSHD-254 Suppress 'Authentication with partial success' message on standard authentication
Version 0.9.0 incorrectly sends back a 'partial success true' flag when a client requests
authentication using the "none" method.
Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/5967cfd5
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/5967cfd5
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/5967cfd5
Branch: refs/heads/0.9.x
Commit: 5967cfd56be85d94fd425e9198adab8a67f71fb5
Parents: cc7162a
Author: Michael Heemskerk <mh...@atlassian.com>
Authored: Fri Sep 6 10:31:19 2013 +0200
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Thu Oct 16 10:29:11 2014 +0200
----------------------------------------------------------------------
.../main/java/org/apache/sshd/server/session/ServerSession.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/5967cfd5/sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java b/sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java
index 6791be5..fca2029 100644
--- a/sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java
+++ b/sshd-core/src/main/java/org/apache/sshd/server/session/ServerSession.java
@@ -538,7 +538,7 @@ public class ServerSession extends AbstractSession {
}
}
buffer.putString(sb.toString());
- buffer.putByte((byte) 1);
+ buffer.putByte((byte) 0);
writePacket(buffer);
if (currentAuth != null) {