Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-705

GSSAPI auth is broken after changing username with getUserName()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lifei.vip 李飛
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: