Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-21594

Cannot sftp into home.apache.org: "LDAP authorisation check failed"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: LDAP, Website
    • Labels:
    • Project:
      Infrastructure

      Description

      I cannot login into home.apache.org. I never configured sftp keys and access. I tried today for the first time and I am encountering this problem.

      I uploaded my public SSH keys to the self-service app and they seem to be accepted.
      Instead of logging in, though, I see the message "LDAP authorisation check failed" and the connection is shut down immediately.

      Please note that the same message appears if I try to connect using 'ssh' instead of 'sftp'.

      Transcript follows:

      $ sftp -v ardovm@home.apache.org
      OpenSSH_8.1p1, OpenSSL 1.1.1d 10 Sep 2019
      debug1: Reading configuration data /etc/ssh/ssh_config
      debug1: /etc/ssh/ssh_config line 25: Applying options for *
      debug1: Connecting to home.apache.org [163.172.16.173] port 22.
      debug1: Connection established
      debug1: identity file /home/arrigo/.ssh/id_rsa type 0
      debug1: identity file /home/arrigo/.ssh/id_rsa-cert type -1
      debug1: identity file /home/arrigo/.ssh/id_dsa type -1
      debug1: identity file /home/arrigo/.ssh/id_dsa-cert type -1
      debug1: identity file /home/arrigo/.ssh/id_ecdsa type -1 debug1: identity file /home/arrigo/.ssh/id_ecdsa-cert type -1
      debug1: identity file /home/arrigo/.ssh/id_ed25519 type -1 debug1: identity file /home/arrigo/.ssh/id_ed25519-cert type -1
      debug1: identity file /home/arrigo/.ssh/id_xmss type -1
      debug1: identity file /home/arrigo/.ssh/id_xmss-cert type -1
      debug1: Local version string SSH-2.0-OpenSSH_8.1
      debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
      debug1: match: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002
      debug1: Authenticating to home.apache.org:22 as 'ardovm'
      debug1: SSH2_MSG_KEXINIT sent
      debug1: SSH2_MSG_KEXINIT received
      debug1: kex: algorithm: curve25519-sha256
      debug1: kex: host key algorithm: ecdsa-sha2-nistp256
      debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
      debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
      debug1: kex: curve25519-sha256 need=64 dh_need=64
      debug1: kex: curve25519-sha256 need=64 dh_need=64
      debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
      debug1: Server host key: ecdsa-sha2-nistp256 SHA256:vbrx0S0qe7bKFQmZmkClGMKFR8amSGkPCo5EQQMFhMc
      debug1: Host 'home.apache.org' is known and matches the ECDSA host key.
      debug1: Found key in /home/arrigo/.ssh/known_hosts:67
      debug1: rekey out after 134217728 blocks
      debug1: SSH2_MSG_NEWKEYS sent
      debug1: expecting SSH2_MSG_NEWKEYS
      debug1: SSH2_MSG_NEWKEYS received
      debug1: rekey in after 134217728 blocks
      debug1: Will attempt key: /home/arrigo/.ssh/id_rsa RSA SHA256:OF6TbqhCsd93lQHfl2
      zO7ges+fYzh2QLDSDN/giDfWU
      debug1: Will attempt key: /home/arrigo/.ssh/id_dsa
      debug1: Will attempt key: /home/arrigo/.ssh/id_ecdsa
      debug1: Will attempt key: /home/arrigo/.ssh/id_ed25519
      debug1: Will attempt key: /home/arrigo/.ssh/id_xmss
      debug1: SSH2_MSG_EXT_INFO received
      debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
      debug1: SSH2_MSG_SERVICE_ACCEPT received
      debug1: Authentications that can continue: publickey
      debug1: Next authentication method: publickey
      debug1: Offering public key: /home/arrigo/.ssh/id_rsa RSA SHA256:OF6TbqhCsd93lQHfl2zO7ges+fYzh2QLDSDN/giDfWU
      debug1: Server accepts key: /home/arrigo/.ssh/id_rsa RSA SHA256:OF6TbqhCsd93lQHfl2zO7ges+fYzh2QLDSDN/giDfWU
      LDAP authorisation check failed
      Connection closed by 163.172.16.173 port 22
      Connection closed.
      Connection closed

      Am I missing anything?

      Thank you in advance and best regards.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmcdonald Gavin McDonald
                Reporter:
                ardovm Arrigo Marchiori
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: