[ https://issues.apache.org/jira/browse/SSHD-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15574064#comment-15574064 ]
ASF GitHub Bot commented on SSHD-705: ------------------------------------- Github user lifei closed the pull request at: https://github.com/apache/mina-sshd/pull/26 > GSSAPI auth is broken after changing username with getUserName() > ---------------------------------------------------------------- > > Key: SSHD-705 > URL: https://issues.apache.org/jira/browse/SSHD-705 > Project: MINA SSHD > Issue Type: Bug > Reporter: 李飛 > Fix For: 1.4.0 > > > https://github.com/apache/mina-sshd/commit/d19f5eca5714b7055b8655a46aeba0629c9dc05a#diff-6632304d23a69cec2f1da01ee1b4eb8fL127 > - msgbuf.putString(username); > + msgbuf.putString(getUserName()); > https://github.com/apache/mina-sshd/commit/d19f5eca5714b7055b8655a46aeba0629c9dc05a#diff-6632304d23a69cec2f1da01ee1b4eb8fL185 > - return identity != null ? identity : username; > + return identity != null ? identity : super.getUserName(); > getUserName() is not equals with username when identity is not null. -- This message was sent by Atlassian JIRA (v6.3.4#6332)