[ 
https://issues.apache.org/jira/browse/SSHD-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Goldstein Lyor updated SSHD-705:
--------------------------------
    Summary: GSSAPI auth is broken after changing username with getUserName()  
(was: GSSAPI auth is breaken after changing username with getUserName())

> 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: 李飛
>
> 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)

Reply via email to